• Home
  • Raw
  • Download

Lines Matching refs:session_id

164 l2tp_session_id_hash_2(struct l2tp_net *pn, u32 session_id)  in l2tp_session_id_hash_2()  argument
166 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2()
219 static struct l2tp_session *l2tp_session_find_2(struct net *net, u32 session_id) in l2tp_session_find_2() argument
223 l2tp_session_id_hash_2(pn, session_id); in l2tp_session_find_2()
228 if (session->session_id == session_id) { in l2tp_session_find_2()
245 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash() argument
247 return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)]; in l2tp_session_id_hash()
252 struct l2tp_session *l2tp_session_find(struct net *net, struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_find() argument
262 return l2tp_session_find_2(net, session_id); in l2tp_session_find()
264 session_list = l2tp_session_id_hash(tunnel, session_id); in l2tp_session_find()
267 if (session->session_id == session_id) { in l2tp_session_find()
627 session->session_id); in l2tp_recv_common()
835 u32 tunnel_id, session_id; in l2tp_udp_recv_core() local
900 session_id = ntohs(*(__be16 *) ptr); in l2tp_udp_recv_core()
905 session_id = ntohl(*(__be32 *) ptr); in l2tp_udp_recv_core()
910 session = l2tp_session_find(tunnel->l2tp_net, tunnel, session_id); in l2tp_udp_recv_core()
915 tunnel->name, tunnel_id, session_id); in l2tp_udp_recv_core()
981 u32 session_id = session->peer_session_id; in l2tp_build_l2tpv2_header() local
989 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header()
1727 if (session->session_id != 0) in l2tp_session_free()
1803 struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id,… in l2tp_session_create() argument
1812 session->session_id = session_id; in l2tp_session_create()
1817 tunnel->tunnel_id, session->session_id); in l2tp_session_create()
1864 l2tp_session_id_hash(tunnel, session_id)); in l2tp_session_create()
1873 l2tp_session_id_hash_2(pn, session_id)); in l2tp_session_create()
1878 if (session->session_id != 0) in l2tp_session_create()