Lines Matching refs:l2tp_tunnel
116 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()
332 struct l2tp_tunnel *tunnel; in l2tp_tunnel_find()
348 struct l2tp_tunnel *l2tp_tunnel_find_nth(struct net *net, int nth) in l2tp_tunnel_find_nth()
351 struct l2tp_tunnel *tunnel; in l2tp_tunnel_find_nth()
404 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb()
641 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_common()
843 static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb, in l2tp_udp_recv_core()
951 struct l2tp_tunnel *tunnel; in l2tp_udp_encap_recv()
981 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv2_header()
1009 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv3_header()
1055 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_core()
1105 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_skb()
1193 struct l2tp_tunnel *tunnel = l2tp_tunnel(sk); in l2tp_tunnel_destruct()
1238 void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel) in l2tp_tunnel_closeall()
1294 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_udp_encap_destroy()
1304 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
1315 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_del_work()
1319 tunnel = container_of(work, struct l2tp_tunnel, del_work); in l2tp_tunnel_del_work()
1473 …sion, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) in l2tp_tunnel_create()
1475 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_create()
1534 tunnel = l2tp_tunnel(sk); in l2tp_tunnel_create()
1541 tunnel = kzalloc(sizeof(struct l2tp_tunnel), GFP_KERNEL); in l2tp_tunnel_create()
1639 int l2tp_tunnel_delete(struct l2tp_tunnel *tunnel) in l2tp_tunnel_delete()
1655 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_session_free()
1679 struct l2tp_tunnel *tunnel = session->tunnel; in __l2tp_session_unhash()
1736 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id,… in l2tp_session_create()
1851 struct l2tp_tunnel *tunnel = NULL; in l2tp_exit_net()