Home
last modified time | relevance | path

Searched refs:chaddr (Results 1 – 11 of 11) sorted by relevance

/external/dnsmasq/contrib/wrt/
Ddhcp_release.c71 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()
Ddhcp_lease_time.c66 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member
/external/dnsmasq/src/
Drfc2131.c259 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 …]
Dbpf.c197 memcpy(ether.ether_dhost, mess->chaddr, ETHER_ADDR_LEN); in send_via_bpf()
Ddhcp.c313 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()
Ddnsmasq.h568 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member
/external/dhcpcd/
Ddhcp.h151 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member
Ddhcpcd.c730 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()
Ddhcp.c940 memcpy(&dhcp->chaddr, &iface->hwaddr, iface->hwlen); in make_message()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c77 u_int8_t chaddr[16]; member
190 mac_address = (u8 *) &(msg->chaddr); in handle_dhcp()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);