Home
last modified time | relevance | path

Searched refs:ar_op (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/u-boot/net/
H A Darp.c71 arp->ar_op = htons(ARPOP_REQUEST); in arp_raw_request()
161 switch (ntohs(arp->ar_op)) { in arp_receive()
166 arp->ar_op = htons(ARPOP_REPLY); in arp_receive()
233 ntohs(arp->ar_op)); in arp_receive()
H A Dlink_local.c252 ntohs(arp->ar_op)); in link_local_receive_arp()
260 if (arp->ar_op != htons(ARPOP_REQUEST) && in link_local_receive_arp()
261 arp->ar_op != htons(ARPOP_REPLY)) { in link_local_receive_arp()
280 if (arp->ar_op == htons(ARPOP_REQUEST) && in link_local_receive_arp()
H A Drarp.c38 if ((ntohs(arp->ar_op) != RARPOP_REPLY) || in rarp_receive()
87 rarp->ar_op = htons(RARPOP_REQUEST); in rarp_request()
/openbmc/linux/net/ipv4/
H A Darp.c620 arp->ar_op = htons(type); in arp_create()
669 int *addr_type, __be16 ar_op, in arp_is_garp() argument
678 if (is_garp && ar_op == htons(ARPOP_REPLY)) in arp_is_garp()
760 if (arp->ar_op != htons(ARPOP_REPLY) && in arp_process()
761 arp->ar_op != htons(ARPOP_REQUEST)) in arp_process()
821 if (arp->ar_op == htons(ARPOP_REQUEST) && skb_metadata_dst(skb)) in arp_process()
828 if (arp->ar_op == htons(ARPOP_REQUEST) && in arp_process()
836 if (arp->ar_op == htons(ARPOP_REQUEST) && in arp_process()
892 is_garp = arp_is_garp(net, dev, &addr_type, arp->ar_op, in arp_process()
903 (arp->ar_op == htons(ARPOP_REPLY) && in arp_process()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/zeroconf/zeroconf/
H A D0001-zeroconf-Rename-arp_op-to-avoid-namespace-conflicts-.patch64 - ap.arp.ar_op = htons(arp_op);
65 + ap.arp.ar_op = htons(arpop);
/openbmc/u-boot/test/dm/
H A Deth.c276 if (ntohs(arp->ar_op) != ARPOP_REPLY) in sb_check_arp_reply()
313 ntohs(arp->ar_op) == ARPOP_REQUEST) { in sb_with_async_arp_handler()
398 ntohs(arp->ar_op) == ARPOP_REQUEST) { in sb_with_async_ping_handler()
/openbmc/u-boot/drivers/net/
H A Dsandbox.c71 if (ntohs(arp->ar_op) != ARPOP_REQUEST) in sandbox_eth_arp_req_to_reply()
92 arp_recv->ar_op = htons(ARPOP_REPLY); in sandbox_eth_arp_req_to_reply()
191 arp_recv->ar_op = htons(ARPOP_REQUEST); in sandbox_eth_recv_arp_req()
H A Dsandbox-raw.c88 arp->ar_op = htons(ARPOP_REPLY); in sb_eth_raw_recv()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c35 if (arp->hdr.ar_op == htons(ARPOP_REPLY) || in mwifiex_discard_gratuitous_arp()
36 arp->hdr.ar_op == htons(ARPOP_REQUEST)) { in mwifiex_discard_gratuitous_arp()
/openbmc/linux/net/bridge/
H A Dbr_arp_nd_proxy.c163 if (parp->ar_op != htons(ARPOP_RREQUEST) && in br_do_proxy_suppress_arp()
164 parp->ar_op != htons(ARPOP_RREPLY) && in br_do_proxy_suppress_arp()
172 if (parp->ar_op != htons(ARPOP_REQUEST)) in br_do_proxy_suppress_arp()
/openbmc/linux/include/uapi/linux/
H A Dif_arp.h150 __be16 ar_op; /* ARP opcode (command) */ member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c112 if (arp->ar_op == htons(ARPOP_REQUEST) && in iwl_mei_rx_filter_arp()
125 arp->ar_op == htons(ARPOP_REPLY)) { in iwl_mei_rx_filter_arp()
/openbmc/linux/net/bridge/netfilter/
H A Debt_arpreply.c34 if (ap->ar_op != htons(ARPOP_REQUEST) || in ebt_arpreply_tg()
H A Debt_arp.c30 NF_INVF(info, EBT_ARP_OPCODE, info->opcode != ah->ar_op)) in ebt_arp_mt()
H A Debt_log.c151 ntohs(ah->ar_op)); in ebt_log_packet()
/openbmc/inarp/
H A Dinarp.c135 arp.arp.ar_op = htons(ARPOP_InREPLY); in send_arp_packet()
408 if (ntohs(inarp_req.arp.ar_op) != ARPOP_InREQUEST) in arp_recv()
/openbmc/linux/net/openvswitch/
H A Dflow.h247 __be16 ar_op; /* ARP opcode (command) */ member
H A Dflow.c777 if (ntohs(arp->ar_op) <= 0xff) in key_extract_l3l4()
778 key->ip.proto = ntohs(arp->ar_op); in key_extract_l3l4()
/openbmc/u-boot/include/
H A Dnet.h406 u16 ar_op; /* Operation */ member
/openbmc/linux/net/core/
H A Dflow_dissector.c576 (arp->ar_op != htons(ARPOP_REPLY) && in __skb_flow_dissect_arp()
577 arp->ar_op != htons(ARPOP_REQUEST))) in __skb_flow_dissect_arp()
596 key_arp->op = ntohs(arp->ar_op) & 0xff; in __skb_flow_dissect_arp()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch209 if (a->ar_op != htons(ARPOP_RREQUEST))
/openbmc/linux/net/batman-adv/
H A Ddistributed-arp-table.c1054 if (arphdr->ar_op != htons(ARPOP_REQUEST)) { in batadv_arp_get_type()
1061 type = ntohs(arphdr->ar_op); in batadv_arp_get_type()
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_lte.c139 arp_out->ar_op = htons(ARPOP_REPLY); in gdm_lte_emulate_arp()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.h1204 __be16 ar_op; member
/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()

12