/linux/include/linux/ |
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()
|
/linux/net/bridge/netfilter/ |
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()
|
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()
|
A D | ebt_snat.c | 31 const struct arphdr *ap; in ebt_snat_tg() 32 struct arphdr _ah; in ebt_snat_tg()
|
A D | ebt_arpreply.c | 25 const struct arphdr *ap; in ebt_arpreply_tg() 26 struct arphdr _ah; in ebt_arpreply_tg()
|
A D | ebt_log.c | 141 const struct arphdr *ah; in ebt_log_packet() 142 struct arphdr _arph; in ebt_log_packet()
|
/linux/net/batman-adv/ |
A D | distributed-arp-table.c | 237 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()
|
A D | bridge_loop_avoidance.c | 380 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim() 1084 struct arphdr *arphdr; in batadv_bla_process_claim() local 1127 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim() 1132 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim() 1134 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim() 1136 if (arphdr->ar_hln != ETH_ALEN) in batadv_bla_process_claim() 1138 if (arphdr->ar_pln != 4) in batadv_bla_process_claim() 1141 hw_src = (u8 *)arphdr + sizeof(struct arphdr); in batadv_bla_process_claim()
|
/linux/drivers/staging/gdm724x/ |
A 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/net/ipv4/netfilter/ |
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()
|
A D | arpt_mangle.c | 16 const struct arphdr *arp; in target()
|
A D | ipt_CLUSTERIP.c | 641 struct arphdr *arp = arp_hdr(skb); in clusterip_arp_mangle()
|
/linux/include/uapi/linux/ |
A D | if_arp.h | 145 struct arphdr { struct
|
/linux/drivers/net/arcnet/ |
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()
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | wl12xx_80211.h | 126 struct arphdr arp_hdr;
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan_core.c | 142 struct arphdr *arph; in ipvlan_get_L3_hdr() 395 struct arphdr *arph; in ipvlan_addr_lookup() 399 arph = (struct arphdr *)lyr3h; in ipvlan_addr_lookup()
|
/linux/net/bridge/ |
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()
|
A D | br_netfilter_hooks.c | 665 if (unlikely(!pskb_may_pull(skb, sizeof(struct arphdr)))) in br_nf_forward_arp()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | decl.h | 228 struct arphdr hdr;
|
/linux/net/ipv4/ |
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()
|
A D | arp.c | 530 struct arphdr *arp; in arp_create() 681 struct arphdr *arp; in arp_process() 945 const struct arphdr *arp; in arp_rcv()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_br_ext.c | 444 struct arphdr *arp = (struct arphdr *)(skb->data + ETH_HLEN); in nat25_db_handle()
|
/linux/net/netfilter/ |
A D | nf_log_syslog.c | 60 const struct arphdr *ah; in dump_arp_packet() 62 struct arphdr _arph; in dump_arp_packet()
|
/linux/net/core/ |
A D | flow_dissector.c | 481 const struct arphdr *arp; in __skb_flow_dissect_arp() 482 struct arphdr _arp; in __skb_flow_dissect_arp()
|
/linux/drivers/net/vmxnet3/ |
A D | vmxnet3_drv.c | 3819 struct arphdr *ahdr; in vmxnet3_suspend() 3868 sizeof(struct arphdr) + /* ARP header */ in vmxnet3_suspend() 3879 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
|