Home
last modified time | relevance | path

Searched refs:arphdr (Results 1 – 25 of 31) sorted by relevance

12

/linux/include/linux/
A Dif_arp.h25 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 Debt_arp.c23 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 Debt_among.c82 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 Debt_snat.c31 const struct arphdr *ap; in ebt_snat_tg()
32 struct arphdr _ah; in ebt_snat_tg()
A Debt_arpreply.c25 const struct arphdr *ap; in ebt_arpreply_tg()
26 struct arphdr _ah; in ebt_arpreply_tg()
A Debt_log.c141 const struct arphdr *ah; in ebt_log_packet()
142 struct arphdr _arph; in ebt_log_packet()
/linux/net/batman-adv/
A Ddistributed-arp-table.c237 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 Dbridge_loop_avoidance.c380 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 Dgdm_lte.c98 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 Darp_tables.c82 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 Darpt_mangle.c16 const struct arphdr *arp; in target()
A Dipt_CLUSTERIP.c641 struct arphdr *arp = arp_hdr(skb); in clusterip_arp_mangle()
/linux/include/uapi/linux/
A Dif_arp.h145 struct arphdr { struct
/linux/drivers/net/arcnet/
A Drfc1201.c208 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 Dwl12xx_80211.h126 struct arphdr arp_hdr;
/linux/drivers/net/ipvlan/
A Dipvlan_core.c142 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 Dbr_arp_nd_proxy.c131 struct arphdr *parp; in br_do_proxy_suppress_arp()
148 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
A Dbr_netfilter_hooks.c665 if (unlikely(!pskb_may_pull(skb, sizeof(struct arphdr)))) in br_nf_forward_arp()
/linux/drivers/net/wireless/marvell/mwifiex/
A Ddecl.h228 struct arphdr hdr;
/linux/net/ipv4/
A Dipconfig.c501 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 Darp.c530 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 Drtw_br_ext.c444 struct arphdr *arp = (struct arphdr *)(skb->data + ETH_HLEN); in nat25_db_handle()
/linux/net/netfilter/
A Dnf_log_syslog.c60 const struct arphdr *ah; in dump_arp_packet()
62 struct arphdr _arph; in dump_arp_packet()
/linux/net/core/
A Dflow_dissector.c481 const struct arphdr *arp; in __skb_flow_dissect_arp()
482 struct arphdr _arp; in __skb_flow_dissect_arp()
/linux/drivers/net/vmxnet3/
A Dvmxnet3_drv.c3819 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()

Completed in 53 milliseconds

12