Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ppp.c564 u32 session_id; member
583 info->session_id = sa_v2in4->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
599 info->session_id = sa_v3in4->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
615 info->session_id = sa_v2in6->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
631 info->session_id = sa_v3in6->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
706 if (!info.session_id && !info.peer_session_id) { in pppol2tp_connect()
753 session = l2tp_tunnel_get_session(tunnel, info.session_id); in pppol2tp_connect()
779 tunnel, info.session_id, in pppol2tp_connect()
806 if ((session->session_id == 0) && in pppol2tp_connect()
864 u32 session_id, u32 peer_session_id, in pppol2tp_session_create() argument
[all …]
Dl2tp_core.c136 l2tp_session_id_hash_2(struct l2tp_net *pn, u32 session_id) in l2tp_session_id_hash_2() argument
138 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2()
149 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash() argument
151 return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)]; in l2tp_session_id_hash()
203 u32 session_id) in l2tp_tunnel_get_session() argument
208 session_list = l2tp_session_id_hash(tunnel, session_id); in l2tp_tunnel_get_session()
212 if (session->session_id == session_id) { in l2tp_tunnel_get_session()
224 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id) in l2tp_session_get() argument
229 session_list = l2tp_session_id_hash_2(l2tp_pernet(net), session_id); in l2tp_session_get()
233 if (session->session_id == session_id) { in l2tp_session_get()
[all …]
Dl2tp_core.h78 u32 session_id; member
182 u32 session_id, u32 peer_session_id,
195 u32 session_id);
199 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id);
213 u32 session_id, u32 peer_session_id,
Dl2tp_netlink.c51 u32 session_id; in l2tp_nl_session_get() local
63 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_session_get()
66 session = l2tp_tunnel_get_session(tunnel, session_id); in l2tp_nl_session_get()
511 u32 session_id; in l2tp_nl_cmd_session_create() local
535 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_cmd_session_create()
622 session_id, in l2tp_nl_cmd_session_create()
627 session = l2tp_tunnel_get_session(tunnel, session_id); in l2tp_nl_cmd_session_create()
716 nla_put_u32(skb, L2TP_ATTR_SESSION_ID, session->session_id) || in l2tp_nl_session_send()
Dl2tp_ip.c116 u32 session_id; in l2tp_ip_recv() local
129 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip_recv()
136 if (session_id == 0) { in l2tp_ip_recv()
142 session = l2tp_session_get(net, session_id); in l2tp_ip_recv()
Dl2tp_ip6.c128 u32 session_id; in l2tp_ip6_recv() local
141 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip6_recv()
148 if (session_id == 0) { in l2tp_ip6_recv()
154 session = l2tp_session_get(net, session_id); in l2tp_ip6_recv()
Dl2tp_eth.c258 u32 session_id, u32 peer_session_id, in l2tp_eth_create() argument
277 session = l2tp_session_create(sizeof(*spriv), tunnel, session_id, in l2tp_eth_create()
Dl2tp_debugfs.c134 if (session->session_id == 0) in l2tp_dfs_seq_tunnel_show()
181 seq_printf(m, " SESSION %u, peer %u, %s\n", session->session_id, in l2tp_dfs_seq_session_show()
/net/batman-adv/
Dtp_meter.c940 u8 session_id[2]; in batadv_tp_start() local
944 get_random_bytes(session_id, sizeof(session_id)); in batadv_tp_start()
946 session_cookie = batadv_tp_session_cookie(session_id, icmp_uid); in batadv_tp_start()
987 memcpy(tp_vars->session, session_id, sizeof(session_id)); in batadv_tp_start()
/net/nfc/nci/
Dhci.c754 skb->len == strlen(ndev->hci_dev->init_data.session_id) && in nci_hci_dev_session_init()
755 !memcmp(ndev->hci_dev->init_data.session_id, skb->data, skb->len) && in nci_hci_dev_session_init()
772 ndev->hci_dev->init_data.session_id, in nci_hci_dev_session_init()
773 strlen(ndev->hci_dev->init_data.session_id)); in nci_hci_dev_session_init()
/net/nfc/hci/
Dcore.c483 if (skb->len && skb->len == strlen(hdev->init_data.session_id) && in hci_dev_session_init()
484 (memcmp(hdev->init_data.session_id, skb->data, in hci_dev_session_init()
505 hdev->init_data.session_id, in hci_dev_session_init()
506 strlen(hdev->init_data.session_id)); in hci_dev_session_init()