Home
last modified time | relevance | path

Searched refs:session_id (Results 1 – 9 of 9) sorted by relevance

/net/l2tp/
Dl2tp_core.c164 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()
[all …]
Dl2tp_ppp.c602 u32 session_id, peer_session_id; in pppol2tp_connect() local
633 session_id = sp->pppol2tp.s_session; in pppol2tp_connect()
642 session_id = sp3->pppol2tp.s_session; in pppol2tp_connect()
650 session_id = sp6->pppol2tp.s_session; in pppol2tp_connect()
659 session_id = sp6->pppol2tp.s_session; in pppol2tp_connect()
677 if ((session_id == 0) && (peer_session_id == 0)) { in pppol2tp_connect()
710 session = l2tp_session_find(sock_net(sk), tunnel, session_id); in pppol2tp_connect()
719 tunnel, session_id, in pppol2tp_connect()
769 if ((session->session_id == 0) && in pppol2tp_connect()
806 static int pppol2tp_session_create(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session… in pppol2tp_session_create() argument
[all …]
Dl2tp_core.h91 u32 session_id; member
199 …int (*session_create)(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session_id, struct …
235 …truct l2tp_session *l2tp_session_find(struct net *net, struct l2tp_tunnel *tunnel, u32 session_id);
244 …on *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunnel, u32 session_id, u32 peer_sessio…
Dl2tp_netlink.c49 u32 session_id; in l2tp_nl_session_find() local
61 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_session_find()
64 session = l2tp_session_find(net, tunnel, session_id); in l2tp_nl_session_find()
397 u32 session_id; in l2tp_nl_cmd_session_create() local
420 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_cmd_session_create()
421 session = l2tp_session_find(net, tunnel, session_id); in l2tp_nl_cmd_session_create()
534 session_id, peer_session_id, &cfg); in l2tp_nl_cmd_session_create()
615 nla_put_u32(skb, L2TP_ATTR_SESSION_ID, session->session_id) || in l2tp_nl_session_send()
Dl2tp_eth.c208 static int l2tp_eth_create(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session_id, str… in l2tp_eth_create() argument
225 session = l2tp_session_find(net, tunnel, session_id); in l2tp_eth_create()
242 session = l2tp_session_create(sizeof(*spriv), tunnel, session_id, in l2tp_eth_create()
Dl2tp_ip.c119 u32 session_id; in l2tp_ip_recv() local
132 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip_recv()
139 if (session_id == 0) { in l2tp_ip_recv()
145 session = l2tp_session_find(net, NULL, session_id); in l2tp_ip_recv()
Dl2tp_ip6.c131 u32 session_id; in l2tp_ip6_recv() local
144 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip6_recv()
151 if (session_id == 0) { in l2tp_ip6_recv()
157 session = l2tp_session_find(&init_net, NULL, session_id); in l2tp_ip6_recv()
Dl2tp_debugfs.c116 if (session->session_id == 0) in l2tp_dfs_seq_tunnel_show()
166 seq_printf(m, " SESSION %u, peer %u, %s\n", session->session_id, in l2tp_dfs_seq_session_show()
/net/nfc/hci/
Dcore.c388 if (skb->len && skb->len == strlen(hdev->init_data.session_id)) in hci_dev_session_init()
389 if (memcmp(hdev->init_data.session_id, skb->data, in hci_dev_session_init()
414 hdev->init_data.session_id, in hci_dev_session_init()
415 strlen(hdev->init_data.session_id)); in hci_dev_session_init()