Home
last modified time | relevance | path

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

12

/external/libpcap/
Dfad-getad.c69 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET)
129 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET) in get_sa_len()
130 case AF_PACKET: in get_sa_len()
Dpcap-dos.c555 sa_ll_1.sll_family = AF_PACKET; in pcap_findalldevs()
556 sa_ll_2.sll_family = AF_PACKET; in pcap_findalldevs()
/external/strace/xlat/
Daddrfams.h61 #if defined(AF_PACKET) || (defined(HAVE_DECL_AF_PACKET) && HAVE_DECL_AF_PACKET)
62 XLAT(AF_PACKET),
Daddrfams.in20 AF_PACKET
/external/dhcpcd/
Difaddrs.c78 } else if (family == AF_PACKET) { in get_interface()
121 ifa = get_interface(de->d_name, AF_PACKET); in getifaddrs()
Dnet.c47 #ifdef AF_PACKET
352 #elif AF_PACKET in discover_interfaces()
365 #elif AF_PACKET in discover_interfaces()
366 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces()
479 #elif AF_PACKET in discover_interfaces()
Dlpf.c143 su.sll.sll_family = AF_PACKET; in send_raw_packet()
/external/iproute2/ip/
Dipmaddr.c105 m.addr.family = AF_PACKET; in read_dev_mcast()
200 if (list->addr.family == AF_PACKET) { in print_maddr()
268 if (!filter.family || filter.family == AF_PACKET) in multiaddr_list()
Dip.c186 preferred_family = AF_PACKET; in main()
198 preferred_family = AF_PACKET; in main()
Dipaddress.c386 (!filter.family || filter.family == AF_PACKET) && in print_linkinfo()
435 if (!filter.family || filter.family == AF_PACKET) { in print_linkinfo()
785 if (filter.family == AF_PACKET) { in ipaddr_list_or_flush()
941 if (filter.family != AF_PACKET) { in ipaddr_list_or_flush()
954 if (filter.family && filter.family != AF_PACKET) { in ipaddr_list_or_flush()
1017 if (filter.family != AF_PACKET) in ipaddr_list_or_flush()
1029 preferred_family = AF_PACKET; in ipaddr_list_link()
Drtmon.c101 family = AF_PACKET; in main()
Diplink.c727 me.sll_family = AF_PACKET; in get_address()
/external/strace/
Dnet.c156 #if defined(AF_PACKET) /* from e.g. linux/if_packet.h */
174 #ifdef AF_PACKET in printsock()
269 #ifdef AF_PACKET in printsock()
270 case AF_PACKET: in printsock()
/external/iputils/ninfod/
Dni_ifaddrs.c442 if (nlm_family == AF_PACKET) in ni_ifaddrs()
486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) { in ni_ifaddrs()
/external/android-clat/
Dclatd.c112 .sll_family = AF_PACKET, in configure_packet_socket()
253 int packetsock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in open_sockets()
/external/iproute2/misc/
Dss.c715 if (s->local.family == AF_PACKET) in run_ssfilter()
1032 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) { in parse_hostcond()
1033 a.addr.family = AF_PACKET; in parse_hostcond()
2291 tst.local.family = AF_PACKET; in packet_show()
2292 tst.remote.family = AF_PACKET; in packet_show()
2764 preferred_family = AF_PACKET; in main()
2772 preferred_family = AF_PACKET; in main()
2884 preferred_family = AF_PACKET; in main()
2894 } else if (preferred_family == AF_PACKET) { in main()
Darpd.c223 sll.sll_family = AF_PACKET; in send_probe()
769 sll.sll_family = AF_PACKET; in main()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c53 ll.sll_family = AF_PACKET; in l2_packet_send()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h176 #define AF_PACKET PF_PACKET macro
/external/iproute2/lib/
Dutils.c384 if (family == AF_PACKET) { in get_addr()
397 if (family == AF_PACKET) { in get_prefix()
/external/iputils/
Drarpd.c637 sll.sll_family = AF_PACKET; in main()
649 sll.sll_family = AF_PACKET; in main()
Darping.c610 if (ifa->ifa_addr->sa_family != AF_PACKET) in find_device_by_ifaddrs()
1168 ((struct sockaddr_ll *)&me)->sll_family = AF_PACKET; in main()
/external/wpa_supplicant_8/src/ap/
Diapp.c479 addr.sll_family = AF_PACKET; in iapp_init()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c229 addr.sll_family = AF_PACKET; in wired_init_sockets()
/external/libnl/lib/
Daddr.c904 __ADD(AF_PACKET,packet)

12