/system/core/libnetutils/ |
dhcpclient.c | 277 hex2str(buf, msg->chaddr, c); 278 LOGD("chaddr = {%s}", buf); 370 if (memcmp(msg->chaddr, reply->chaddr, msg->hlen)) { 371 if (verbose) LOGD("netcfg: Wrong chaddr %x != %x\n", *(reply->chaddr),*(msg->chaddr));
|
dhcpmsg.c | 39 memcpy(msg->chaddr, hwaddr, 6);
|
dhcpmsg.h | 53 uint8_t chaddr[16]; /* client hw addr */ member in struct:dhcp_msg
|
/external/dnsmasq/contrib/wrt/ |
dhcp_release.c | 71 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member in struct:dhcp_packet 290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type);
|
dhcp_lease_time.c | 66 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member in struct:dhcp_packet
|
/external/wpa_supplicant_8/src/drivers/ |
driver_wired.c | 82 u_int8_t chaddr[16]; member in struct:dhcp_message 188 /* must contain at least dhcp_message->chaddr */ 195 mac_address = (u8 *) &(msg->chaddr);
|
/external/dhcpcd/ |
dhcp.h | 150 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member in struct:dhcp_message
|
client.c | [all...] |
dhcpcd.c | 704 if (iface->hwlen <= sizeof(dhcp->chaddr) && 705 memcmp(dhcp->chaddr, iface->hwaddr, iface->hwlen)) 709 hwaddr_ntoa(dhcp->chaddr, sizeof(dhcp->chaddr))); [all...] |
dhcp.c | 868 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen);
|
/external/dnsmasq/src/ |
bpf.c | 197 memcpy(ether.ether_dhost, mess->chaddr, ETHER_ADDR_LEN);
|
rfc2131.c | 259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); 270 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); 276 memcmp_masked(mac->hwaddr, mess->chaddr, mess->hlen, mac->mask)) 363 mess->chaddr, mess->hlen, mess->htype, NULL); 432 memcmp(lease->hwaddr, mess->chaddr, lease->hwaddr_len) != 0)) 437 if (!(lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, NULL, 0)) || 446 if (!address_allocate(context, &mess->yiaddr, mess->chaddr, mess->hlen, netid, now)) 479 lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0); 494 log_packet("BOOTP", logaddr, mess->chaddr, mess->hlen, iface_name, message, mess->xid); 582 mess->chaddr, mess->hlen, [all...] |
dhcp.c | 313 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); 338 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen);
|
dnsmasq.h | 566 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member in struct:dhcp_packet
|
/external/dnsmasq/contrib/lease-access/ |
lease.access.patch | 428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);
|