• Home
  • Raw
  • Download

Lines Matching refs:chaddr

87 	__u8 chaddr[16];  member
95 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr)
1659 u8 *chaddr; in batadv_dat_get_dhcp_chaddr() local
1661 offset += offsetof(struct batadv_dhcp_packet, chaddr); in batadv_dat_get_dhcp_chaddr()
1662 chaddr = skb_header_pointer(skb, offset, BATADV_DHCP_CHADDR_LEN, buf); in batadv_dat_get_dhcp_chaddr()
1664 if (!chaddr) in batadv_dat_get_dhcp_chaddr()
1667 if (chaddr != buf) in batadv_dat_get_dhcp_chaddr()
1668 memcpy(buf, chaddr, BATADV_DHCP_CHADDR_LEN); in batadv_dat_get_dhcp_chaddr()
1689 static void batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr, in batadv_dat_put_dhcp() argument
1695 skb = batadv_dat_arp_create_reply(bat_priv, yiaddr, ip_dst, chaddr, in batadv_dat_put_dhcp()
1702 batadv_dat_entry_add(bat_priv, yiaddr, chaddr, vid); in batadv_dat_put_dhcp()
1717 &yiaddr, chaddr, batadv_print_vid(vid)); in batadv_dat_put_dhcp()
1738 u8 *chaddr, __be32 *yiaddr) in batadv_dat_check_dhcp_ack() argument
1753 if (!batadv_dat_get_dhcp_chaddr(skb, chaddr)) in batadv_dat_check_dhcp_ack()
1779 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; in batadv_dat_snoop_outgoing_dhcp_ack() local
1785 if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr)) in batadv_dat_snoop_outgoing_dhcp_ack()
1788 batadv_dat_put_dhcp(bat_priv, chaddr, yiaddr, eth_hdr(skb)->h_source, in batadv_dat_snoop_outgoing_dhcp_ack()
1805 u8 chaddr[BATADV_DHCP_CHADDR_LEN]; in batadv_dat_snoop_incoming_dhcp_ack() local
1822 if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr)) in batadv_dat_snoop_incoming_dhcp_ack()
1828 batadv_dat_entry_add(bat_priv, yiaddr, chaddr, vid); in batadv_dat_snoop_incoming_dhcp_ack()
1836 &yiaddr, chaddr, batadv_print_vid(vid)); in batadv_dat_snoop_incoming_dhcp_ack()