Home
last modified time | relevance | path

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

/net/batman-adv/
Dicmp_socket.c54 static void batadv_socket_add_packet(struct batadv_socket_client *socket_client,
66 struct batadv_socket_client *socket_client; in batadv_socket_open() local
73 socket_client = kmalloc(sizeof(*socket_client), GFP_KERNEL); in batadv_socket_open()
74 if (!socket_client) { in batadv_socket_open()
81 batadv_socket_client_hash[i] = socket_client; in batadv_socket_open()
88 kfree(socket_client); in batadv_socket_open()
93 INIT_LIST_HEAD(&socket_client->queue_list); in batadv_socket_open()
94 socket_client->queue_len = 0; in batadv_socket_open()
95 socket_client->index = i; in batadv_socket_open()
96 socket_client->bat_priv = inode->i_private; in batadv_socket_open()
[all …]