Home
last modified time | relevance | path

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

/linux-5.19.10/net/l2tp/
Dl2tp_core.h45 struct l2tp_tunnel;
74 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */
157 struct l2tp_tunnel { struct
198 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument
216 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel);
217 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel);
225 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id);
226 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth);
227 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
[all …]
Dl2tp_core.c146 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
151 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
166 struct l2tp_tunnel *l2tp_sk_to_tunnel(struct sock *sk) in l2tp_sk_to_tunnel()
168 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_sk_to_tunnel()
178 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
184 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
205 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get()
208 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get()
225 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
228 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth()
[all …]
Dl2tp_netlink.c38 int flags, struct l2tp_tunnel *tunnel, u8 cmd);
51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get()
104 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
192 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create()
260 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete()
290 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify()
370 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
385 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
451 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get()
496 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump()
[all …]
Dtrace.h28 TP_PROTO(struct l2tp_tunnel *tunnel),
52 TP_PROTO(struct l2tp_tunnel *tunnel),
81 TP_PROTO(struct l2tp_tunnel *tunnel),
86 TP_PROTO(struct l2tp_tunnel *tunnel),
Dl2tp_ppp.c272 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg()
349 struct l2tp_tunnel *tunnel; in pppol2tp_xmit()
642 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
662 struct l2tp_tunnel *tunnel; in pppol2tp_connect()
853 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
899 struct l2tp_tunnel *tunnel; in pppol2tp_getname()
1027 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1150 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1234 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt()
1274 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt()
[all …]
Dl2tp_eth.c204 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
244 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel;
123 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
Dl2tp_ip.c121 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv()
238 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip_destroy_sock()
Dl2tp_ip6.c134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv()
252 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip6_destroy_sock()
/linux-5.19.10/Documentation/networking/
Dl2tp.rst507 The kernel keeps a struct l2tp_tunnel context per L2TP tunnel. The
508 l2tp_tunnel is always associated with a UDP or L2TP/IP socket and