Home
last modified time | relevance | path

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

12

/external/iputils/
Drarpd.c439 if (ifidx && sll.sll_ifindex != ifidx) in serve_it()
463 syslog(LOG_INFO, "RARP request from %s on if%d", tmpbuf, sll.sll_ifindex); in serve_it()
510 rmap = rarp_lookup(sll.sll_ifindex, sll.sll_hatype, in serve_it()
522 if (put_mylladdr(&ptr, sll.sll_ifindex, rmap->lladdr_len)) in serve_it()
524 if (put_myipaddr(&ptr, sll.sll_ifindex, rmap->ipaddr)) in serve_it()
534 arp_advise(sll.sll_ifindex, rmap->lladdr, rmap->lladdr_len, rmap->ipaddr); in serve_it()
639 sll.sll_ifindex = all_ifaces ? 0 : ifidx; in main()
651 sll.sll_ifindex = all_ifaces ? 0 : ifidx; in main()
/external/strace/tests/
Dnet-sockaddr.c328 .sll_ifindex = 0xfacefeed, in check_ll()
343 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
358 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
371 " = %d EBADF (%m)\n", c_ll.sll_ifindex, len, ret); in check_ll()
376 ((struct sockaddr_ll *) ll)->sll_ifindex = id; in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c328 .sll_ifindex = 0xfacefeed, in check_ll()
343 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
358 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
371 " = %d EBADF (%m)\n", c_ll.sll_ifindex, len, ret); in check_ll()
376 ((struct sockaddr_ll *) ll)->sll_ifindex = id; in check_ll()
/external/strace/tests-m32/
Dnet-sockaddr.c328 .sll_ifindex = 0xfacefeed, in check_ll()
343 c_ll.sll_ifindex, c_ll.sll_halen, in check_ll()
358 c_ll.sll_ifindex, c_ll.sll_halen + 1, in check_ll()
371 " = %d EBADF (%m)\n", c_ll.sll_ifindex, len, ret); in check_ll()
376 ((struct sockaddr_ll *) ll)->sll_ifindex = id; in check_ll()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c110 ll.sll_ifindex = l2->ifindex; in l2_packet_send()
287 ll.sll_ifindex = ifr.ifr_ifindex; in l2_packet_init()
368 ll.sll_ifindex = if_nametoindex(ifname); in l2_packet_init_bridge()
/external/iproute2/misc/
Darpd.c226 sll.sll_ifindex = ifindex; in send_probe()
503 if (ifnum && !handle_if(sll.sll_ifindex)) in get_arp_pkt()
517 key.iface = sll.sll_ifindex; in get_arp_pkt()
775 sll.sll_ifindex = (ifnum == 1 ? ifvec[0] : 0); in main()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c193 lladdr_p->sll_ifindex = if_nametoindex(ifname); in specify_hw_addr()
215 lladdr_p->sll_ifindex = 0; /* Unspecified here */ in calc_hd_mcastaddr()
620 info_p->daddr_ll.sll_ifindex = if_nametoindex(ifname); in parse_options()
Dns-icmpv4_sender.c334 fake_p->saddr_ll.sll_ifindex = ifinfo.ifr_ifindex; in complete_eth_addrs()
335 fake_p->daddr_ll.sll_ifindex = ifinfo.ifr_ifindex; in complete_eth_addrs()
Dns-common.c269 ll->sll_ifindex = 0; /* any interface */ in eth_pton()
Dns-icmp_redirector.c243 lla.sll_ifindex = ifinfo.ifr_ifindex; in open_socket()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c199 addr.sll_ifindex = ifr.ifr_ifindex; in wired_init_sockets()
201 addr.sll_ifindex); in wired_init_sockets()
Ddriver_nl80211_monitor.c394 ll.sll_ifindex = drv->monitor_ifidx; in nl80211_create_monitor_interface()
Ddriver_hostap.c247 addr.sll_ifindex = ifr.ifr_ifindex; in hostap_init_sockets()
249 addr.sll_ifindex); in hostap_init_sockets()
/external/dhcpcd-6.8.2/
Difaddrs.c87 ifc_get_ifindex(ifa->ifa_name, &hwaddr->sll_ifindex); in get_interface()
Dif.c490 ifp->index = (unsigned int)sll->sll_ifindex; in if_discover()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c175 sa.sll_ifindex = ifr.ifr_ifindex; in openInterface()
Dpppoe-discovery.c179 sa.sll_ifindex = ifr.ifr_ifindex; in openInterface()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h15 int sll_ifindex; member
/external/strace/
Dsockaddr.c156 print_ifindex(sa_ll->sll_ifindex); in print_sockaddr_data_ll()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c377 ll.sll_ifindex = if_nametoindex("lo"); in walk_v1_v2_tx()
692 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
/external/toybox/toys/pending/
Darping.c214 src_pk.sll_ifindex = if_index; in arping_main()
Ddhcp6.c251 sockll.sll_ifindex = if_nametoindex(TT.interface_name); in mode_raw()
Ddhcp.c595 sock.sll_ifindex = state->ifindex; in mode_raw()
736 dest_sll.sll_ifindex = state->ifindex; in send_raw()
/external/android-clat/
Dclatd.c78 .sll_ifindex = if_nametoindex(Global_Clatd_Config.default_pdp_interface), in configure_packet_socket()
/external/wpa_supplicant_8/src/ap/
Diapp.c489 addr.sll_ifindex = ifindex; in iapp_init()

12