| /Linux-v5.4/include/linux/ |
| 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()
|
| /Linux-v5.4/net/bridge/netfilter/ |
| 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()
|
| 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()
|
| D | ebt_snat.c | 31 const struct arphdr *ap; in ebt_snat_tg() 32 struct arphdr _ah; in ebt_snat_tg()
|
| D | ebt_arpreply.c | 25 const struct arphdr *ap; in ebt_arpreply_tg() 26 struct arphdr _ah; in ebt_arpreply_tg()
|
| D | ebt_log.c | 141 const struct arphdr *ah; in ebt_log_packet() 142 struct arphdr _arph; in ebt_log_packet()
|
| /Linux-v5.4/net/ipv4/netfilter/ |
| D | nf_log_arp.c | 46 const struct arphdr *ah; in dump_arp_packet() 47 struct arphdr _arph; in dump_arp_packet()
|
| 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() 189 const struct arphdr *arp; in arpt_do_table()
|
| D | arpt_mangle.c | 16 const struct arphdr *arp; in target()
|
| D | ipt_CLUSTERIP.c | 609 struct arphdr *arp = arp_hdr(skb); in arp_mangle()
|
| /Linux-v5.4/drivers/staging/gdm724x/ |
| D | gdm_lte.c | 98 struct arphdr *arp_in; in gdm_lte_emulate_arp() 99 struct arphdr *arp_out; in gdm_lte_emulate_arp() 128 arp_in = (struct arphdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_arp() 130 sizeof(struct arphdr)); in gdm_lte_emulate_arp() 133 arp_out = (struct arphdr *)arp_temp; in gdm_lte_emulate_arp() 134 arp_data_out = (struct arpdata *)(arp_temp + sizeof(struct arphdr)); in gdm_lte_emulate_arp() 137 memcpy(arp_out, arp_in, sizeof(struct arphdr)); in gdm_lte_emulate_arp() 160 skb_put_data(skb_out, arp_out, sizeof(struct arphdr)); in gdm_lte_emulate_arp()
|
| /Linux-v5.4/net/batman-adv/ |
| D | distributed-arp-table.c | 235 addr += ETH_HLEN + sizeof(struct arphdr); in batadv_arp_hw_src() 1055 struct arphdr *arphdr; in batadv_arp_get_type() local 1075 arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN); in batadv_arp_get_type() 1078 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type() 1081 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_arp_get_type() 1084 if (arphdr->ar_hln != ETH_ALEN) in batadv_arp_get_type() 1087 if (arphdr->ar_pln != 4) in batadv_arp_get_type() 1106 if (arphdr->ar_op != htons(ARPOP_REQUEST)) { in batadv_arp_get_type() 1113 type = ntohs(arphdr->ar_op); in batadv_arp_get_type()
|
| D | bridge_loop_avoidance.c | 374 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim() 1079 struct arphdr *arphdr; in batadv_bla_process_claim() local 1122 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim() 1127 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim() 1129 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim() 1131 if (arphdr->ar_hln != ETH_ALEN) in batadv_bla_process_claim() 1133 if (arphdr->ar_pln != 4) in batadv_bla_process_claim() 1136 hw_src = (u8 *)arphdr + sizeof(struct arphdr); in batadv_bla_process_claim()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | if_arp.h | 144 struct arphdr { struct
|
| /Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
| D | wl12xx_80211.h | 126 struct arphdr arp_hdr;
|
| /Linux-v5.4/drivers/net/arcnet/ |
| 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()
|
| /Linux-v5.4/drivers/net/ipvlan/ |
| 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()
|
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
| D | decl.h | 228 struct arphdr hdr;
|
| /Linux-v5.4/net/bridge/ |
| D | br_arp_nd_proxy.c | 126 struct arphdr *parp; in br_do_proxy_suppress_arp() 143 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
|
| /Linux-v5.4/net/ipv4/ |
| D | ipconfig.c | 477 struct arphdr *rarp; in ic_rarp_recv() 490 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv() 494 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv() 514 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
|
| D | arp.c | 528 struct arphdr *arp; in arp_create() 679 struct arphdr *arp; in arp_process() 939 const struct arphdr *arp; in arp_rcv()
|
| /Linux-v5.4/net/core/ |
| D | flow_dissector.c | 446 const struct arphdr *arp; in __skb_flow_dissect_arp() 447 struct arphdr _arp; in __skb_flow_dissect_arp()
|
| /Linux-v5.4/drivers/net/bonding/ |
| D | bond_main.c | 2542 struct arphdr *arp = (struct arphdr *)skb->data; in bond_arp_rcv() 2628 if (arp != (struct arphdr *)skb->data) in bond_arp_rcv()
|
| /Linux-v5.4/drivers/net/vmxnet3/ |
| D | vmxnet3_drv.c | 3618 struct arphdr *ahdr; in vmxnet3_suspend() 3668 sizeof(struct arphdr) + /* ARP header */ in vmxnet3_suspend() 3679 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
|
| /Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_selftests.c | 1542 struct arphdr *ahdr; in stmmac_test_arp_validate()
|