Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/usr/
Ddhcpmgmt.c40 uint8_t *chaddr; in dhcp() local
54 chaddr = dhcp_chaddr ( netdev, &hlen, &flags ); in dhcp()
57 printf ( "%02x%c", *(chaddr++), ( hlen ? ':' : ')' ) ); in dhcp()
/external/syslinux/com32/lua/src/
Ddhcp.c323 dhcp->chaddr[0], dhcp->chaddr[1], dhcp->chaddr[2], in dhcp_gettable()
324 dhcp->chaddr[3], dhcp->chaddr[4], dhcp->chaddr[5]); in dhcp_gettable()
Ddhcp.h43 uint8_t chaddr[16]; /* Client hardware addr */ member
/external/syslinux/gpxe/src/net/udp/
Ddhcp.c991 typeof ( ( ( struct dhcphdr * ) NULL )->chaddr ) chaddr; in dhcp_chaddr() local
1008 if ( ( *hlen = ll_protocol->ll_addr_len ) <= sizeof ( chaddr ) ) { in dhcp_chaddr()
1012 if ( ( *hlen = ll_protocol->hw_addr_len ) <= sizeof ( chaddr ) ) { in dhcp_chaddr()
1040 void *chaddr; in dhcp_create_packet() local
1053 chaddr = dhcp_chaddr ( netdev, &dhcphdr->hlen, &dhcphdr->flags ); in dhcp_create_packet()
1054 memcpy ( dhcphdr->chaddr, chaddr, dhcphdr->hlen ); in dhcp_create_packet()
/external/syslinux/com32/include/
Ddhcp.h23 uint8_t chaddr[16]; /* 28 */ member
/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/wpa_supplicant_8/src/drivers/
Ddriver_wired.c71 u_int8_t chaddr[16]; member
156 mac_address = (u8 *) &(msg->chaddr); in handle_dhcp()
/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.c318 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
343 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/syslinux/core/lwip/src/include/lwip/
Ddhcp.h87 PACK_STRUCT_FIELD(u8_t chaddr[DHCP_CHADDR_LEN]);
/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/syslinux/gpxe/src/include/gpxe/
Ddhcp.h548 uint8_t chaddr[16]; member
/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/syslinux/core/lwip/src/core/
Ddhcp.c1546 if (netif->hwaddr[i] != reply_msg->chaddr[i]) { in dhcp_recv()
1549 (u16_t)i, (u16_t)netif->hwaddr[i], (u16_t)i, (u16_t)reply_msg->chaddr[i])); in dhcp_recv()
1683 dhcp->msg_out->chaddr[i] = (i < netif->hwaddr_len) ? netif->hwaddr[i] : 0/* pad byte*/; in dhcp_create_msg()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);