Home
last modified time | relevance | path

Searched refs:l2tp_tunnel (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/net/l2tp/
Dl2tp_core.h45 struct l2tp_tunnel;
76 struct l2tp_tunnel *tunnel; /* back pointer to tunnel
144 struct l2tp_tunnel { struct
181 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument
192 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id);
193 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth);
194 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
197 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel);
200 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
206 struct l2tp_tunnel **tunnelp);
[all …]
Dl2tp_core.c118 static inline struct l2tp_tunnel *l2tp_tunnel(struct sock *sk) in l2tp_tunnel() function
149 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
154 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
162 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get()
165 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get()
182 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
185 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth()
202 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
245 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
297 struct l2tp_tunnel *tunnel) in l2tp_session_register()
[all …]
Dl2tp_netlink.c40 int flags, struct l2tp_tunnel *tunnel, u8 cmd);
53 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get()
106 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
168 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create()
264 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete()
294 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify()
324 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
438 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get()
483 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump()
514 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create()
[all …]
Dl2tp_ppp.c279 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg()
356 struct l2tp_tunnel *tunnel; in pppol2tp_xmit()
648 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
668 struct l2tp_tunnel *tunnel; in pppol2tp_connect()
863 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
909 struct l2tp_tunnel *tunnel; in pppol2tp_getname()
1037 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1151 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1251 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt()
1292 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt()
[all …]
Dl2tp_eth.c217 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
257 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel;
122 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
Dl2tp_ip.c121 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv()
236 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_ip_destroy_sock()
Dl2tp_ip6.c134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv()
249 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_ip6_destroy_sock()
/Linux-v5.4/Documentation/networking/
Dl2tp.txt304 The driver keeps a struct l2tp_tunnel context per L2TP tunnel and a
305 struct l2tp_session context for each session. The l2tp_tunnel is