Home
last modified time | relevance | path

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

/external/avahi/avahi-autoipd/
Dmain.c103 #define ETHER_ADDRLEN 6 macro
104 #define ETHER_HDR_SIZE (2+2*ETHER_ADDRLEN)
105 #define ARP_PACKET_SIZE (8+4+4+2*ETHER_ADDRLEN)
116 uint8_t sender_hw_address[ETHER_ADDRLEN], target_hw_address[ETHER_ADDRLEN];
322 r[4] = ETHER_ADDRLEN; /* HLEN */ in packet_new_with_info()
326 memcpy(r+8, info->sender_hw_address, ETHER_ADDRLEN); in packet_new_with_info()
328 memcpy(r+18, info->target_hw_address, ETHER_ADDRLEN); in packet_new_with_info()
339 memcpy(info.sender_hw_address, hw_address, ETHER_ADDRLEN); in packet_new_probe()
350 memcpy(info.sender_hw_address, hw_address, ETHER_ADDRLEN); in packet_new_announcement()
372 if (p[4] != ETHER_ADDRLEN || p[5] != 4 || p[6] != 0 || (p[7] != 1 && p[7] != 2)) in packet_parse()
[all …]