Home
last modified time | relevance | path

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

/linux-2.6.39/net/bridge/netfilter/
Debt_arp.c22 const struct arphdr *ah; in ebt_arp_mt()
23 struct arphdr _arph; in ebt_arp_mt()
44 sap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
49 dap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
73 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()
Debt_among.c81 const struct arphdr *ah; in get_ip_dst()
82 struct arphdr _arph; in get_ip_dst()
91 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst()
112 const struct arphdr *ah; in get_ip_src()
113 struct arphdr _arph; in get_ip_src()
122 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src()
Debt_snat.c30 const struct arphdr *ap; in ebt_snat_tg()
31 struct arphdr _ah; in ebt_snat_tg()
Debt_arpreply.c24 const struct arphdr *ap; in ebt_arpreply_tg()
25 struct arphdr _ah; in ebt_arpreply_tg()
Debt_log.c137 const struct arphdr *ah; in ebt_log_packet()
138 struct arphdr _arph; in ebt_log_packet()
/linux-2.6.39/include/linux/
Dif_arp.h137 struct arphdr { struct
159 static inline struct arphdr *arp_hdr(const struct sk_buff *skb) in arp_hdr() argument
161 return (struct arphdr *)skb_network_header(skb); in arp_hdr()
167 return sizeof(struct arphdr) + (dev->addr_len + sizeof(u32)) * 2; in arp_hdr_len()
/linux-2.6.39/net/ipv4/netfilter/
Darp_tables.c101 static inline int arp_packet_match(const struct arphdr *arphdr, in arp_packet_match() argument
107 const char *arpptr = (char *)(arphdr + 1); in arp_packet_match()
114 if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop, in arp_packet_match()
118 arphdr->ar_op, arpinfo->arpop, arpinfo->arpop_mask); in arp_packet_match()
122 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd, in arp_packet_match()
126 arphdr->ar_hrd, arpinfo->arhrd, arpinfo->arhrd_mask); in arp_packet_match()
130 if (FWINV((arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro, in arp_packet_match()
134 arphdr->ar_pro, arpinfo->arpro, arpinfo->arpro_mask); in arp_packet_match()
138 if (FWINV((arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln, in arp_packet_match()
142 arphdr->ar_hln, arpinfo->arhln, arpinfo->arhln_mask); in arp_packet_match()
[all …]
Darpt_mangle.c15 const struct arphdr *arp; in target()
Dipt_CLUSTERIP.c494 struct arphdr *arp = arp_hdr(skb); in arp_mangle()
/linux-2.6.39/drivers/staging/bcm/
DProtocol.h13 struct arphdr arp;
/linux-2.6.39/drivers/net/arcnet/
Drfc1201.c206 struct arphdr *arp = (struct arphdr *) soft->payload; in rx()
210 uint8_t *cptr = (uint8_t *) arp + sizeof(struct arphdr); in rx()
/linux-2.6.39/drivers/net/wireless/wl12xx/
Dwl12xx_80211.h142 struct arphdr arp_hdr;
Dcmd.c663 struct arphdr *arp_hdr; in wl1271_cmd_build_arp_rsp()
/linux-2.6.39/net/ipv4/
Dipconfig.c464 struct arphdr *rarp; in ic_rarp_recv()
476 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv()
480 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
500 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
Darp.c626 struct arphdr *arp; in arp_create()
639 arp = (struct arphdr *) skb_put(skb, arp_hdr_len(dev)); in arp_create()
766 struct arphdr *arp; in arp_process()
980 struct arphdr *arp; in arp_rcv()
/linux-2.6.39/drivers/firewire/
Dnet.c541 struct arphdr *arp; in fwnet_finish_incoming_packet()
551 arp = (struct arphdr *)skb->data; in fwnet_finish_incoming_packet()
1343 struct arphdr *arp = (struct arphdr *)skb->data; in fwnet_tx()
/linux-2.6.39/net/core/
Dnetpoll.c423 struct arphdr *arp; in arp_reply()
494 arp = (struct arphdr *) skb_put(send_skb, size); in arp_reply()
/linux-2.6.39/drivers/net/vmxnet3/
Dvmxnet3_drv.c3129 struct arphdr *ahdr; in vmxnet3_suspend()
3173 sizeof(struct arphdr) + /* ARP header */ in vmxnet3_suspend()
3184 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
/linux-2.6.39/drivers/net/cxgb3/
Dsge.c1953 struct arphdr *arp; in cxgb3_arp_process()
/linux-2.6.39/drivers/net/bonding/
Dbond_main.c2811 struct arphdr *arp; in bond_arp_rcv()