Searched refs:AF_PACKET (Results 1 - 25 of 61) sorted by relevance

123

/external/libpcap/
H A Dfad-getad.c60 * 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/
H A Daddrfams.h53 #if !(defined(AF_PACKET) || (defined(HAVE_DECL_AF_PACKET) && HAVE_DECL_AF_PACKET))
54 # define AF_PACKET 17 macro
155 XLAT(AF_PACKET),
/external/dhcpcd-6.8.2/
H A Difaddrs.c80 } else if (family == AF_PACKET) {
124 ifa = get_interface(de->d_name, AF_PACKET);
H A Dif.c44 #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/iproute2/ip/
H A Dipmaddr.c106 m.addr.family = AF_PACKET;
201 if (list->addr.family == AF_PACKET) {
269 if (!filter.family || filter.family == AF_PACKET)
H A Drtmon.c107 family = AF_PACKET;
H A Dipaddress.c640 (!filter.family || filter.family == AF_PACKET) &&
693 if (filter.family == AF_PACKET) {
704 if (filter.family == AF_PACKET)
707 if (filter.family == AF_PACKET)
739 (!filter.family || filter.family == AF_PACKET) &&
834 if (!filter.family || filter.family == AF_PACKET || show_details) {
1391 (filter.family == AF_UNSPEC || filter.family == AF_PACKET))
1473 if (filter.family == AF_PACKET) {
1625 if (filter.family != AF_PACKET) {
1648 if (filter.family != AF_PACKET)
[all...]
H A Dip.c215 preferred_family = AF_PACKET;
/external/android-clat/
H A Dring.c33 int packetsock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6));
/external/autotest/client/site_tests/kernel_ProtocolCheck/
H A Dkernel_ProtocolCheck.py30 Protocol('PACKET', socket.AF_PACKET, socket.SOCK_DGRAM, 0),
/external/ltp/testcases/network/stress/ns-tools/
H A Dns-icmpv4_sender.c318 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));
H A Dns-icmpv6_sender.c179 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));
H A Dns-common.c264 ll->sll_family = AF_PACKET; /* Always AF_PACKET */
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c166 sa.sll_family = AF_PACKET;
/external/toybox/toys/pending/
H A Darping.c209 TT.sockfd = xsocket(AF_PACKET, SOCK_DGRAM, 0);
261 src_pk.sll_family = AF_PACKET;
/external/iproute2/lib/
H A Dutils.c437 if (family == AF_PACKET) {
443 addr->family = AF_PACKET;
580 if (family == AF_PACKET) {
725 case AF_PACKET:
742 family = AF_PACKET;
760 if (family == AF_PACKET)
/external/strace/tests/
H A Dnetlink_sock_diag.c719 *family = AF_PACKET;
725 ", flags=NLM_F_REQUEST, seq=0, pid=0}, {family=AF_PACKET}}"
739 *family = AF_PACKET;
747 ", {sdiag_family=AF_PACKET, ...}}"
762 .sdiag_family = AF_PACKET,
774 ", {sdiag_family=AF_PACKET, sdiag_protocol=ETH_P_LOOP"
792 ", {sdiag_family=AF_PACKET, %p}}"
817 *family = AF_PACKET;
823 ", flags=NLM_F_DUMP, seq=0, pid=0}, {family=AF_PACKET}}"
837 *family = AF_PACKET;
[all...]
/external/strace/tests-m32/
H A Dnetlink_sock_diag.c719 *family = AF_PACKET;
725 ", flags=NLM_F_REQUEST, seq=0, pid=0}, {family=AF_PACKET}}"
739 *family = AF_PACKET;
747 ", {sdiag_family=AF_PACKET, ...}}"
762 .sdiag_family = AF_PACKET,
774 ", {sdiag_family=AF_PACKET, sdiag_protocol=ETH_P_LOOP"
792 ", {sdiag_family=AF_PACKET, %p}}"
817 *family = AF_PACKET;
823 ", flags=NLM_F_DUMP, seq=0, pid=0}, {family=AF_PACKET}}"
837 *family = AF_PACKET;
[all...]
/external/strace/tests-mx32/
H A Dnetlink_sock_diag.c719 *family = AF_PACKET;
725 ", flags=NLM_F_REQUEST, seq=0, pid=0}, {family=AF_PACKET}}"
739 *family = AF_PACKET;
747 ", {sdiag_family=AF_PACKET, ...}}"
762 .sdiag_family = AF_PACKET,
774 ", {sdiag_family=AF_PACKET, sdiag_protocol=ETH_P_LOOP"
792 ", {sdiag_family=AF_PACKET, %p}}"
817 *family = AF_PACKET;
823 ", flags=NLM_F_DUMP, seq=0, pid=0}, {family=AF_PACKET}}"
837 *family = AF_PACKET;
[all...]
/external/iputils/ninfod/
H A Dni_ifaddrs.c442 if (nlm_family == AF_PACKET)
486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) {
/external/strace/
H A Dsockaddr.c277 [AF_PACKET] = { print_sockaddr_data_ll, sizeof(struct sockaddr_ll) },
/external/iproute2/misc/
H A Dss.c197 .families = (1 << AF_PACKET),
201 .families = (1 << AF_PACKET),
222 [AF_PACKET] = {
1098 if (s->local.family == AF_PACKET)
1434 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) {
1435 a.addr.family = AF_PACKET;
1456 fam = AF_PACKET;
2904 s->local.family = AF_PACKET;
2905 s->remote.family = AF_PACKET;
3085 req.r.sdiag_family = AF_PACKET;
[all...]
/external/iputils/
H A Drarpd.c637 sll.sll_family = AF_PACKET;
649 sll.sll_family = AF_PACKET;
/external/python/cpython2/Lib/plat-atheos/
H A DIN.py430 AF_PACKET = PF_PACKET variable
746 AF_PACKET = PF_PACKET variable
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wired.c198 addr.sll_family = AF_PACKET;

Completed in 891 milliseconds

123