Searched refs:AF_PACKET (Results 1 – 3 of 3) sorted by relevance
59 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()93 if (family == AF_PACKET || family == AF_UNSPEC) { in TEST()194 if (family == AF_PACKET) return "AF_PACKET"; in FamilyToName()237 if (family == AF_PACKET) { in TEST()
154 } else if (family == AF_PACKET) { in SockaddrBytes()179 new_addr->SetAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback()184 new_addr->SetBroadcastAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback()
146 #define AF_PACKET 17 macro191 #define PF_PACKET AF_PACKET