Home
last modified time | relevance | path

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

/bionic/tests/
Difaddrs_test.cpp52 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()
86 if (family == AF_PACKET || family == AF_UNSPEC) { in TEST()
187 if (family == AF_PACKET) return "AF_PACKET"; in FamilyToName()
236 if (family == AF_PACKET) { in TEST()
/bionic/libc/bionic/
Difaddrs.cpp152 } else if (family == AF_PACKET) { in SockaddrBytes()
177 new_addr->SetAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback()
182 new_addr->SetBroadcastAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback()
/bionic/libc/include/sys/
Dsocket.h147 #define AF_PACKET 17 macro
190 #define PF_PACKET AF_PACKET