Home
last modified time | relevance | path

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

12

/external/libpcap/
Dfad-getad.c63 #ifdef AF_PACKET
114 #ifdef AF_PACKET in get_sa_len()
115 case AF_PACKET: in get_sa_len()
Dpcap-dos.c533 sa_ll_1.sll_family = AF_PACKET; in pcap_findalldevs()
534 sa_ll_2.sll_family = AF_PACKET; in pcap_findalldevs()
Dpcap-linux.c1636 sll.sll_family = AF_PACKET; in iface_bind()
/external/dhcpcd/
Difaddrs.c77 } else if (family == AF_PACKET) { in get_interface()
120 ifa = get_interface(de->d_name, AF_PACKET); in getifaddrs()
Dnet.c47 #ifdef AF_PACKET
334 #elif AF_PACKET in discover_interfaces()
347 #elif AF_PACKET in discover_interfaces()
348 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces()
451 #elif AF_PACKET in discover_interfaces()
Dlpf.c133 su.sll.sll_family = AF_PACKET; in send_raw_packet()
/external/iproute2/ip/
Dipmaddr.c105 m.addr.family = AF_PACKET; in read_dev_mcast()
197 if (list->addr.family == AF_PACKET) { in print_maddr()
265 if (!filter.family || filter.family == AF_PACKET) in multiaddr_list()
Dip.c173 preferred_family = AF_PACKET; in main()
185 preferred_family = AF_PACKET; in main()
Dipaddress.c246 (!filter.family || filter.family == AF_PACKET) && in print_linkinfo()
287 if (!filter.family || filter.family == AF_PACKET) { in print_linkinfo()
726 if (filter.family == AF_PACKET) { in ipaddr_list_or_flush()
874 if (filter.family != AF_PACKET) { in ipaddr_list_or_flush()
887 if (filter.family && filter.family != AF_PACKET) { in ipaddr_list_or_flush()
950 if (filter.family != AF_PACKET) in ipaddr_list_or_flush()
962 preferred_family = AF_PACKET; in ipaddr_list_link()
Drtmon.c101 family = AF_PACKET; in main()
Diplink.c638 me.sll_family = AF_PACKET; in get_address()
/external/kernel-headers/original/linux/
Dsocket.h179 #define AF_PACKET 17 /* Packet family */ macro
213 #define PF_PACKET AF_PACKET
/external/strace/
Dnet.c288 #ifdef AF_PACKET
289 { AF_PACKET, "AF_PACKET" },
899 #if defined(AF_PACKET) /* from e.g. linux/if_packet.h */
944 #ifdef AF_PACKET
1034 #ifdef AF_PACKET
1035 case AF_PACKET:
/external/iproute2/misc/
Dss.c706 if (s->local.family == AF_PACKET) in run_ssfilter()
1023 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) { in parse_hostcond()
1024 a.addr.family = AF_PACKET; in parse_hostcond()
2100 tst.local.family = AF_PACKET; in packet_show()
2101 tst.remote.family = AF_PACKET; in packet_show()
2571 preferred_family = AF_PACKET; in main()
2579 preferred_family = AF_PACKET; in main()
2691 preferred_family = AF_PACKET; in main()
2701 } else if (preferred_family == AF_PACKET) { in main()
Darpd.c221 sll.sll_family = AF_PACKET; in send_probe()
761 sll.sll_family = AF_PACKET; in main()
/external/wpa_supplicant/
Dl2_packet_linux.c58 ll.sll_family = AF_PACKET; in l2_packet_send()
Ddriver_broadcom.c328 ll.sll_family = AF_PACKET; in wpa_driver_broadcom_init()
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_linux.c58 ll.sll_family = AF_PACKET; in l2_packet_send()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c59 ll.sll_family = AF_PACKET; in l2_packet_send()
/external/iproute2/lib/
Dutils.c379 if (family == AF_PACKET) { in get_addr()
392 if (family == AF_PACKET) { in get_prefix()
/external/wpa_supplicant_8/src/ap/
Diapp.c483 addr.sll_family = AF_PACKET; in iapp_init()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c234 addr.sll_family = AF_PACKET; in wired_init_sockets()
Ddriver_broadcom.c329 ll.sll_family = AF_PACKET; in wpa_driver_broadcom_init()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_broadcom.c333 ll.sll_family = AF_PACKET; in wpa_driver_broadcom_init()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c491 sa.sll_family = AF_PACKET; in openInterface()

12