Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dicmp_socket.c44 static struct batadv_socket_client *batadv_socket_client_hash[256]; variable
55 memset(batadv_socket_client_hash, 0, sizeof(batadv_socket_client_hash)); in batadv_socket_init()
76 for (i = 0; i < ARRAY_SIZE(batadv_socket_client_hash); i++) { in batadv_socket_open()
77 if (!batadv_socket_client_hash[i]) { in batadv_socket_open()
78 batadv_socket_client_hash[i] = socket_client; in batadv_socket_open()
83 if (i == ARRAY_SIZE(batadv_socket_client_hash)) { in batadv_socket_open()
115 batadv_socket_client_hash[client->index] = NULL; in batadv_socket_release()
354 if (!batadv_socket_client_hash[icmph->uid]) { in batadv_socket_add_packet()
389 hash = batadv_socket_client_hash[icmph->uid]; in batadv_socket_receive_packet()