Lines Matching refs:chaddr

86 	__u8 chaddr[16];  member
94 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr)
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_LEN); in batadv_dat_get_dhcp_chaddr()
1632 static void batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr, in batadv_dat_put_dhcp() argument
1638 skb = batadv_dat_arp_create_reply(bat_priv, yiaddr, ip_dst, chaddr, in batadv_dat_put_dhcp()
1645 batadv_dat_entry_add(bat_priv, yiaddr, chaddr, vid); in batadv_dat_put_dhcp()
1660 &yiaddr, chaddr, batadv_print_vid(vid)); in batadv_dat_put_dhcp()
1681 u8 *chaddr, __be32 *yiaddr) in batadv_dat_check_dhcp_ack() argument
1696 if (!batadv_dat_get_dhcp_chaddr(skb, chaddr)) in batadv_dat_check_dhcp_ack()
1722 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; in batadv_dat_snoop_outgoing_dhcp_ack() local
1728 if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr)) in batadv_dat_snoop_outgoing_dhcp_ack()
1731 batadv_dat_put_dhcp(bat_priv, chaddr, yiaddr, eth_hdr(skb)->h_source, in batadv_dat_snoop_outgoing_dhcp_ack()
1748 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; in batadv_dat_snoop_incoming_dhcp_ack() local
1765 if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr)) in batadv_dat_snoop_incoming_dhcp_ack()
1771 batadv_dat_entry_add(bat_priv, yiaddr, chaddr, vid); in batadv_dat_snoop_incoming_dhcp_ack()
1779 &yiaddr, chaddr, batadv_print_vid(vid)); in batadv_dat_snoop_incoming_dhcp_ack()