Home
last modified time | relevance | path

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

/external/u-boot/lib/efi_selftest/
Defi_selftest_snp.c42 u8 chaddr[16]; member
140 boottime->copy_mem(&p.dhcp_hdr.chaddr, in send_dhcp_discover()
/external/dnsmasq/src/
Drfc2131.c246 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); in dhcp_reply()
256 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); in dhcp_reply()
262 memcmp_masked(mac->hwaddr, mess->chaddr, mess->hlen, mac->mask)) { in dhcp_reply()
336 config = find_config(daemon->dhcp_conf, context, clid, clid_len, mess->chaddr, mess->hlen, in dhcp_reply()
395 memcmp(lease->hwaddr, mess->chaddr, lease->hwaddr_len) != 0)) in dhcp_reply()
398 … if (!(lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, NULL, 0)) || in dhcp_reply()
405 if (!address_allocate(context, &mess->yiaddr, mess->chaddr, mess->hlen, netid, in dhcp_reply()
431 lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0); in dhcp_reply()
444 log_packet("BOOTP", logaddr, mess->chaddr, mess->hlen, iface_name, message, mess->xid); in dhcp_reply()
518 find_config(daemon->dhcp_conf, context, NULL, 0, mess->chaddr, mess->hlen, in dhcp_reply()
[all …]
Ddnsmasq.h560 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member
Ddhcp.c251 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c71 u_int8_t chaddr[16]; member
156 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
997 memcpy(state->pdhcp.chaddr, state->macaddr, 6); in dhcpc_sendmsg()
998 memset(&state->pdhcp.chaddr[6], 0, 10); in dhcpc_sendmsg()
1199 && !memcmp(state->pdhcp.chaddr, state->macaddr, 6) in dhcpc_parsemsg()
/external/scapy/scapy/layers/
Ddhcp.py309 … /BOOTP(chaddr=hw)/DHCP(options=[("message-type","discover"),"end"]),iface=iface,**kargs)
/external/scapy/doc/scapy/
Dusage.rst1393 …f")/IP(src="0.0.0.0",dst="255.255.255.255")/UDP(sport=68,dport=67)/BOOTP(chaddr=hw)/DHCP(options=[…
/external/scapy/test/
Dregression.uts8950 s = raw(IP(src="127.0.0.1")/UDP()/BOOTP(chaddr="00:01:02:03:04:05")/DHCP(options=[("message-type","…
8953 s2 = raw(IP(src="127.0.0.1")/UDP()/BOOTP(chaddr="05:04:03:02:01:00")/DHCP(options=[("param_req_list…