Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/wilc1000/
Dhost_interface.h12 #define IP_ALEN 4 macro
Dhost_interface.c368 memcpy(set_ip[idx], ip_addr, IP_ALEN); in handle_set_ip_address()
373 wid.size = IP_ALEN; in handle_set_ip_address()
395 wid.val = kmalloc(IP_ALEN, GFP_KERNEL); in handle_get_ip_address()
396 wid.size = IP_ALEN; in handle_get_ip_address()
401 memcpy(get_ip[idx], wid.val, IP_ALEN); in handle_get_ip_address()
405 if (memcmp(get_ip[idx], set_ip[idx], IP_ALEN) != 0) in handle_get_ip_address()