Home
last modified time | relevance | path

Searched refs:chaddr (Results 1 – 14 of 14) 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/toybox/toys/pending/
Ddhcpd.c97 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()
Ddhcp.c164 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/
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/
Ddhcpcd_test.cpp62 uint8_t chaddr[DHCP_CHADDR_LEN]; /* client's hardware address */ member
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.c944 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);