Home
last modified time | relevance | path

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

12

/external/toybox/toys/pending/
Darping.c106 arp_h->ar_hln = src_pk.sll_halen; in send_packet()
111 ptr = mempcpy(ptr, &src_pk.sll_addr, src_pk.sll_halen); in send_packet()
115 src_pk.sll_halen); in send_packet()
144 || (arp_hdr->ar_hln != src_pk.sll_halen) in recv_from()
154 if (!memcmp(p, &src_pk.sll_addr, src_pk.sll_halen)) return; in recv_from()
176 memcpy(dst_pk.sll_addr, p, src_pk.sll_halen); in recv_from()
264 if (!src_pk.sll_halen) { in arping_main()
276 memset(dst_pk.sll_addr, -1, dst_pk.sll_halen); in arping_main()
Ddhcpd.c873 dest_sll.sll_halen = ETH_ALEN; in send_packet6()
923 dest_sll.sll_halen = 6; in send_packet()
/external/iputils/
Darping.c283 ah->ar_hln = ME->sll_halen; in send_pack()
288 p+=ME->sll_halen; in send_pack()
406 if (ah->ar_hln != ((struct sockaddr_ll *)&me)->sll_halen) in recv_pack()
435 if (memcmp(p, ((struct sockaddr_ll *)&me)->sll_addr, ((struct sockaddr_ll *)&me)->sll_halen) == 0) in recv_pack()
477 memcpy(((struct sockaddr_ll *)&he)->sll_addr, p, ((struct sockaddr_ll *)&me)->sll_halen); in recv_pack()
618 if (!((struct sockaddr_ll *)ifa->ifa_addr)->sll_halen) in find_device_by_ifaddrs()
947 if (sll->sll_halen != balen) { in set_device_broadcast_ifaddrs_one()
955 memcpy(ba, sll->sll_addr, sll->sll_halen); in set_device_broadcast_ifaddrs_one()
1183 if (((struct sockaddr_ll *)&me)->sll_halen == 0) { in main()
1192 ((struct sockaddr_ll *)&he)->sll_halen); in main()
Drarpd.c455 for (i=0; i<sll.sll_halen; i++) { in serve_it()
491 if (a->ar_hln != sll.sll_halen) { in serve_it()
503 if (memcmp(sll.sll_addr, a+1, sll.sll_halen)) { in serve_it()
511 sll.sll_halen, (unsigned char*)(a+1) + sll.sll_halen + 4); in serve_it()
/external/tcpdump/
Dprint-sll.c84 uint16_t sll_halen; /* link-layer address length */ member
146 if (EXTRACT_16BITS(&sllp->sll_halen) == 6) in sll_print()
/external/libpcap/pcap/
Dsll.h88 uint16_t sll_halen; /* link-layer address length */ member
/external/strace/tests-m32/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
514 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
521 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
529 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
536 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
514 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
521 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
529 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
536 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/external/strace/tests/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
514 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
521 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
529 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
536 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/external/strace/
Dsockaddr.c409 tprintf(", sll_halen=%u", sa_ll->sll_halen); in print_sockaddr_data_ll()
410 if (sa_ll->sll_halen) { in print_sockaddr_data_ll()
416 for (i = 0; i < sa_ll->sll_halen; ++i) { in print_sockaddr_data_ll()
/external/iproute2/include/uapi/linux/
Dif_packet.h19 unsigned char sll_halen; member
/external/kernel-headers/original/uapi/linux/
Dif_packet.h20 unsigned char sll_halen; member
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c186 lladdr_p->sll_halen = ETH_ALEN; /* Length of address */ in specify_hw_addr()
218 lladdr_p->sll_halen = ETH_ALEN; /* Length of address */ in calc_hd_mcastaddr()
Dns-common.c272 ll->sll_halen = ETH_ALEN; /* Length of address */ in eth_pton()
Dns-icmpv4_sender.c326 fake_p->saddr_ll.sll_halen = ETH_ALEN; /* Length of address */ in complete_eth_addrs()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c383 .sll_halen = ETH_ALEN, in walk_tx()
741 ring->ll.sll_halen = 0; in bind_ring()
Dmsg_zerocopy.c515 laddr.sll_halen = ETH_ALEN; in do_tx()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c326 sll.sll_halen = 6; in lws_plat_rawudp_broadcast()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c135 ll.sll_halen = ETH_ALEN; in l2_packet_send()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c493 laddr.sll_halen = ETH_ALEN; in do_test()
/external/iproute2/misc/
Darpd.c506 a->ar_hln != sll.sll_halen || in get_arp_pkt()
/external/libpcap/
Dpcap-linux.c3837 hdrp->sll2_halen = sll->sll_halen; in pcap_handle_packet_mmap()
3874 hdrp->sll_halen = htons(sll->sll_halen); in pcap_handle_packet_mmap()
/external/iproute2/ip/
Diplink.c1199 return me.sll_halen; in get_address()
/external/rust/crates/nix/src/sys/socket/
Daddr.rs1087 self.0.sll_halen as usize in halen()
/external/rust/crates/libc/src/unix/linux_like/
Dmod.rs80 pub sll_halen: ::c_uchar,

12