Home
last modified time | relevance | path

Searched refs:ar_hrd (Results 1 – 12 of 12) sorted by relevance

/net/ipv4/
Darp.c571 arp->ar_hrd = htons(dev->type); in arp_create()
577 arp->ar_hrd = htons(ARPHRD_AX25); in arp_create()
583 arp->ar_hrd = htons(ARPHRD_NETROM); in arp_create()
591 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create()
705 htons(dev_type) != arp->ar_hrd) in arp_process()
720 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process()
721 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_process()
727 arp->ar_hrd != htons(ARPHRD_AX25)) in arp_process()
732 arp->ar_hrd != htons(ARPHRD_NETROM)) in arp_process()
Dipconfig.c515 if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) in ic_rarp_recv()
/net/bridge/netfilter/
Debt_arp.c33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
72 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) in ebt_arp_mt()
Debt_log.c150 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), in ebt_log_packet()
156 if (ah->ar_hrd == htons(1) && in ebt_log_packet()
/net/openvswitch/
Dflow.h229 __be16 ar_hrd; /* format of hardware address */ member
Dflow.c626 arp->ar_hrd == htons(ARPHRD_ETHER) && in key_extract_l3l4()
/net/netfilter/
Dnf_log_syslog.c84 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), ntohs(ah->ar_op)); in dump_arp_packet()
88 if (ah->ar_hrd != htons(ARPHRD_ETHER) || in dump_arp_packet()
/net/ipv4/netfilter/
Dipt_CLUSTERIP.c650 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in clusterip_arp_mangle()
Darp_tables.c98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
/net/batman-adv/
Ddistributed-arp-table.c1026 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type()
Dbridge_loop_avoidance.c1132 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim()
/net/core/
Dflow_dissector.c492 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in __skb_flow_dissect_arp()