Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/netfilter/
Dnf_log_arp.c60 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), ntohs(ah->ar_op)); in dump_arp_packet()
65 if (ah->ar_hrd != htons(ARPHRD_ETHER) || in dump_arp_packet()
Dipt_CLUSTERIP.c605 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in arp_mangle()
Darp_tables.c97 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
/Linux-v4.19/net/bridge/netfilter/
Debt_arp.c32 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
71 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) in ebt_arp_mt()
Debt_log.c149 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), in ebt_log_packet()
155 if (ah->ar_hrd == htons(1) && in ebt_log_packet()
/Linux-v4.19/net/ipv4/
Darp.c573 arp->ar_hrd = htons(dev->type); in arp_create()
579 arp->ar_hrd = htons(ARPHRD_AX25); in arp_create()
585 arp->ar_hrd = htons(ARPHRD_NETROM); in arp_create()
593 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create()
707 htons(dev_type) != arp->ar_hrd) in arp_process()
722 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process()
723 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_process()
729 arp->ar_hrd != htons(ARPHRD_AX25)) in arp_process()
734 arp->ar_hrd != htons(ARPHRD_NETROM)) in arp_process()
Dipconfig.c495 if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) in ic_rarp_recv()
/Linux-v4.19/include/uapi/linux/
Dif_arp.h145 __be16 ar_hrd; /* format of hardware address */ member
/Linux-v4.19/net/openvswitch/
Dflow.h241 __be16 ar_hrd; /* format of hardware address */ member
Dflow.c697 arp->ar_hrd == htons(ARPHRD_ETHER) && in key_extract()
/Linux-v4.19/drivers/net/ethernet/via/
Dvia-velocity.h1210 __be16 ar_hrd; member
/Linux-v4.19/net/batman-adv/
Ddistributed-arp-table.c1040 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type()
Dbridge_loop_avoidance.c1130 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim()
/Linux-v4.19/net/core/
Dflow_dissector.c316 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in __skb_flow_dissect_arp()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dcmd.c1255 arp_hdr->ar_hrd = cpu_to_be16(ARPHRD_ETHER); in wl1271_cmd_build_arp_rsp()
/Linux-v4.19/drivers/net/
Dvxlan.c1504 if ((parp->ar_hrd != htons(ARPHRD_ETHER) && in arp_reduce()
1505 parp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_reduce()
/Linux-v4.19/drivers/net/bonding/
Dbond_main.c2558 arp->ar_hrd != htons(ARPHRD_ETHER) || in bond_arp_rcv()