HomeSort by relevance Sort by last modified time
    Searched refs:AF_PACKET (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/libpcap/
fad-getad.c 60 * any AF_PACKET addresses on interfaces, so we don't need this, and
64 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET)
79 #endif /* (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET) */
124 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET)
125 case AF_PACKET:
  /external/strace/xlat/
addrfams.h 53 #if !(defined(AF_PACKET) || (defined(HAVE_DECL_AF_PACKET) && HAVE_DECL_AF_PACKET))
54 # define AF_PACKET 17
155 XLAT(AF_PACKET),
  /external/strace/
netlink_sock_diag.c 56 [AF_PACKET] = { decode_packet_diag_req, decode_packet_diag_msg },
  /external/dhcpcd-6.8.2/
ifaddrs.c 80 } else if (family == AF_PACKET) {
124 ifa = get_interface(de->d_name, AF_PACKET);
if.c 44 #ifdef AF_PACKET
291 #elif AF_PACKET
307 #elif AF_PACKET
308 if (ifa->ifa_addr->sa_family != AF_PACKET)
488 #elif AF_PACKET
  /external/ltp/testcases/kernel/syscalls/setsockopt/
setsockopt02.c 98 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
  /bionic/libc/bionic/
ifaddrs.cpp 152 } else if (family == AF_PACKET) {
177 new_addr->SetAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta));
182 new_addr->SetBroadcastAddress(AF_PACKET, RTA_DATA(rta), RTA_PAYLOAD(rta));
  /external/iproute2/ip/
ipmaddr.c 96 struct ma_info m = { .addr.family = AF_PACKET };
199 if (list->addr.family == AF_PACKET) {
263 if (!filter.family || filter.family == AF_PACKET)
rtmon.c 107 family = AF_PACKET;
  /bionic/tests/
ifaddrs_test.cpp 40 // sure there's a loopback interface, and that it has IPv4, IPv6, and AF_PACKET entries.
54 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr;
68 // Does the AF_PACKET entry look right?
88 if (family == AF_PACKET || family == AF_UNSPEC) {
189 if (family == AF_PACKET) return "AF_PACKET";
238 if (family == AF_PACKET) {
  /device/generic/goldfish/wifi/ipv6proxy/
address.cpp 83 addr->sll_family = AF_PACKET;
interface.cpp 130 Result res = mIpSocket.open(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6);
  /external/android-clat/
ring.c 33 int packetsock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6));
  /external/autotest/client/site_tests/kernel_ProtocolCheck/
kernel_ProtocolCheck.py 30 Protocol('PACKET', socket.AF_PACKET, socket.SOCK_DGRAM, 0),
  /prebuilts/go/darwin-x86/src/syscall/
lsf_linux.go 26 s, e := Socket(AF_PACKET, SOCK_RAW, proto)
  /prebuilts/go/linux-x86/src/syscall/
lsf_linux.go 26 s, e := Socket(AF_PACKET, SOCK_RAW, proto)
  /system/core/libnetutils/
packet.c 52 bindaddr.sll_family = AF_PACKET;
140 destaddr.sll_family = AF_PACKET;
  /external/ltp/testcases/network/stress/ns-tools/
ns-icmpv4_sender.c 318 if ((sock_fd = socket(AF_PACKET, SOCK_DGRAM, 0)) < 0)
322 fake_p->saddr_ll.sll_family = AF_PACKET; /* Always AF_PACKET */
552 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IP));
ns-icmpv6_sender.c 179 if ((sock_fd = socket(AF_PACKET, SOCK_DGRAM, 0)) < 0)
182 lladdr_p->sll_family = AF_PACKET; /* Always AF_PACKET */
213 lladdr_p->sll_family = AF_PACKET; /* Always AF_PACKET */
722 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6));
  /external/ppp/pppd/plugins/rp-pppoe/
if.c 166 sa.sll_family = AF_PACKET;
  /external/strace/tests/
netlink_sock_diag.c 332 .sdiag_family = AF_PACKET,
338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
340 printf("{sdiag_family=AF_PACKET"),
353 .pdiag_family = AF_PACKET,
359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
361 printf("{pdiag_family=AF_PACKET"),
nlattr_packet_diag_msg.c 53 .pdiag_family = AF_PACKET,
63 ", {pdiag_family=AF_PACKET"
  /external/strace/tests-m32/
netlink_sock_diag.c 332 .sdiag_family = AF_PACKET,
338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
340 printf("{sdiag_family=AF_PACKET"),
353 .pdiag_family = AF_PACKET,
359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
361 printf("{pdiag_family=AF_PACKET"),
nlattr_packet_diag_msg.c 53 .pdiag_family = AF_PACKET,
63 ", {pdiag_family=AF_PACKET"
  /external/strace/tests-mx32/
netlink_sock_diag.c 332 .sdiag_family = AF_PACKET,
338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
340 printf("{sdiag_family=AF_PACKET"),
353 .pdiag_family = AF_PACKET,
359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET,
361 printf("{pdiag_family=AF_PACKET"),

Completed in 1019 milliseconds

1 2 3 4 5