/external/libpcap/ |
D | fad-getad.c | 63 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET) 123 #if (defined(linux) || defined(__Lynx__)) && defined(AF_PACKET) in get_sa_len() 124 case AF_PACKET: in get_sa_len()
|
/external/strace/xlat/ |
D | addrfams.h | 125 #if defined(AF_PACKET) || (defined(HAVE_DECL_AF_PACKET) && HAVE_DECL_AF_PACKET) 127 static_assert((AF_PACKET) == (17), "AF_PACKET != 17"); 130 # define AF_PACKET 17 344 [AF_PACKET] = XLAT(AF_PACKET),
|
D | addrfams.in | 19 AF_PACKET 17
|
/external/ltp/testcases/network/packet/ |
D | fanout01.c | 76 fd = SAFE_SOCKET(AF_PACKET, SOCK_RAW, PF_PACKET); in run() 86 addr.sll_family = AF_PACKET; in run()
|
/external/iproute2/ip/ |
D | ipmaddr.c | 96 struct ma_info m = { .addr.family = AF_PACKET }; in read_dev_mcast() 199 if (list->addr.family == AF_PACKET) { in print_maddr() 263 if (!filter.family || filter.family == AF_PACKET) in multiaddr_list()
|
D | ipaddress.c | 957 (!pfilter->family || pfilter->family == AF_PACKET) && in print_linkinfo_brief() 1009 if (pfilter->family == AF_PACKET) { in print_linkinfo_brief() 1023 if (pfilter->family == AF_PACKET) { in print_linkinfo_brief() 1079 (!filter.family || filter.family == AF_PACKET) && in print_linkinfo() 1186 if (!filter.family || filter.family == AF_PACKET || show_details) { in print_linkinfo() 1926 (filter.family == AF_UNSPEC || filter.family == AF_PACKET)) in ipaddr_filter() 2071 if (filter.family == AF_PACKET) { in ipaddr_list_flush_or_save() 2196 if (filter.family != AF_PACKET) { in ipaddr_list_flush_or_save() 2207 if (filter.family != AF_PACKET) in ipaddr_list_flush_or_save() 2218 if (filter.family != AF_PACKET) in ipaddr_list_flush_or_save() [all …]
|
D | rtmon.c | 107 family = AF_PACKET; in main()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv6_sender.c | 179 if ((sock_fd = socket(AF_PACKET, SOCK_DGRAM, 0)) < 0) in specify_hw_addr() 182 lladdr_p->sll_family = AF_PACKET; /* Always AF_PACKET */ in specify_hw_addr() 213 lladdr_p->sll_family = AF_PACKET; /* Always AF_PACKET */ in calc_hd_mcastaddr() 722 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in send_packets()
|
D | ns-icmpv4_sender.c | 318 if ((sock_fd = socket(AF_PACKET, SOCK_DGRAM, 0)) < 0) in complete_eth_addrs() 322 fake_p->saddr_ll.sll_family = AF_PACKET; /* Always AF_PACKET */ in complete_eth_addrs() 552 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in send_packets()
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 209 #if defined(AF_PACKET) in lws_interface_to_sa() 210 case AF_PACKET: in lws_interface_to_sa() 324 sll.sll_family = AF_PACKET; in lws_plat_rawudp_broadcast()
|
/external/iproute2/lib/ |
D | utils.c | 485 if (family == AF_PACKET) { in get_addr_1() 493 addr->family = AF_PACKET; in get_addr_1() 643 if (family == AF_PACKET) { in get_prefix() 833 case AF_PACKET: in rt_addr_n2a_r() 858 family = AF_PACKET; in read_family() 876 if (family == AF_PACKET) in family_name()
|
/external/strace/tests-mx32/ |
D | netlink_sock_diag.c | 331 .sdiag_family = AF_PACKET, in test_packet_diag_req() 338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_req() 352 .pdiag_family = AF_PACKET, in test_packet_diag_msg() 359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_msg()
|
D | nlattr_packet_diag_msg.c | 53 .pdiag_family = AF_PACKET, in init_packet_diag_msg()
|
/external/strace/tests-m32/ |
D | netlink_sock_diag.c | 331 .sdiag_family = AF_PACKET, in test_packet_diag_req() 338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_req() 352 .pdiag_family = AF_PACKET, in test_packet_diag_msg() 359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_msg()
|
D | nlattr_packet_diag_msg.c | 53 .pdiag_family = AF_PACKET, in init_packet_diag_msg()
|
/external/strace/tests/ |
D | netlink_sock_diag.c | 331 .sdiag_family = AF_PACKET, in test_packet_diag_req() 338 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_req() 352 .pdiag_family = AF_PACKET, in test_packet_diag_msg() 359 TEST_SOCK_DIAG(fd, nlh0, AF_PACKET, in test_packet_diag_msg()
|
D | nlattr_packet_diag_msg.c | 53 .pdiag_family = AF_PACKET, in init_packet_diag_msg()
|
/external/strace/ |
D | netlink_sock_diag.c | 61 [AF_PACKET] = { decode_packet_diag_req, decode_packet_diag_msg },
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 86 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
|
/external/scapy/scapy/arch/ |
D | linux.py | 401 self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) 415 self.outs = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) 496 self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) 561 self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type))
|
/external/android-clat/ |
D | ring.c | 35 int packetsock = socket(AF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in ring_create()
|
/external/toybox/toys/pending/ |
D | arping.c | 208 TT.sockfd = xsocket(AF_PACKET, SOCK_DGRAM, 0); in arping_main() 258 src_pk.sll_family = AF_PACKET; in arping_main()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 166 sa.sll_family = AF_PACKET; in openInterface()
|
/external/iproute2/misc/ |
D | ss.c | 209 .families = (1 << AF_PACKET), 213 .families = (1 << AF_PACKET), 238 [AF_PACKET] = { 820 case AF_PACKET: in sock_state_print() 1145 if (s->local.family == AF_PACKET) in run_ssfilter() 1545 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) { in parse_hostcond() 1546 a.addr.family = AF_PACKET; in parse_hostcond() 1568 fam = AF_PACKET; in parse_hostcond() 3277 s->local.family = s->remote.family = AF_PACKET; in packet_stats_print() 3448 req.r.sdiag_family = AF_PACKET; in packet_show_netlink() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | txring_overwrite.c | 96 laddr.sll_family = AF_PACKET; in setup_tx()
|