/external/iputils/ |
D | arping.c | 109 socklen_t len = OFFSET_OF(struct sockaddr_ll, sll_addr) + halen; in sll_len() 110 if (len < sizeof(struct sockaddr_ll)) in sll_len() 111 len = sizeof(struct sockaddr_ll); in sll_len() 271 struct sockaddr_ll *ME, struct sockaddr_ll *HE) in send_pack() 359 (struct sockaddr_ll *)&me, (struct sockaddr_ll *)&he); in catcher() 376 int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) in recv_pack() 406 if (ah->ar_hln != ((struct sockaddr_ll *)&me)->sll_halen) in recv_pack() 417 if (memcmp(p+ah->ar_hln+4, ((struct sockaddr_ll *)&me)->sll_addr, ah->ar_hln)) in recv_pack() 435 if (memcmp(p, ((struct sockaddr_ll *)&me)->sll_addr, ((struct sockaddr_ll *)&me)->sll_halen) == 0) in recv_pack() 451 if (memcmp(p+ah->ar_hln+4, ((struct sockaddr_ll *)&me)->sll_addr, ah->ar_hln)) { in recv_pack() [all …]
|
D | rarpd.c | 419 struct sockaddr_ll sll; in serve_it() 635 struct sockaddr_ll sll; in main() 647 struct sockaddr_ll sll; in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | if_packet.h | 13 struct sockaddr_ll { struct 142 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) 247 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll)) 248 #define TPACKET3_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket3_hdr)) + sizeof(struct sockaddr_ll))
|
/external/iproute2/include/uapi/linux/ |
D | if_packet.h | 13 struct sockaddr_ll { struct 142 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) 247 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll)) 248 #define TPACKET3_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket3_hdr)) + sizeof(struct sockaddr_ll))
|
/external/dhcpcd-6.8.2/ |
D | ifaddrs.c | 42 struct sockaddr_ll *hwaddr = NULL; in get_interface() 82 hwaddr = malloc(sizeof(struct sockaddr_ll)); in get_interface() 84 memset(hwaddr, 0, sizeof(struct sockaddr_ll)); in get_interface()
|
D | if.c | 292 const struct sockaddr_ll *sll; in if_discover() 489 sll = (const struct sockaddr_ll *)(void *)ifa->ifa_addr; in if_discover()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv6_sender.c | 61 struct sockaddr_ll saddr_ll; 62 struct sockaddr_ll daddr_ll; 174 void specify_hw_addr(struct sockaddr_ll *lladdr_p, const char *ifname) in specify_hw_addr() 211 void calc_hd_mcastaddr(struct sockaddr_ll *lladdr_p, struct in6_addr *addr_p) in calc_hd_mcastaddr() 432 struct sockaddr_ll opt_addr_ll; /* option value in struct sockaddr_ll */ in parse_options() 728 sizeof(struct sockaddr_ll)); in send_packets() 754 sizeof(struct sockaddr_ll)); in send_packets()
|
D | ns-icmpv4_sender.c | 61 struct sockaddr_ll saddr_ll; 62 struct sockaddr_ll daddr_ll; 171 struct sockaddr_ll opt_addr_ll; /* option value in struct sockaddr_ll */ in parse_options() 558 sizeof(struct sockaddr_ll)); in send_packets() 584 sizeof(struct sockaddr_ll)); in send_packets()
|
D | ns-icmp_redirector.c | 226 struct sockaddr_ll lla; /* Link-local address info for receiving */ in open_socket() 240 memset(&lla, '\0', sizeof(struct sockaddr_ll)); in open_socket() 244 if (bind(sd, (struct sockaddr *)&lla, sizeof(struct sockaddr_ll)) < 0) in open_socket()
|
D | ns-traffic.h | 231 int eth_pton(int af, const char *str, struct sockaddr_ll *ll);
|
D | ns-common.c | 258 int eth_pton(int af, const char *str, struct sockaddr_ll *ll) in eth_pton()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 110 struct sockaddr_ll ll; in l2_packet_send() 133 struct sockaddr_ll ll; in l2_packet_receive() 201 struct sockaddr_ll ll; in l2_packet_receive_br() 256 struct sockaddr_ll ll; in l2_packet_init() 338 struct sockaddr_ll ll; in l2_packet_init_bridge()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_tpacket.c | 85 struct sockaddr_ll ll; 103 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket_hdr)); 107 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket2_hdr)); 393 struct sockaddr_ll ll = { in walk_tx() 447 sizeof(struct sockaddr_ll), packet, in walk_tx() 457 sizeof(struct sockaddr_ll), packet, in walk_tx() 469 sizeof(struct sockaddr_ll), packet, in walk_tx()
|
/external/strace/tests-m32/ |
D | net-sockaddr.c | 319 struct sockaddr_ll c_ll = { in check_ll() 344 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll() 359 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll() 367 ((struct sockaddr_ll *) ll)->sll_ifindex = ifindex_lo(); in check_ll() 368 if (((struct sockaddr_ll *) ll)->sll_ifindex) { in check_ll()
|
/external/strace/tests/ |
D | net-sockaddr.c | 319 struct sockaddr_ll c_ll = { in check_ll() 344 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll() 359 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll() 367 ((struct sockaddr_ll *) ll)->sll_ifindex = ifindex_lo(); in check_ll() 368 if (((struct sockaddr_ll *) ll)->sll_ifindex) { in check_ll()
|
/external/strace/tests-mx32/ |
D | net-sockaddr.c | 319 struct sockaddr_ll c_ll = { in check_ll() 344 ((struct sockaddr_ll *) ll)->sll_halen++; in check_ll() 359 ((struct sockaddr_ll *) ll)->sll_halen = 0; in check_ll() 367 ((struct sockaddr_ll *) ll)->sll_ifindex = ifindex_lo(); in check_ll() 368 if (((struct sockaddr_ll *) ll)->sll_ifindex) { in check_ll()
|
/external/strace/ |
D | sockaddr.c | 223 const struct sockaddr_ll *const sa_ll = buf; in print_sockaddr_data_ll() 235 addrlen - offsetof(struct sockaddr_ll, sll_addr); in print_sockaddr_data_ll() 323 [AF_PACKET] = { print_sockaddr_data_ll, sizeof(struct sockaddr_ll) },
|
/external/toybox/toys/pending/ |
D | arping.c | 47 struct sockaddr_ll src_pk, dst_pk; 131 static void recv_from(struct sockaddr_ll *from, int *recv_len) in recv_from() 204 struct sockaddr_ll from; in arping_main()
|
/external/python/cpython2/Modules/ |
D | socketmodule.h | 116 struct sockaddr_ll ll;
|
/external/python/cpython3/Modules/ |
D | socketmodule.h | 154 struct sockaddr_ll ll;
|
/external/libpcap/ |
D | fad-getad.c | 126 return (sizeof (struct sockaddr_ll)); in get_sa_len()
|
/external/iproute2/misc/ |
D | arpd.c | 190 struct sockaddr_ll sll = { in send_probe() 481 struct sockaddr_ll sll; in get_arp_pkt() 766 struct sockaddr_ll sll = { in main()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 104 struct sockaddr_ll sa; in openInterface()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 172 struct sockaddr_ll addr; in wired_init_sockets()
|
D | driver_nl80211_monitor.c | 344 struct sockaddr_ll ll; in nl80211_create_monitor_interface()
|