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()
222 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
226 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth()
243 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
338 struct l2tp_tunnel *tunnel) in l2tp_session_register()
433 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb()
644 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_common()
794 static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb) in l2tp_udp_recv_core()
898 struct l2tp_tunnel *tunnel; in l2tp_udp_encap_recv()
930 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv2_header()
957 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_build_l2tpv3_header()
996 static int l2tp_xmit_queue(struct l2tp_tunnel *tunnel, struct sk_buff *skb, struct flowi *fl) in l2tp_xmit_queue()
1014 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_xmit_core()
1133 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()
1228 static void l2tp_tunnel_remove(struct net *net, struct l2tp_tunnel *tunnel) in l2tp_tunnel_remove()
1240 struct l2tp_tunnel *tunnel = container_of(work, struct l2tp_tunnel, in l2tp_tunnel_del_work()
1389 struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) in l2tp_tunnel_create()
1391 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_create()
1454 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, in l2tp_tunnel_register()
1538 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel) in l2tp_tunnel_delete()
1581 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id, in l2tp_session_create()
1659 struct l2tp_tunnel *tunnel = NULL; in l2tp_exit_net()