Lines Matching refs:l2tp_tunnel

122 static inline struct l2tp_tunnel *l2tp_tunnel(struct sock *sk)  in l2tp_tunnel()  function
153 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
158 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
166 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get()
169 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get()
186 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
189 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth()
206 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
249 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
301 struct l2tp_tunnel *tunnel) in l2tp_session_register()
393 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb()
624 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_common()
796 static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb) in l2tp_udp_recv_core()
907 struct l2tp_tunnel *tunnel; in l2tp_udp_encap_recv()
909 tunnel = l2tp_tunnel(sk); in l2tp_udp_encap_recv()
934 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv2_header()
962 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv3_header()
1005 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_core()
1053 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_skb()
1150 struct l2tp_tunnel *tunnel = l2tp_tunnel(sk); in l2tp_tunnel_destruct()
1184 static void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel) in l2tp_tunnel_closeall()
1237 struct l2tp_tunnel *tunnel = l2tp_tunnel(sk); in l2tp_udp_encap_destroy()
1246 struct l2tp_tunnel *tunnel = container_of(work, struct l2tp_tunnel, in l2tp_tunnel_del_work()
1402 …sion, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) in l2tp_tunnel_create()
1404 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_create()
1411 tunnel = kzalloc(sizeof(struct l2tp_tunnel), GFP_KERNEL); in l2tp_tunnel_create()
1468 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, in l2tp_tunnel_register()
1471 struct l2tp_tunnel *tunnel_walk; in l2tp_tunnel_register()
1549 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel) in l2tp_tunnel_delete()
1562 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_session_free()
1582 struct l2tp_tunnel *tunnel = session->tunnel; in __l2tp_session_unhash()
1641 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id,… in l2tp_session_create()
1727 struct l2tp_tunnel *tunnel = NULL; in l2tp_exit_net()