/external/tcpdump/tests/ |
D | dhcpv6-ia-pd.out | 1 …5.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=e1e093 (client-ID hwaddr type 1 00010203040… 2 …a00:1:1:100::/56 pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 3 …47: [udp sum ok] dhcp6 request (xid=12b08a (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 4 …a00:1:1:100::/56 pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd…
|
D | dhcpv6-ia-ta.out | 1 …5.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=28b040 (client-ID hwaddr type 1 00010203040… 2 …2:f920:84c4:88cc pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 3 …47: [udp sum ok] dhcp6 request (xid=2b0e45 (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 4 …2:f920:84c4:88cc pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd…
|
D | dhcpv6-AFTR-Name-RFC6334.out | 1 …5.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=d81eb8 (client-ID hwaddr type 1 00010203040… 2 … 2a00:1:1:100::/56 pltime:250 vltime:300)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 3 …47: [udp sum ok] dhcp6 request (xid=1e291d (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 4 … 2a00:1:1:100::/56 pltime:250 vltime:300)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd…
|
D | dhcpv6-ia-na.out | 1 …5.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=90b45c (client-ID hwaddr type 1 00010203040… 2 …6:b22e:c440:acdf pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 3 …47: [udp sum ok] dhcp6 request (xid=2ffdd1 (client-ID hwaddr type 1 000102030405) (server-ID hwadd… 4 …6:b22e:c440:acdf pltime:4500 vltime:7200)) (client-ID hwaddr type 1 000102030405) (server-ID hwadd…
|
D | dhcpv6-mud.out | 1 …ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 5… 2 …ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 5… 3 …ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 5… 4 …ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 5… 5 …ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 5…
|
D | dhcpv6-domain-list.out | 1 … sum ok] dhcp6 reply (xid=aa56ce (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
|
D | dhcpv6-ntp-server.out | 1 … sum ok] dhcp6 reply (xid=f69b57 (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
|
D | dhcpv6-sip-server-d.out | 1 … sum ok] dhcp6 reply (xid=6890d8 (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | get_ifname | 80 hwaddr=`echo $hwaddrs | cut -d ' ' -f $field` 81 if [ x${hwaddr} = x ]; then 93 ifname=`grep -1 -i $hwaddr $ip_link_show_out | head -n 1 | awk '{ print $2 }' | sed "s/://"` 2>/dev… 98 echo "Interface which has $hwaddr is not found." >&2
|
/external/dnsmasq/src/ |
D | lease.c | 146 lease->hwaddr, lease->hwaddr_len, lease->hwaddr_type, NULL)) && in lease_update_from_configs() 181 ourprintf(&err, "%.2x", lease->hwaddr[i]); in lease_update_file() 257 struct dhcp_lease* lease_find_by_client(unsigned char* hwaddr, int hw_len, int hw_type, in lease_find_by_client() argument 269 lease->hwaddr_type == hw_type && memcmp(hwaddr, lease->hwaddr, hw_len) == 0) in lease_find_by_client() 329 void lease_set_hwaddr(struct dhcp_lease* lease, unsigned char* hwaddr, unsigned char* clid, in lease_set_hwaddr() argument 332 (hw_len != 0 && memcmp(lease->hwaddr, hwaddr, hw_len) != 0)) { in lease_set_hwaddr() 333 memcpy(lease->hwaddr, hwaddr, hw_len); in lease_set_hwaddr()
|
D | dhcp.c | 405 int address_allocate(struct dhcp_context* context, struct in_addr* addrp, unsigned char* hwaddr, in address_allocate() argument 417 for (j = 0, i = 0; i < hw_len; i++) j += hwaddr[i] + (hwaddr[i] << 8) + (hwaddr[i] << 16); in address_allocate() 507 int config_has_mac(struct dhcp_config* config, unsigned char* hwaddr, int len, int type) { in config_has_mac() argument 510 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in config_has_mac() 513 memcmp(conf_addr->hwaddr, hwaddr, len) == 0) in config_has_mac() 520 unsigned char* clid, int clid_len, unsigned char* hwaddr, in find_config() argument 542 if (config_has_mac(config, hwaddr, hw_len, hw_type) && is_addr_in_context(context, config)) in find_config() 554 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in find_config() 557 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, in find_config()
|
D | dnsmasq.h | 415 unsigned char hwaddr[DHCP_CHADDR_MAX]; member 435 unsigned char hwaddr[DHCP_CHADDR_MAX]; member 449 struct hwaddr_config* hwaddr; member 520 unsigned char hwaddr[DHCP_CHADDR_MAX]; member 755 int address_allocate(struct dhcp_context* context, struct in_addr* addrp, unsigned char* hwaddr, 757 int config_has_mac(struct dhcp_config* config, unsigned char* hwaddr, int len, int type); 759 unsigned char* clid, int clid_len, unsigned char* hwaddr, 775 void lease_set_hwaddr(struct dhcp_lease* lease, unsigned char* hwaddr, unsigned char* clid, 780 struct dhcp_lease* lease_find_by_client(unsigned char* hwaddr, int hw_len, int hw_type, 793 unsigned char* extended_hwaddr(int hwtype, int hwlen, unsigned char* hwaddr, int clid_len,
|
D | helper.c | 45 unsigned char hwaddr[DHCP_CHADDR_MAX]; member 123 p += sprintf(p, "%.2x", data.hwaddr[i]); in create_helper() 297 memcpy(buf->hwaddr, lease->hwaddr, lease->hwaddr_len); in queue_script()
|
D | rfc2131.c | 262 memcmp_masked(mac->hwaddr, mess->chaddr, mess->hlen, mac->mask)) { in dhcp_reply() 395 memcmp(lease->hwaddr, mess->chaddr, lease->hwaddr_len) != 0)) in dhcp_reply() 520 if (new && !have_config(new, CONFIG_CLID) && !new->hwaddr) { in dhcp_reply() 799 … !config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) { in dhcp_reply() 802 extended_hwaddr(ltmp->hwaddr_type, ltmp->hwaddr_len, ltmp->hwaddr, in dhcp_reply() 973 config_has_mac(config, ltmp->hwaddr, ltmp->hwaddr_len, ltmp->hwaddr_type)) { in dhcp_reply() 975 print_mac(daemon->namebuff, ltmp->hwaddr, ltmp->hwaddr_len), in dhcp_reply() 1163 unsigned char* extended_hwaddr(int hwtype, int hwlen, unsigned char* hwaddr, int clid_len, in extended_hwaddr() argument 1183 return hwaddr; in extended_hwaddr()
|
D | option.c | 1582 new->hwaddr = NULL; in one_opt() 1622 newhw->next = new->hwaddr; in one_opt() 1623 new->hwaddr = newhw; in one_opt() 1624 newhw->hwaddr_len = parse_hex(a[j], newhw->hwaddr, DHCP_CHADDR_MAX, in one_opt() 1862 parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt() 2385 for (mac = configs->hwaddr; mac; mac = tmp) { in reread_dhcp()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 96 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface() argument 135 if (hwaddr) { in openInterface() 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 148 if (NOT_UNICAST(hwaddr)) { in openInterface()
|
D | pppoe-discovery.c | 101 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface() argument 137 if (hwaddr) { in openInterface() 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 150 if (NOT_UNICAST(hwaddr)) { in openInterface()
|
D | pppoe.h | 263 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr);
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 194 def set_hwaddr(self, hwaddr): argument 204 tools.inet_hwton(hwaddr))) 211 hwaddr = property(get_hwaddr, set_hwaddr) variable in TunTap
|
/external/autotest/server/site_tests/network_StressServoEthernetPlug/ |
D | network_StressServoEthernetPlug.py | 79 (iface, hwaddr) = iface_start.groups() 85 eth_dict[iface] = {self.ETH_MAC: hwaddr, self.ETH_IP: ipaddress}
|
/external/ppp/pppd/ |
D | sys-solaris.c | 2151 get_ether_addr(ipaddr, hwaddr) in get_ether_addr() argument 2153 struct sockaddr *hwaddr; 2208 if (!get_hw_addr(ifr->ifr_name, ina, hwaddr)) { 2222 get_hw_addr_dlpi(name, hwaddr) in get_hw_addr_dlpi() argument 2224 struct sockaddr *hwaddr; 2272 hwaddr->sa_family = AF_UNSPEC; 2273 memcpy(hwaddr->sa_data, adrp, adrlen); 2281 get_hw_addr(name, ina, hwaddr) in get_hw_addr() argument 2284 struct sockaddr *hwaddr; 2300 *hwaddr = req.arp_ha; [all …]
|
/external/libnl/lib/netfilter/ |
D | queue_msg_obj.c | 378 void nfnl_queue_msg_set_hwaddr(struct nfnl_queue_msg *msg, uint8_t *hwaddr, in nfnl_queue_msg_set_hwaddr() argument 385 memcpy(msg->queue_msg_hwaddr, hwaddr, len); in nfnl_queue_msg_set_hwaddr() 473 __ADD(QUEUE_MSG_ATTR_HWADDR, hwaddr),
|
D | log_msg_obj.c | 323 void nfnl_log_msg_set_hwaddr(struct nfnl_log_msg *msg, uint8_t *hwaddr, int len) in nfnl_log_msg_set_hwaddr() argument 328 memcpy(msg->log_msg_hwaddr, hwaddr, len); in nfnl_log_msg_set_hwaddr()
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 277 lws_plat_ifname_to_hwaddr(int fd, const char *ifname, uint8_t *hwaddr, int len) in lws_plat_ifname_to_hwaddr() argument 288 memcpy(hwaddr, &i.ifr_hwaddr.sa_data, 6); in lws_plat_ifname_to_hwaddr()
|
/external/libwebsockets/lib/plat/freertos/ |
D | freertos-sockets.c | 222 lws_plat_ifname_to_hwaddr(int fd, const char *ifname, uint8_t *hwaddr, int len) in lws_plat_ifname_to_hwaddr() argument
|