Lines Matching refs:l2tp_session
169 static void l2tp_session_free(struct l2tp_session *session) in l2tp_session_free()
207 void l2tp_session_put(struct l2tp_session *session) in l2tp_session_put()
254 struct l2tp_session *l2tp_v3_session_get(const struct net *net, struct sock *sk, u32 session_id) in l2tp_v3_session_get()
257 struct l2tp_session *session; in l2tp_v3_session_get()
297 struct l2tp_session *l2tp_v2_session_get(const struct net *net, u16 tunnel_id, u16 session_id) in l2tp_v2_session_get()
301 struct l2tp_session *session; in l2tp_v2_session_get()
315 struct l2tp_session *l2tp_session_get(const struct net *net, struct sock *sk, int pver, in l2tp_session_get()
325 static struct l2tp_session *l2tp_v2_session_get_next(const struct net *net, in l2tp_v2_session_get_next()
330 struct l2tp_session *session = NULL; in l2tp_v2_session_get_next()
363 static struct l2tp_session *l2tp_v3_session_get_next(const struct net *net, in l2tp_v3_session_get_next()
368 struct l2tp_session *session = NULL; in l2tp_v3_session_get_next()
419 struct l2tp_session *l2tp_session_get_next(const struct net *net, struct sock *sk, int pver, in l2tp_session_get_next()
432 struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net, in l2tp_session_get_by_ifname()
437 struct l2tp_session *session; in l2tp_session_get_by_ifname()
460 struct l2tp_session *session) in l2tp_session_coll_list_add()
471 struct l2tp_session *session1, in l2tp_session_collision_add()
472 struct l2tp_session *session2) in l2tp_session_collision_add()
515 struct l2tp_session *session) in l2tp_session_collision_del()
519 struct l2tp_session *session2; in l2tp_session_collision_del()
534 session2 = list_first_entry_or_null(&clist->list, struct l2tp_session, clist); in l2tp_session_collision_del()
552 int l2tp_session_register(struct l2tp_session *session, in l2tp_session_register()
556 struct l2tp_session *other_session = NULL; in l2tp_session_register()
632 static void l2tp_recv_queue_skb(struct l2tp_session *session, struct sk_buff *skb) in l2tp_recv_queue_skb()
655 static void l2tp_recv_dequeue_skb(struct l2tp_session *session, struct sk_buff *skb) in l2tp_recv_dequeue_skb()
687 static void l2tp_recv_dequeue(struct l2tp_session *session) in l2tp_recv_dequeue()
735 static int l2tp_seq_check_rx_window(struct l2tp_session *session, u32 nr) in l2tp_seq_check_rx_window()
750 static int l2tp_recv_data_seq(struct l2tp_session *session, struct sk_buff *skb) in l2tp_recv_data_seq()
864 void l2tp_recv_common(struct l2tp_session *session, struct sk_buff *skb, in l2tp_recv_common()
1004 static void l2tp_session_queue_purge(struct l2tp_session *session) in l2tp_session_queue_purge()
1017 struct l2tp_session *session = NULL; in l2tp_udp_encap_recv()
1138 static int l2tp_build_l2tpv2_header(struct l2tp_session *session, void *buf) in l2tp_build_l2tpv2_header()
1165 static int l2tp_build_l2tpv3_header(struct l2tp_session *session, void *buf) in l2tp_build_l2tpv3_header()
1222 static int l2tp_xmit_core(struct l2tp_session *session, struct sk_buff *skb, unsigned int *len) in l2tp_xmit_core()
1320 int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb) in l2tp_xmit_skb()
1344 static void l2tp_session_unhash(struct l2tp_session *session) in l2tp_session_unhash()
1350 struct l2tp_session *removed = session; in l2tp_session_unhash()
1382 struct l2tp_session *session; in l2tp_tunnel_closeall()
1726 void l2tp_session_delete(struct l2tp_session *session) in l2tp_session_delete()
1739 struct l2tp_session *session = container_of(work, struct l2tp_session, in l2tp_session_del_work()
1757 void l2tp_session_set_header_len(struct l2tp_session *session, int version, in l2tp_session_set_header_len()
1773 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id, in l2tp_session_create()
1776 struct l2tp_session *session; in l2tp_session_create()