Searched refs:l2tp_tunnel (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/net/l2tp/ |
D | l2tp_core.h | 44 struct l2tp_tunnel; 73 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ 156 struct l2tp_tunnel { struct 197 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument 215 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel); 216 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel); 224 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id); 225 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth); 226 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, 230 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth); [all …]
|
D | l2tp_core.c | 146 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 …]
|
D | trace.h | 28 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),
|
D | l2tp_netlink.c | 38 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() 448 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() 493 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() [all …]
|
D | l2tp_ppp.c | 273 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() 350 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() 643 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu() 663 struct l2tp_tunnel *tunnel; in pppol2tp_connect() 854 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create() 900 struct l2tp_tunnel *tunnel; in pppol2tp_getname() 1028 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats() 1151 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt() 1235 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() 1275 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt() [all …]
|
D | l2tp_eth.c | 204 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()
|
D | l2tp_debugfs.c | 38 struct l2tp_tunnel *tunnel; 122 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
|
D | l2tp_ip.c | 119 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() 236 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip_destroy_sock()
|
D | l2tp_ip6.c | 132 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() 250 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip6_destroy_sock()
|
/Linux-v5.10/Documentation/networking/ |
D | l2tp.rst | 507 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
|