Home
last modified time | relevance | path

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

/linux-4.1.27/net/l2tp/
Dl2tp_core.h50 struct l2tp_tunnel;
89 struct l2tp_tunnel *tunnel; /* back pointer to tunnel
170 struct l2tp_tunnel { struct
213 static inline void *l2tp_tunnel_priv(struct l2tp_tunnel *tunnel) in l2tp_tunnel_priv() argument
223 static inline struct l2tp_tunnel *l2tp_sock_to_tunnel(struct sock *sk) in l2tp_sock_to_tunnel()
225 struct l2tp_tunnel *tunnel; in l2tp_sock_to_tunnel()
231 tunnel = (struct l2tp_tunnel *)(sk->sk_user_data); in l2tp_sock_to_tunnel()
244 struct l2tp_tunnel *tunnel,
246 struct l2tp_session *l2tp_session_find_nth(struct l2tp_tunnel *tunnel, int nth);
248 struct l2tp_tunnel *l2tp_tunnel_find(struct net *net, u32 tunnel_id);
[all …]
Dl2tp_core.c116 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel);
118 static inline struct l2tp_tunnel *l2tp_tunnel(struct sock *sk) in l2tp_tunnel() function
133 static inline void l2tp_tunnel_inc_refcount_1(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount_1()
138 static inline void l2tp_tunnel_dec_refcount_1(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount_1()
179 static struct sock *l2tp_tunnel_sock_lookup(struct l2tp_tunnel *tunnel) in l2tp_tunnel_sock_lookup()
209 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_tunnel_sock_put()
248 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
255 struct l2tp_session *l2tp_session_find(struct net *net, struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_find()
281 struct l2tp_session *l2tp_session_find_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_find_nth()
330 struct l2tp_tunnel *l2tp_tunnel_find(struct net *net, u32 tunnel_id) in l2tp_tunnel_find()
[all …]
Dl2tp_netlink.c50 int flags, struct l2tp_tunnel *tunnel, u8 cmd);
63 struct l2tp_tunnel *tunnel; in l2tp_nl_session_find()
114 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
176 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create()
268 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete()
296 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify()
324 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
415 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get()
457 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump()
485 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create()
[all …]
Dl2tp_ppp.c305 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg()
391 struct l2tp_tunnel *tunnel; in pppol2tp_xmit()
595 struct l2tp_tunnel *tunnel; in pppol2tp_connect()
809 struct l2tp_tunnel *tunnel; in pppol2tp_session_create()
866 struct l2tp_tunnel *tunnel; in pppol2tp_getname()
1009 struct l2tp_tunnel *tunnel = session->tunnel; in pppol2tp_session_ioctl()
1135 static int pppol2tp_tunnel_ioctl(struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_ioctl()
1201 struct l2tp_tunnel *tunnel; in pppol2tp_ioctl()
1260 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1361 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt()
[all …]
Dl2tp_debugfs.c44 struct l2tp_tunnel *tunnel;
104 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
Dl2tp_ip.c123 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv()
231 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip_destroy_sock()
Dl2tp_ip6.c135 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv()
244 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip6_destroy_sock()
Dl2tp_eth.c213 struct l2tp_tunnel *tunnel; in l2tp_eth_create()
/linux-4.1.27/Documentation/networking/
Dl2tp.txt307 The driver keeps a struct l2tp_tunnel context per L2TP tunnel and a
308 struct l2tp_session context for each session. The l2tp_tunnel is