/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 71 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member 290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); in main()
|
D | dhcp_lease_time.c | 66 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member
|
/external/toybox/toys/pending/ |
D | dhcpd.c | 97 uint8_t chaddr[16]; member 664 memcpy(dest_sll.sll_addr, (broadcast)?bmacaddr:gstate.rcvd_pkt.chaddr , 6); in send_packet() 732 memcpy(gstate.send_pkt.chaddr, gstate.rcvd_pkt.chaddr, 16); in prepare_send_pkt() 1195 …gstate.send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, h… in dhcpd_main() 1217 …gstate.send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, h… in dhcpd_main() 1238 …delip_from_lease(requested_nip, gstate.rcvd_pkt.chaddr, (gstate.rqcode==DHCPRELEASE)?0:gconfig.dec… in dhcpd_main()
|
D | dhcp.c | 164 uint8_t chaddr[16]; member 997 memcpy(state->pdhcp.chaddr, state->macaddr, 6); in dhcpc_sendmsg() 998 memset(&state->pdhcp.chaddr[6], 0, 10); in dhcpc_sendmsg() 1197 && !memcmp(state->pdhcp.chaddr, state->macaddr, 6) in dhcpc_parsemsg()
|
/external/dnsmasq/src/ |
D | rfc2131.c | 259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); in dhcp_reply() 270 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); in dhcp_reply() 276 memcmp_masked(mac->hwaddr, mess->chaddr, mess->hlen, mac->mask)) in dhcp_reply() 363 mess->chaddr, mess->hlen, mess->htype, NULL); in dhcp_reply() 432 memcmp(lease->hwaddr, mess->chaddr, lease->hwaddr_len) != 0)) in dhcp_reply() 437 if (!(lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, NULL, 0)) || in dhcp_reply() 446 if (!address_allocate(context, &mess->yiaddr, mess->chaddr, mess->hlen, netid, now)) in dhcp_reply() 479 lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0); in dhcp_reply() 494 log_packet("BOOTP", logaddr, mess->chaddr, mess->hlen, iface_name, message, mess->xid); in dhcp_reply() 582 mess->chaddr, mess->hlen, in dhcp_reply() [all …]
|
D | bpf.c | 197 memcpy(ether.ether_dhost, mess->chaddr, ETHER_ADDR_LEN); in send_via_bpf()
|
D | dhcp.c | 313 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet() 338 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
|
D | dnsmasq.h | 568 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member
|
/external/dhcpcd/ |
D | dhcpcd_test.cpp | 62 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member
|
D | dhcp.h | 151 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member
|
D | dhcpcd.c | 730 if (iface->hwlen <= sizeof(dhcp->chaddr) && in handle_dhcp_packet() 731 memcmp(dhcp->chaddr, iface->hwaddr, iface->hwlen)) in handle_dhcp_packet() 735 hwaddr_ntoa(dhcp->chaddr, sizeof(dhcp->chaddr))); in handle_dhcp_packet()
|
D | dhcp.c | 944 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen); in make_message()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 77 u_int8_t chaddr[16]; member 190 mac_address = (u8 *) &(msg->chaddr); in handle_dhcp()
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);
|