Lines Matching refs:l2tp_tunnel

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()
245 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
288 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
340 struct l2tp_tunnel *tunnel) in l2tp_session_register()
435 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb()
646 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()
900 struct l2tp_tunnel *tunnel; in l2tp_udp_encap_recv()
932 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv2_header()
959 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv3_header()
998 static int l2tp_xmit_queue(struct l2tp_tunnel *tunnel, struct sk_buff *skb, struct flowi *fl) in l2tp_xmit_queue()
1016 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_core()
1135 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_tunnel_destruct()
1168 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_session_unhash()
1192 static void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel) in l2tp_tunnel_closeall()
1222 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_udp_encap_destroy()
1231 struct l2tp_tunnel *tunnel = container_of(work, struct l2tp_tunnel, in l2tp_tunnel_del_work()
1388 struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) in l2tp_tunnel_create()
1390 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_create()
1453 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, in l2tp_tunnel_register()
1456 struct l2tp_tunnel *tunnel_walk; in l2tp_tunnel_register()
1535 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel) in l2tp_tunnel_delete()
1578 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id, in l2tp_session_create()
1656 struct l2tp_tunnel *tunnel = NULL; in l2tp_exit_net()