Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Ddistributed-arp-table.c87 __u8 chaddr[16]; member
95 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr)
1661 u8 *chaddr; in batadv_dat_get_dhcp_chaddr() local
1663 offset += offsetof(struct batadv_dhcp_packet, chaddr); in batadv_dat_get_dhcp_chaddr()
1664 chaddr = skb_header_pointer(skb, offset, BATADV_DHCP_CHADDR_LEN, buf); in batadv_dat_get_dhcp_chaddr()
1666 if (!chaddr) in batadv_dat_get_dhcp_chaddr()
1669 if (chaddr != buf) in batadv_dat_get_dhcp_chaddr()
1670 memcpy(buf, chaddr, BATADV_DHCP_CHADDR_LEN); in batadv_dat_get_dhcp_chaddr()
1691 static void batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr, in batadv_dat_put_dhcp() argument
1697 skb = batadv_dat_arp_create_reply(bat_priv, yiaddr, ip_dst, chaddr, in batadv_dat_put_dhcp()
[all …]
Dgateway_client.h39 u8 *chaddr);
Dsoft-interface.c192 u8 *dst_hint = NULL, chaddr[ETH_ALEN]; in batadv_interface_tx() local
281 chaddr); in batadv_interface_tx()
295 dst_hint = chaddr; in batadv_interface_tx()
Dgateway_client.c622 u8 *chaddr) in batadv_gw_dhcp_recipient_get() argument
720 ether_addr_copy(chaddr, skb->data + chaddr_offset); in batadv_gw_dhcp_recipient_get()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Ddhcps.c161 …if (memcpy_s(srvr_msg->chaddr, sizeof(srvr_msg->chaddr), client_msg->chaddr, DHCP_CHADDR_LEN) != E… in dhcps_create_base_msg()
204 client_msg->chaddr, sizeof(client_msg->chaddr)) != EOK) { in add_client_entry()
235 if (memcmp(dhcps->leasearr[i].cli_hwaddr, client_msg->chaddr, client_msg->hlen) == 0) { in find_client_lease()
414 … if (memcpy_s(ethaddr.addr, ETHARP_HWADDR_LEN, client_msg->chaddr, client_msg->hlen) != EOK) { in handle_discover()
626 … if (memcpy_s(ethaddr.addr, ETHARP_HWADDR_LEN, client_msg->chaddr, client_msg->hlen) != EOK) { in handle_request()
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_lte.c605 u8 chaddr[16]; /* link-layer client hardware in gdm_lte_netif_rx() member
616 offsetof(struct dhcp_packet, chaddr); in gdm_lte_netif_rx()