Home
last modified time | relevance | path

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

/linux-6.15/net/bridge/netfilter/
H A 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()
H A 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()
/linux-6.15/net/ipv4/
H A Darp.c593 arp->ar_hrd = htons(dev->type); in arp_create()
599 arp->ar_hrd = htons(ARPHRD_AX25); in arp_create()
605 arp->ar_hrd = htons(ARPHRD_NETROM); in arp_create()
613 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create()
729 htons(dev_type) != arp->ar_hrd) in arp_process()
744 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process()
745 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_process()
751 arp->ar_hrd != htons(ARPHRD_AX25)) in arp_process()
756 arp->ar_hrd != htons(ARPHRD_NETROM)) in arp_process()
H A Dipconfig.c523 if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) in ic_rarp_recv()
/linux-6.15/include/uapi/linux/
H A Dif_arp.h146 __be16 ar_hrd; /* format of hardware address */ member
/linux-6.15/net/openvswitch/
H A Dflow.h243 __be16 ar_hrd; /* format of hardware address */ member
H A Dflow.c771 arp->ar_hrd == htons(ARPHRD_ETHER) && in key_extract_l3l4()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c95 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in iwl_mei_rx_filter_arp()
/linux-6.15/net/netfilter/
H A Dnf_log_syslog.c90 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), ntohs(ah->ar_op)); in dump_arp_packet()
94 if (ah->ar_hrd != htons(ARPHRD_ETHER) || in dump_arp_packet()
/linux-6.15/drivers/net/ethernet/via/
H A Dvia-velocity.h1200 __be16 ar_hrd; member
/linux-6.15/net/batman-adv/
H A Ddistributed-arp-table.c1015 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type()
H A Dbridge_loop_avoidance.c1133 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim()
/linux-6.15/net/ipv4/netfilter/
H A Darp_tables.c98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
/linux-6.15/net/core/
H A Dflow_dissector.c596 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in __skb_flow_dissect_arp()
/linux-6.15/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1249 arp_hdr->ar_hrd = cpu_to_be16(ARPHRD_ETHER); in wl1271_cmd_build_arp_rsp()
/linux-6.15/drivers/net/vxlan/
H A Dvxlan_core.c1889 if ((parp->ar_hrd != htons(ARPHRD_ETHER) && in arp_reduce()
1890 parp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_reduce()
/linux-6.15/drivers/net/bonding/
H A Dbond_main.c3235 arp->ar_hrd != htons(ARPHRD_ETHER) || in bond_arp_rcv()
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Dfw.c2642 arp_hdr->ar_hrd = htons(ARPHRD_ETHER); in rtw89_arp_response_get()