Searched refs:arp_net_protocol (Results 1 – 3 of 3) sorted by relevance
172 static struct arp_net_protocol * arp_find_protocol ( uint16_t net_proto ) { in arp_find_protocol()173 struct arp_net_protocol *arp_net_protocol; in arp_find_protocol() local175 for_each_table_entry ( arp_net_protocol, ARP_NET_PROTOCOLS ) { in arp_find_protocol()176 if ( arp_net_protocol->net_protocol->net_proto == net_proto ) { in arp_find_protocol()177 return arp_net_protocol; in arp_find_protocol()200 struct arp_net_protocol *arp_net_protocol; in arp_rx() local207 arp_net_protocol = arp_find_protocol ( arphdr->ar_pro ); in arp_rx()208 if ( ! arp_net_protocol ) in arp_rx()210 net_protocol = arp_net_protocol->net_protocol; in arp_rx()232 if ( arp_net_protocol->check ( netdev, arp_target_pa ( arphdr ) ) != 0) in arp_rx()
543 struct arp_net_protocol ipv4_arp_protocol __arp_net_protocol = {
18 struct arp_net_protocol { struct33 __table ( struct arp_net_protocol, "arp_net_protocols" ) argument