Home
last modified time | relevance | path

Searched refs:hwaddr (Results 1 – 25 of 34) sorted by relevance

12

/external/tcpdump/tests/
Ddhcpv6-ia-pd.out1 …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…
Ddhcpv6-ia-ta.out1 …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…
Ddhcpv6-ia-na.out1 …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…
Ddhcpv6-AFTR-Name-RFC6334.out1 …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…
Ddhcpv6-mud.out1 …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…
Ddhcpv6-ntp-server.out1 … sum ok] dhcp6 reply (xid=f69b57 (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
Ddhcpv6-domain-list.out1 … sum ok] dhcp6 reply (xid=aa56ce (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
Ddhcpv6-sip-server-d.out1 … sum ok] dhcp6 reply (xid=6890d8 (client-ID hwaddr/time type 1 time 418384703 000c2938f368) (serve…
/external/u-boot/board/Arcturus/ucp1020/
Dcmd_arc.c42 static int ishwaddr(char *hwaddr) in ishwaddr() argument
44 if (strlen(hwaddr) == MAX_HWADDR_SIZE) in ishwaddr()
45 if (hwaddr[2] == ':' && in ishwaddr()
46 hwaddr[5] == ':' && in ishwaddr()
47 hwaddr[8] == ':' && in ishwaddr()
48 hwaddr[11] == ':' && in ishwaddr()
49 hwaddr[14] == ':') in ishwaddr()
/external/ltp/testcases/network/stress/ns-tools/
Dget_ifname80 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/
Dlease.c146 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()
Ddhcp.c405 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()
Ddnsmasq.h415 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,
Dhelper.c45 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()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c96 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()
Dpppoe-discovery.c101 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()
/external/autotest/client/bin/net/
Dnet_utils.py321 hwaddr = f.read().strip()
323 return hwaddr
326 def set_hwaddr(self, hwaddr): argument
327 bin_utils.system('ifconfig %s hw ether %s' % (self._name, hwaddr))
670 def mac_string_to_binary(hwaddr): argument
683 for c in hwaddr.split(':',6)]])
688 def mac_binary_to_string(hwaddr): argument
700 return "%02x:%02x:%02x:%02x:%02x:%02x" % tuple(map(ord,hwaddr))
/external/u-boot/drivers/net/
Daltera_tse.c455 u8 *hwaddr = pdata->enetaddr; in altera_tse_write_hwaddr() local
458 mac_lo = (hwaddr[3] << 24) | (hwaddr[2] << 16) | in altera_tse_write_hwaddr()
459 (hwaddr[1] << 8) | hwaddr[0]; in altera_tse_write_hwaddr()
460 mac_hi = (hwaddr[5] << 8) | hwaddr[4]; in altera_tse_write_hwaddr()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py194 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/
Dnetwork_StressServoEthernetPlug.py79 (iface, hwaddr) = iface_start.groups()
85 eth_dict[iface] = {self.ETH_MAC: hwaddr, self.ETH_IP: ipaddress}
/external/u-boot/drivers/usb/gadget/
Dci_udc.c360 unsigned long hwaddr; in ci_bounce() local
394 hwaddr = (unsigned long)ci_req->hw_buf; in ci_bounce()
396 flush_dcache_range(hwaddr, hwaddr + aligned_used_len); in ci_bounce()
405 unsigned long hwaddr = (unsigned long)ci_req->hw_buf; in ci_debounce() local
412 invalidate_dcache_range(hwaddr, hwaddr + aligned_used_len); in ci_debounce()
414 if (addr == hwaddr) in ci_debounce()
/external/ppp/pppd/
Dsys-solaris.c2151 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/
Dqueue_msg_obj.c377 void nfnl_queue_msg_set_hwaddr(struct nfnl_queue_msg *msg, uint8_t *hwaddr, in nfnl_queue_msg_set_hwaddr() argument
384 memcpy(msg->queue_msg_hwaddr, hwaddr, len); in nfnl_queue_msg_set_hwaddr()
469 __ADD(QUEUE_MSG_ATTR_HWADDR, hwaddr)
/external/u-boot/arch/sandbox/dts/
Dtest.dts158 fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x00>;
164 fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x11>;
170 fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x33>;
176 fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x22>;
/external/u-boot/api/
Dapi_net.c65 memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6); in dev_enum_net()

12