Home
last modified time | relevance | path

Searched refs:sll_pkttype (Results 1 – 17 of 17) sorted by relevance

/external/toybox/toys/pending/
Darping.c140 if (from->sll_pkttype != PACKET_HOST && from->sll_pkttype != PACKET_BROADCAST in recv_from()
141 && from->sll_pkttype != PACKET_MULTICAST) return; in recv_from()
159 from->sll_pkttype == PACKET_HOST ? "Uni" : "Broad", in recv_from()
173 if (from->sll_pkttype != PACKET_HOST) TT.brd_rcv++; in recv_from()
/external/tcpdump/
Dprint-sll.c82 uint16_t sll_pkttype; /* packet type */ member
139 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype)))); in sll_print()
/external/libpcap/pcap/
Dsll.h84 u_int16_t sll_pkttype; /* packet type */ member
/external/iputils/
Darping.c386 if (FROM->sll_pkttype != PACKET_HOST && in recv_pack()
387 FROM->sll_pkttype != PACKET_BROADCAST && in recv_pack()
388 FROM->sll_pkttype != PACKET_MULTICAST) in recv_pack()
442 printf("%s ", FROM->sll_pkttype==PACKET_HOST ? "Unicast" : "Broadcast"); in recv_pack()
470 if (FROM->sll_pkttype != PACKET_HOST) in recv_pack()
Drarpd.c434 if (sll.sll_pkttype != PACKET_BROADCAST && in serve_it()
435 sll.sll_pkttype != PACKET_MULTICAST && in serve_it()
436 sll.sll_pkttype != PACKET_HOST) in serve_it()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h17 unsigned char sll_pkttype; member
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c185 lladdr_p->sll_pkttype = PACKET_HOST; /* Packet type */ in specify_hw_addr()
217 lladdr_p->sll_pkttype = PACKET_MULTICAST; /* Packet type */ in calc_hd_mcastaddr()
Dns-common.c271 ll->sll_pkttype = PACKET_OTHERHOST; /* Packet type */ in eth_pton()
Dns-icmpv4_sender.c325 fake_p->saddr_ll.sll_pkttype = PACKET_HOST; /* Packet type */ in complete_eth_addrs()
/external/strace/
Dsockaddr.c185 printxval(af_packet_types, sa_ll->sll_pkttype, "PACKET_???"); in print_sockaddr_data_ll()
/external/libpcap/
Dpcap-linux.c1635 if (sll->sll_pkttype == PACKET_OUTGOING) {
1849 hdrp->sll_pkttype = map_packet_type_to_sll_type(from.sll_pkttype);
2790 map_packet_type_to_sll_type(short int sll_pkttype) argument
2792 switch (sll_pkttype) {
4695 hdrp->sll_pkttype = map_packet_type_to_sll_type(
4696 sll->sll_pkttype);
/external/android-clat/
Dclatd.c79 .sll_pkttype = PACKET_OTHERHOST, // The 464xlat IPv6 address is not assigned to the kernel. in configure_packet_socket()
/external/strace/tests-m32/
Dnet-sockaddr.c331 .sll_pkttype = PACKET_HOST, in check_ll()
/external/strace/tests/
Dnet-sockaddr.c331 .sll_pkttype = PACKET_HOST, in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c331 .sll_pkttype = PACKET_HOST, in check_ll()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c752 ring->ll.sll_pkttype = 0; in bind_ring()
/external/python/cpython2/Modules/
Dsocketmodule.c1202 a->sll_pkttype, in makesockaddr()
1555 addr->sll_pkttype = pkttype; in getsockaddrarg()