Home
last modified time | relevance | path

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

/openbmc/u-boot/net/
H A Drarp.c39 (ntohs(arp->ar_hrd) != ARP_ETHER) || in rarp_receive()
83 rarp->ar_hrd = htons(ARP_ETHER); in rarp_request()
H A Darp.c67 arp->ar_hrd = htons(ARP_ETHER); in arp_raw_request()
146 if (ntohs(arp->ar_hrd) != ARP_ETHER) in arp_receive()
/openbmc/linux/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()
/openbmc/linux/net/ipv4/
H A Darp.c592 arp->ar_hrd = htons(dev->type); in arp_create()
598 arp->ar_hrd = htons(ARPHRD_AX25); in arp_create()
604 arp->ar_hrd = htons(ARPHRD_NETROM); in arp_create()
612 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create()
726 htons(dev_type) != arp->ar_hrd) in arp_process()
741 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process()
742 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_process()
748 arp->ar_hrd != htons(ARPHRD_AX25)) in arp_process()
753 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()
/openbmc/linux/include/uapi/linux/
H A Dif_arp.h146 __be16 ar_hrd; /* format of hardware address */ member
/openbmc/u-boot/drivers/net/
H A Dsandbox.c88 arp_recv->ar_hrd = htons(ARP_ETHER); in sandbox_eth_arp_req_to_reply()
187 arp_recv->ar_hrd = htons(ARP_ETHER); in sandbox_eth_recv_arp_req()
H A Dsandbox-raw.c84 arp->ar_hrd = htons(ARP_ETHER); in sb_eth_raw_recv()
/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c95 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in iwl_mei_rx_filter_arp()
/openbmc/u-boot/test/dm/
H A Deth.c287 ut_assert(arp->ar_hrd == htons(ARP_ETHER)); in sb_check_arp_reply()
/openbmc/linux/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()
/openbmc/u-boot/include/
H A Dnet.h400 u16 ar_hrd; /* Format of hardware address */ member
/openbmc/inarp/
H A Dinarp.c131 arp.arp.ar_hrd = htons(ARPHRD_ETHER); in send_arp_packet()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.h1200 __be16 ar_hrd; member
/openbmc/linux/net/batman-adv/
H A Ddistributed-arp-table.c1026 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()
/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
/openbmc/linux/net/core/
H A Dflow_dissector.c572 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in __skb_flow_dissect_arp()
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1240 arp_hdr->ar_hrd = cpu_to_be16(ARPHRD_ETHER); in wl1271_cmd_build_arp_rsp()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c1864 if ((parp->ar_hrd != htons(ARPHRD_ETHER) && in arp_reduce()
1865 parp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_reduce()
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c3152 arp->ar_hrd != htons(ARPHRD_ETHER) || in bond_arp_rcv()