Searched refs:l2tp_tunnel (Results 1 – 10 of 10) sorted by relevance
/linux/net/l2tp/ |
H A D | l2tp_core.h | 36 struct l2tp_tunnel; 71 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ 158 struct l2tp_tunnel { struct 194 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument 212 void l2tp_tunnel_put(struct l2tp_tunnel *tunnel); 219 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id); 220 struct l2tp_tunnel *l2tp_tunnel_get_next(const struct net *net, unsigned long *key); 237 struct l2tp_tunnel **tunnelp); 238 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, 240 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel); [all …]
|
H A D | l2tp_core.c | 143 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free() 177 struct l2tp_tunnel *l2tp_sk_to_tunnel(const struct sock *sk) in l2tp_sk_to_tunnel() 181 struct l2tp_tunnel *tunnel; in l2tp_sk_to_tunnel() 200 void l2tp_tunnel_put(struct l2tp_tunnel *tunnel) in l2tp_tunnel_put() 215 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get() 218 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() 232 struct l2tp_tunnel *l2tp_tunnel_get_next(const struct net *net, unsigned long *key) in l2tp_tunnel_get_next() 235 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_get_next() 281 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get() 340 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v2_session_get_next() [all …]
|
H A D | l2tp_netlink.c | 38 int flags, struct l2tp_tunnel *tunnel, u8 cmd); 51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() 105 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify() 193 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() 261 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() 291 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() 371 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr() 386 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send() 452 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() 503 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() [all …]
|
H A 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),
|
H A D | l2tp_ppp.c | 267 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() 344 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() 625 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu() 636 static struct l2tp_tunnel *pppol2tp_tunnel_get(struct net *net, in pppol2tp_tunnel_get() 640 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get() 704 struct l2tp_tunnel *tunnel; in pppol2tp_connect() 849 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create() 895 struct l2tp_tunnel *tunnel; in pppol2tp_getname() 1023 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats() 1147 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt() [all …]
|
H A D | l2tp_eth.c | 185 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu() 225 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
|
H A D | l2tp_debugfs.c | 39 struct l2tp_tunnel *tunnel; 125 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
|
H A D | l2tp_ip.c | 134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() 259 struct l2tp_tunnel *tunnel; in l2tp_ip_destroy_sock()
|
H A D | l2tp_ip6.c | 144 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() 270 struct l2tp_tunnel *tunnel; in l2tp_ip6_destroy_sock()
|
/linux/Documentation/networking/ |
H A D | l2tp.rst | 630 The kernel keeps a struct l2tp_tunnel context per L2TP tunnel. The 631 l2tp_tunnel is always associated with a UDP or L2TP/IP socket and
|