/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | distributed-arp-table.c | 87 __u8 chaddr[16]; member 95 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr) 1652 * batadv_dat_get_dhcp_chaddr() - get chaddr from a DHCP packet 1654 * @buf: a buffer to store the chaddr in 1664 u8 *chaddr; in batadv_dat_get_dhcp_chaddr() local 1666 offset += offsetof(struct batadv_dhcp_packet, chaddr); in batadv_dat_get_dhcp_chaddr() 1667 chaddr = skb_header_pointer(skb, offset, BATADV_DHCP_CHADDR_LEN, buf); in batadv_dat_get_dhcp_chaddr() 1669 if (!chaddr) in batadv_dat_get_dhcp_chaddr() 1672 if (chaddr != buf) in batadv_dat_get_dhcp_chaddr() 1673 memcpy(buf, chaddr, BATADV_DHCP_CHADDR_LE in batadv_dat_get_dhcp_chaddr() 1694 batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr, __be32 yiaddr, u8 *hw_dst, __be32 ip_dst, unsigned short vid) batadv_dat_put_dhcp() argument 1742 batadv_dat_check_dhcp_ack(struct sk_buff *skb, __be16 proto, __be32 *ip_src, u8 *chaddr, __be32 *yiaddr) batadv_dat_check_dhcp_ack() argument 1784 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; batadv_dat_snoop_outgoing_dhcp_ack() local 1810 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; batadv_dat_snoop_incoming_dhcp_ack() local [all...] |
H A D | gateway_client.h | 40 u8 *chaddr);
|
H A D | soft-interface.c | 195 u8 *dst_hint = NULL, chaddr[ETH_ALEN]; in batadv_interface_tx() local 284 chaddr); in batadv_interface_tx() 298 dst_hint = chaddr; in batadv_interface_tx()
|
H A D | gateway_client.c | 53 /* This is the offset of the "chaddr" field in the dhcp packet starting at the 599 * @chaddr: buffer where the client address will be stored. Valid 612 u8 *chaddr) in batadv_gw_dhcp_recipient_get() 710 ether_addr_copy(chaddr, skb->data + chaddr_offset); in batadv_gw_dhcp_recipient_get() 611 batadv_gw_dhcp_recipient_get(struct sk_buff *skb, unsigned int *header_len, u8 *chaddr) batadv_gw_dhcp_recipient_get() argument
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | distributed-arp-table.c | 86 __u8 chaddr[16]; member 94 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr) 1590 * batadv_dat_get_dhcp_chaddr() - get chaddr from a DHCP packet 1592 * @buf: a buffer to store the chaddr in 1602 u8 *chaddr; in batadv_dat_get_dhcp_chaddr() local 1604 offset += offsetof(struct batadv_dhcp_packet, chaddr); in batadv_dat_get_dhcp_chaddr() 1605 chaddr = skb_header_pointer(skb, offset, BATADV_DHCP_CHADDR_LEN, buf); in batadv_dat_get_dhcp_chaddr() 1607 if (!chaddr) in batadv_dat_get_dhcp_chaddr() 1610 if (chaddr != buf) in batadv_dat_get_dhcp_chaddr() 1611 memcpy(buf, chaddr, BATADV_DHCP_CHADDR_LE in batadv_dat_get_dhcp_chaddr() 1632 batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr, __be32 yiaddr, u8 *hw_dst, __be32 ip_dst, unsigned short vid) batadv_dat_put_dhcp() argument 1680 batadv_dat_check_dhcp_ack(struct sk_buff *skb, __be16 proto, __be32 *ip_src, u8 *chaddr, __be32 *yiaddr) batadv_dat_check_dhcp_ack() argument 1722 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; batadv_dat_snoop_outgoing_dhcp_ack() local 1748 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; batadv_dat_snoop_incoming_dhcp_ack() local [all...] |
H A D | gateway_client.h | 38 u8 *chaddr);
|
H A D | gateway_client.c | 53 /* This is the offset of the "chaddr" field in the dhcp packet starting at the 550 * @chaddr: buffer where the client address will be stored. Valid 563 u8 *chaddr) in batadv_gw_dhcp_recipient_get() 661 ether_addr_copy(chaddr, skb->data + chaddr_offset); in batadv_gw_dhcp_recipient_get() 562 batadv_gw_dhcp_recipient_get(struct sk_buff *skb, unsigned int *header_len, u8 *chaddr) batadv_gw_dhcp_recipient_get() argument
|
H A D | soft-interface.c | 192 u8 *dst_hint = NULL, chaddr[ETH_ALEN]; in batadv_interface_tx() local 280 chaddr); in batadv_interface_tx() 294 dst_hint = chaddr; in batadv_interface_tx()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
H A D | dhcps.c | 161 if (memcpy_s(srvr_msg->chaddr, sizeof(srvr_msg->chaddr), client_msg->chaddr, DHCP_CHADDR_LEN) != EOK) { 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() 627 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("handle_request: Copy chaddr failed\n")); in handle_request()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | ga100.c | 447 u32 chaddr = (chcfg & 0xfffffff0); in ga100_runl_new() local 502 runl->chan = chaddr; in ga100_runl_new()
|
/kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 606 u8 chaddr[16]; /* link-layer client hardware in gdm_lte_netif_rx() member 617 offsetof(struct dhcp_packet, chaddr); in gdm_lte_netif_rx()
|
/kernel/linux/linux-6.6/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 605 u8 chaddr[16]; /* link-layer client hardware in gdm_lte_netif_rx() member 616 offsetof(struct dhcp_packet, chaddr); in gdm_lte_netif_rx()
|