Home
last modified time | relevance | path

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

/bionic/tests/
Difaddrs_test.cpp59 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()
/bionic/libc/bionic/
Difaddrs.cpp154 } 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()
/bionic/libc/include/sys/
Dsocket.h146 #define AF_PACKET 17 macro
191 #define PF_PACKET AF_PACKET