Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ppp.c559 u32 session_id; member
578 info->session_id = sa_v2in4->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
594 info->session_id = sa_v3in4->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
610 info->session_id = sa_v2in6->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
626 info->session_id = sa_v3in6->pppol2tp.s_session; in pppol2tp_sockaddr_get_info()
669 if (!info->session_id && !info->peer_session_id) { in pppol2tp_tunnel_get()
757 session = l2tp_tunnel_get_session(tunnel, info.session_id); in pppol2tp_connect()
783 tunnel, info.session_id, in pppol2tp_connect()
810 if (session->session_id == 0 && session->peer_session_id == 0) { in pppol2tp_connect()
864 u32 session_id, u32 peer_session_id, in pppol2tp_session_create() argument
[all …]
Dl2tp_core.c134 l2tp_session_id_hash_2(struct l2tp_net *pn, u32 session_id) in l2tp_session_id_hash_2() argument
136 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2()
146 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash() argument
148 return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)]; in l2tp_session_id_hash()
244 u32 session_id) in l2tp_tunnel_get_session() argument
249 session_list = l2tp_session_id_hash(tunnel, session_id); in l2tp_tunnel_get_session()
253 if (session->session_id == session_id) { in l2tp_tunnel_get_session()
265 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id) in l2tp_session_get() argument
270 session_list = l2tp_session_id_hash_2(l2tp_pernet(net), session_id); in l2tp_session_get()
274 if (session->session_id == session_id) { in l2tp_session_get()
[all …]
Dl2tp_core.h75 u32 session_id; member
199 u32 session_id, u32 peer_session_id,
228 u32 session_id);
230 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id);
248 u32 session_id, u32 peer_session_id,
Dl2tp_netlink.c49 u32 session_id; in l2tp_nl_session_get() local
61 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_session_get()
64 session = l2tp_tunnel_get_session(tunnel, session_id); in l2tp_nl_session_get()
524 u32 session_id; in l2tp_nl_cmd_session_create() local
548 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_cmd_session_create()
633 session_id, in l2tp_nl_cmd_session_create()
638 session = l2tp_tunnel_get_session(tunnel, session_id); in l2tp_nl_cmd_session_create()
724 nla_put_u32(skb, L2TP_ATTR_SESSION_ID, session->session_id) || in l2tp_nl_session_send()
Dl2tp_ip.c115 u32 session_id; in l2tp_ip_recv() local
128 session_id = ntohl(*((__be32 *)ptr)); in l2tp_ip_recv()
135 if (session_id == 0) { in l2tp_ip_recv()
141 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.c245 u32 session_id, u32 peer_session_id, in l2tp_eth_create() argument
264 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()
183 seq_printf(m, " SESSION %u, peer %u, %s\n", session->session_id, in l2tp_dfs_seq_session_show()
Dtrace.h105 __entry->sid = session->session_id;
/net/batman-adv/
Dtp_meter.c939 u8 session_id[2]; in batadv_tp_start() local
943 get_random_bytes(session_id, sizeof(session_id)); in batadv_tp_start()
945 session_cookie = batadv_tp_session_cookie(session_id, icmp_uid); in batadv_tp_start()
986 memcpy(tp_vars->session, session_id, sizeof(session_id)); in batadv_tp_start()
/net/nfc/nci/
Dhci.c747 skb->len == strlen(ndev->hci_dev->init_data.session_id) && in nci_hci_dev_session_init()
748 !memcmp(ndev->hci_dev->init_data.session_id, skb->data, skb->len) && in nci_hci_dev_session_init()
765 ndev->hci_dev->init_data.session_id, in nci_hci_dev_session_init()
766 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()