Home
last modified time | relevance | path

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

/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()
177 memcpy(dst_pk.sll_addr, p, src_pk.sll_halen); in recv_from()
268 if (!src_pk.sll_halen) { in arping_main()
280 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()
Ddhcp.c737 dest_sll.sll_halen = 6; in send_raw()
/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/strace/
Dsockaddr.c186 tprintf(", sll_halen=%u", sa_ll->sll_halen); in print_sockaddr_data_ll()
187 if (sa_ll->sll_halen) { in print_sockaddr_data_ll()
193 for (i = 0; i < sa_ll->sll_halen; ++i) { in print_sockaddr_data_ll()
/external/strace/tests-m32/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
344 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
351 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
359 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
366 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/external/strace/tests/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
344 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
351 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
359 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
366 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
344 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
351 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll()
359 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
366 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll()
/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.h86 u_int16_t sll_halen; /* link-layer address length */ member
/external/dhcpcd-6.8.2/
Difaddrs.c89 hwaddr->sll_halen = ETH_ALEN; in get_interface()
Dif.c492 ifp->hwlen = sll->sll_halen; in if_discover()
Dif-linux.c1212 su.sll.sll_halen = (unsigned char)ifp->hwlen; in if_sendrawpacket()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h18 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.c395 .sll_halen = ETH_ALEN, in walk_tx()
753 ring->ll.sll_halen = 0; in bind_ring()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c112 ll.sll_halen = ETH_ALEN; in l2_packet_send()
/external/libpcap/
Dpcap-linux.c1851 hdrp->sll_halen = htons(from.sll_halen);
1853 (from.sll_halen > SLL_ADDRLEN) ?
1855 from.sll_halen);
4698 hdrp->sll_halen = htons(sll->sll_halen);
/external/iproute2/misc/
Darpd.c513 a->ar_hln != sll.sll_halen || in get_arp_pkt()
/external/iproute2/ip/
Diplink.c1011 return me.sll_halen; in get_address()
/external/python/cpython2/Modules/
Dsocketmodule.c1205 a->sll_halen); in makesockaddr()
1560 addr->sll_halen = halen; in getsockaddrarg()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c4744 ll.sll_halen = ETH_ALEN; in nl80211_send_eapol_data()