Home
last modified time | relevance | path

Searched refs:chaddr (Results 1 – 12 of 12) 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-6.8.2/
Ddhcp.h173 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member
Ddhcp.c755 memcpy(&dhcp->chaddr, &ifp->hwaddr, ifp->hwlen); in make_message()
3321 if (ifp->hwlen <= sizeof(dhcp->chaddr) && in dhcp_handlepacket()
3322 memcmp(dhcp->chaddr, ifp->hwaddr, ifp->hwlen)) in dhcp_handlepacket()
3324 char buf[sizeof(dhcp->chaddr) * 3]; in dhcp_handlepacket()
3329 hwaddr_ntoa(dhcp->chaddr, sizeof(dhcp->chaddr), in dhcp_handlepacket()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c78 u_int8_t chaddr[16]; member
191 mac_address = (u8 *) &(msg->chaddr); in handle_dhcp()
/external/toybox/toys/pending/
Ddhcpd.c149 uint8_t chaddr[16]; member
924 memcpy(dest_sll.sll_addr, (broadcast)?bmacaddr:gstate.rcvd.rcvd_pkt.chaddr , 6); in send_packet()
1022 memcpy(gstate.send.send_pkt.chaddr, gstate.rcvd.rcvd_pkt.chaddr, 16); in prepare_send_pkt()
2014 gstate.rcvd.rcvd_pkt.chaddr, &reqested_lease, hstname); in dhcpd_main()
2041 gstate.rcvd.rcvd_pkt.chaddr, &reqested_lease, hstname); in dhcpd_main()
2064 delip_from_lease(requested_nip, gstate.rcvd.rcvd_pkt.chaddr, in dhcpd_main()
Ddhcp.c161 uint8_t chaddr[16]; member
995 memcpy(state->pdhcp.chaddr, state->macaddr, 6); in dhcpc_sendmsg()
996 memset(&state->pdhcp.chaddr[6], 0, 10); in dhcpc_sendmsg()
1197 && !memcmp(state->pdhcp.chaddr, state->macaddr, 6) in dhcpc_parsemsg()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);