Home
last modified time | relevance | path

Searched refs:hw_addr (Results 1 – 14 of 14) sorted by relevance

/third_party/toybox/toys/pending/
Darp.c140 char *p = ptr, *hw_addr = req.arp_ha.sa_data; in set_entry() local
142 while (*hw_addr && (p-ptr) < 6) { in set_entry()
145 if (*hw_addr == ':') hw_addr++; in set_entry()
146 if (!sscanf(hw_addr, "%2x%n", &val, &len)) break; in set_entry()
147 hw_addr += len; in set_entry()
151 if ((p-ptr) != 6 || *hw_addr) in set_entry()
204 char ip[16], hw_addr[30], mask[16], dev[16], *host_ip = NULL; in arp_main() local
245 ip, &h_type, &flag, hw_addr, mask, dev) == 6) { in arp_main()
269 } else printf(" %s [%s]", hw_addr, hwtype[i].name); in arp_main()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c438 char *hw_addr, *ptr, *p; in ifconfig_main() local
453 hw_addr = *++argv; in ifconfig_main()
456 while (*hw_addr && (p-ptr) < count) { in ifconfig_main()
459 if (*hw_addr == ':') hw_addr++; in ifconfig_main()
460 sscanf(hw_addr, "%2x%n", &val, &len); in ifconfig_main()
462 hw_addr += len; in ifconfig_main()
466 if ((p-ptr) != count || *hw_addr) in ifconfig_main()
/third_party/toybox/toys/net/
Difconfig.c425 char *hw_addr, *ptr, *p; in ifconfig_main() local
440 hw_addr = *++argv; in ifconfig_main()
443 while (*hw_addr && (p-ptr) < count) { in ifconfig_main()
446 if (*hw_addr == ':') hw_addr++; in ifconfig_main()
447 sscanf(hw_addr, "%2x%n", &val, &len); in ifconfig_main()
449 hw_addr += len; in ifconfig_main()
453 if ((p-ptr) != count || *hw_addr) in ifconfig_main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddhcp.h36 u8 hw_addr[16]; member
55 u8 hw_addr[16]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddhcp.h36 u8 hw_addr[16]; member
55 u8 hw_addr[16]; member
/third_party/iptables/include/linux/netfilter_ipv4/
Dip_queue.h32 unsigned char hw_addr[8]; /* Hardware address */ member
/third_party/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_log.h28 __u8 hw_addr[8]; member
Dnfnetlink_queue.h26 __u8 hw_addr[8]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dfils_hlp.c230 msgtype, rapid_commit, MAC2STR(dhcp->hw_addr)); in fils_dhcp_handler()
232 sta = ap_get_sta(hapd, dhcp->hw_addr); in fils_dhcp_handler()
236 MACSTR, MAC2STR(dhcp->hw_addr)); in fils_dhcp_handler()
Ddhcp_snoop.c107 sta = ap_get_sta(hapd, b->hw_addr); in handle_dhcp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dfils_hlp.c230 msgtype, rapid_commit, MAC2STR(dhcp->hw_addr)); in fils_dhcp_handler()
232 sta = ap_get_sta(hapd, dhcp->hw_addr); in fils_dhcp_handler()
236 MACSTR, MAC2STR(dhcp->hw_addr)); in fils_dhcp_handler()
Ddhcp_snoop.c105 sta = ap_get_sta(hapd, b->hw_addr); in handle_dhcp()
/third_party/libnl/lib/netfilter/
Dlog_msg.c118 nfnl_log_msg_set_hwaddr(msg, hw->hw_addr, ntohs(hw->hw_addrlen)); in nfnlmsg_log_msg_parse()
Dqueue_msg.c118 nfnl_queue_msg_set_hwaddr(msg, hw->hw_addr, in nfnlmsg_queue_msg_parse()