Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dicmp_socket.c46 static void batadv_socket_add_packet(struct batadv_socket_client *socket_client,
61 struct batadv_socket_client *socket_client; in batadv_socket_open() local
70 socket_client = kmalloc(sizeof(*socket_client), GFP_KERNEL); in batadv_socket_open()
71 if (!socket_client) { in batadv_socket_open()
78 batadv_socket_client_hash[i] = socket_client; in batadv_socket_open()
85 kfree(socket_client); in batadv_socket_open()
90 INIT_LIST_HEAD(&socket_client->queue_list); in batadv_socket_open()
91 socket_client->queue_len = 0; in batadv_socket_open()
92 socket_client->index = i; in batadv_socket_open()
93 socket_client->bat_priv = inode->i_private; in batadv_socket_open()
[all …]