/openbmc/linux/include/linux/ |
H A D | if_arp.h | 25 static inline struct arphdr *arp_hdr(const struct sk_buff *skb) in arp_hdr() 27 return (struct arphdr *)skb_network_header(skb); in arp_hdr() 36 return sizeof(struct arphdr) + dev->addr_len + sizeof(u32) * 2; in arp_hdr_len() 40 return sizeof(struct arphdr) + (dev->addr_len + sizeof(u32)) * 2; in arp_hdr_len()
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_arp.c | 23 const struct arphdr *ah; in ebt_arp_mt() 24 struct arphdr _arph; in ebt_arp_mt() 45 sap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt() 50 dap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt() 75 mp = skb_header_pointer(skb, sizeof(struct arphdr), in ebt_arp_mt() 86 mp = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
|
H A D | ebt_among.c | 82 const struct arphdr *ah; in get_ip_dst() 83 struct arphdr _arph; in get_ip_dst() 92 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst() 113 const struct arphdr *ah; in get_ip_src() 114 struct arphdr _arph; in get_ip_src() 123 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src()
|
H A D | ebt_snat.c | 31 const struct arphdr *ap; in ebt_snat_tg() 32 struct arphdr _ah; in ebt_snat_tg()
|
H A D | ebt_arpreply.c | 25 const struct arphdr *ap; in ebt_arpreply_tg() 26 struct arphdr _ah; in ebt_arpreply_tg()
|
H A D | ebt_log.c | 141 const struct arphdr *ah; in ebt_log_packet() 142 struct arphdr _arph; in ebt_log_packet()
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 99 struct arphdr *arp_in; in gdm_lte_emulate_arp() 100 struct arphdr *arp_out; in gdm_lte_emulate_arp() 129 arp_in = (struct arphdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_arp() 131 sizeof(struct arphdr)); in gdm_lte_emulate_arp() 134 arp_out = (struct arphdr *)arp_temp; in gdm_lte_emulate_arp() 135 arp_data_out = (struct arpdata *)(arp_temp + sizeof(struct arphdr)); in gdm_lte_emulate_arp() 138 memcpy(arp_out, arp_in, sizeof(struct arphdr)); in gdm_lte_emulate_arp() 161 skb_put_data(skb_out, arp_out, sizeof(struct arphdr)); in gdm_lte_emulate_arp()
|
/openbmc/linux/net/batman-adv/ |
H A D | distributed-arp-table.c | 236 addr += ETH_HLEN + sizeof(struct arphdr); in batadv_arp_hw_src() 1003 struct arphdr *arphdr; in batadv_arp_get_type() local 1023 arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN); in batadv_arp_get_type() 1026 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type() 1029 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_arp_get_type() 1032 if (arphdr->ar_hln != ETH_ALEN) in batadv_arp_get_type() 1035 if (arphdr->ar_pln != 4) in batadv_arp_get_type() 1054 if (arphdr->ar_op != htons(ARPOP_REQUEST)) { in batadv_arp_get_type() 1061 type = ntohs(arphdr->ar_op); in batadv_arp_get_type()
|
H A D | bridge_loop_avoidance.c | 381 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim() 1085 struct arphdr *arphdr; in batadv_bla_process_claim() local 1128 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim() 1133 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim() 1135 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim() 1137 if (arphdr->ar_hln != ETH_ALEN) in batadv_bla_process_claim() 1139 if (arphdr->ar_pln != 4) in batadv_bla_process_claim() 1142 hw_src = (u8 *)arphdr + sizeof(struct arphdr); in batadv_bla_process_claim()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_arp.h | 145 struct arphdr { struct
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | arp_tables.c | 82 static inline int arp_packet_match(const struct arphdr *arphdr, in arp_packet_match() argument 88 const char *arpptr = (char *)(arphdr + 1); in arp_packet_match() 94 (arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop)) in arp_packet_match() 98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match() 102 (arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro)) in arp_packet_match() 106 (arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln)) in arp_packet_match() 190 const struct arphdr *arp; in arpt_do_table()
|
H A D | arpt_mangle.c | 16 const struct arphdr *arp; in target()
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | rfc1201.c | 208 struct arphdr *arp = (struct arphdr *)soft->payload; in rx() 212 uint8_t *cptr = (uint8_t *)arp + sizeof(struct arphdr); in rx()
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | wl12xx_80211.h | 126 struct arphdr arp_hdr;
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 142 struct arphdr *arph; in ipvlan_get_L3_hdr() 394 struct arphdr *arph; in ipvlan_addr_lookup() 398 arph = (struct arphdr *)lyr3h; in ipvlan_addr_lookup()
|
/openbmc/linux/net/bridge/ |
H A D | br_arp_nd_proxy.c | 131 struct arphdr *parp; in br_do_proxy_suppress_arp() 148 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
|
H A D | br_netfilter_hooks.c | 786 if (unlikely(!pskb_may_pull(skb, sizeof(struct arphdr)))) in br_nf_forward_arp()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | decl.h | 215 struct arphdr hdr;
|
/openbmc/linux/net/ipv4/ |
H A D | ipconfig.c | 501 struct arphdr *rarp; in ic_rarp_recv() 514 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv() 518 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv() 538 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
|
H A D | arp.c | 551 struct arphdr *arp; in arp_create() 702 struct arphdr *arp; in arp_process() 966 const struct arphdr *arp; in arp_rcv()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 85 const struct arphdr *arp; in iwl_mei_rx_filter_arp()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_log_syslog.c | 66 const struct arphdr *ah; in dump_arp_packet() 68 struct arphdr _arph; in dump_arp_packet()
|
/openbmc/inarp/ |
H A D | inarp.c | 48 struct arphdr arp;
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 561 const struct arphdr *arp; in __skb_flow_dissect_arp() 562 struct arphdr _arp; in __skb_flow_dissect_arp()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 4242 struct arphdr *ahdr; in vmxnet3_suspend() 4291 sizeof(struct arphdr) + /* ARP header */ in vmxnet3_suspend() 4302 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
|