Home
last modified time | relevance | path

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

12

/external/toybox/toys/pending/
Darp.c56 {"ether", ARPHRD_ETHER },
165 if ((toys.optflags & FLAG_H) && (ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER)) in set_entry()
226 req.arp_ha.sa_family = ARPHRD_ETHER; in arp_main()
228 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main()
Darping.c104 arp_h->ar_hrd = htons(ARPHRD_ETHER); in send_packet()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c143 #ifdef ARPHRD_ETHER in openInterface()
144 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in openInterface()
Dpppoe-discovery.c143 #ifdef ARPHRD_ETHER in openInterface()
144 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in openInterface()
Dplugin.c336 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in PPPoEDevnameHook()
/external/strace/xlat/
Darp_hardware_types.h13 #if defined(ARPHRD_ETHER) || (defined(HAVE_DECL_ARPHRD_ETHER) && HAVE_DECL_ARPHRD_ETHER)
15 static_assert((ARPHRD_ETHER) == (1), "ARPHRD_ETHER != 1");
18 # define ARPHRD_ETHER 1
476 XLAT(ARPHRD_ETHER),
Darp_hardware_types.in3 ARPHRD_ETHER 1
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c93 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in linux_get_ifhwaddr()
111 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER; in linux_set_ifhwaddr()
Ddriver_wired.c225 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in wired_init_sockets()
Ddriver_wext.c105 iwr.u.ap_addr.sa_family = ARPHRD_ETHER; in wpa_driver_wext_set_bssid()
1109 req.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_wext_scan()
1751 ext->addr.sa_family = ARPHRD_ETHER; in wpa_driver_wext_set_key_ext()
1924 mlme.addr.sa_family = ARPHRD_ETHER; in wpa_driver_wext_mlme()
2322 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_wext_pmksa()
/external/kernel-headers/original/uapi/linux/
Dif_arp.h31 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ macro
/external/iproute2/include/uapi/linux/
Dif_arp.h31 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ macro
/external/libnl/include/linux-private/linux/
Dif_arp.h31 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ macro
/external/toybox/toys/net/
Difconfig.c109 {ARPHRD_LOOPBACK, "Local Loopback"}, {ARPHRD_ETHER, "Ethernet"}, in display_ifconfig()
146 if(ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { in display_ifconfig()
432 if (!strcmp("ether", *++argv)) sock->sa_family = ARPHRD_ETHER; in ifconfig_main()
/external/crosvm/net_sys/src/
Dlib.rs37 pub const ARPHRD_ETHER: sa_family_t = 1; constant
/external/iputils/
Drarpd.c297 if (hatype == ARPHRD_ETHER && halen == 6) { in rarp_lookup()
304 ARPHRD_ETHER, in rarp_lookup()
482 if (a->ar_hrd == htons(ARPHRD_ETHER) || in serve_it()
/external/iproute2/testsuite/tools/
Dgenerate_nlmsg.c39 ifi->ifi_type = ARPHRD_ETHER; in fill_vf_rate_test()
/external/tcpdump/
Dprint-arp.c52 #define ARPHRD_ETHER 1 /* ethernet hardware format */ macro
112 { ARPHRD_ETHER, "Ethernet" },
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c184 lladdr_p->sll_hatype = ARPHRD_ETHER; /* Header type */ in specify_hw_addr()
216 lladdr_p->sll_hatype = ARPHRD_ETHER; /* Header type */ in calc_hd_mcastaddr()
Dns-common.c270 ll->sll_hatype = ARPHRD_ETHER; /* Header type */ in eth_pton()
Dns-icmpv4_sender.c324 fake_p->saddr_ll.sll_hatype = ARPHRD_ETHER; /* Header type */ in complete_eth_addrs()
/external/dnsmasq/src/
Dlease.c74 if (hw_type == 0 && hw_len != 0) hw_type = ARPHRD_ETHER; in lease_init()
178 if (lease->hwaddr_type != ARPHRD_ETHER || lease->hwaddr_len == 0) in lease_update_file()
/external/strace/
Dsock.c89 [ARPHRD_ETHER] = 6 /* ETH_ALEN */, in print_ifreq()
/external/iproute2/misc/
Darpd.c200 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) in send_probe()
745 ll_addr_n2a(dbdat.data, 6, ARPHRD_ETHER, b1, 18)); in main()
/external/libnl/lib/route/
Dtc.c479 return ARPHRD_ETHER; /* default to ethernet */ in rtnl_tc_get_linktype()
733 case ARPHRD_ETHER: in adjust_size()

12