Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wan/
Dsdla_fr.c4182 arphdr_fr_t *arphdr; local
4200 arphdr = (arphdr_fr_t *)(ArpPacket + 1); // Go to ARP Packet
4203 arphdr->ar_hrd = 0x0F00; /* Frame Relay HW type */
4204 arphdr->ar_pro = 0x0008; /* IP Protocol */
4205 arphdr->ar_hln = 2; /* HW addr length */
4206 arphdr->ar_pln = 4; /* IP addr length */
4207 arphdr->ar_op = htons(0x08); /* InARP Request */
4208 arphdr->ar_sha = 0; /* src HW DLCI - Doesn't matter */
4210 arphdr->ar_sip = in_dev->ifa_list->ifa_local; /* Local Address */else
4211 arphdr->ar_sip = 0;
[all …]
/linux-2.4.37.9/net/ipv4/netfilter/
Darp_tables.c96 static inline int arp_packet_match(const struct arphdr *arphdr, in arp_packet_match() argument
102 char *arpptr = (char *)(arphdr + 1); in arp_packet_match()
109 if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop, in arp_packet_match()
113 arphdr->ar_op, arpinfo->arpop, arpinfo->arpop_mask); in arp_packet_match()
117 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd, in arp_packet_match()
121 arphdr->ar_hrd, arpinfo->arhrd, arpinfo->arhrd_mask); in arp_packet_match()
125 if (FWINV((arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro, in arp_packet_match()
129 arphdr->ar_pro, arpinfo->arpro, arpinfo->arpro_mask); in arp_packet_match()
133 if (FWINV((arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln, in arp_packet_match()
137 arphdr->ar_hln, arpinfo->arhln, arpinfo->arhln_mask); in arp_packet_match()
[all …]
Darpt_mangle.c11 struct arphdr *arp; in target()
/linux-2.4.37.9/net/ipv4/
Darp.c554 struct arphdr *arp; in arp_create()
561 skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4) in arp_create()
568 arp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4)); in arp_create()
699 struct arphdr *arp; in arp_process()
947 struct arphdr *arp; in arp_rcv()
950 if (!pskb_may_pull(skb, (sizeof(struct arphdr) + in arp_rcv()
Dipconfig.c409 struct arphdr *rarp = (struct arphdr *)skb->h.raw; in ic_rarp_recv()
/linux-2.4.37.9/include/linux/
Dif_arp.h130 struct arphdr struct
Dskbuff.h160 struct arphdr *arph;
/linux-2.4.37.9/drivers/net/arcnet/
Drfc1201.c211 struct arphdr *arp = (struct arphdr *) soft->payload; in rx()
215 uint8_t *cptr = (uint8_t *) arp + sizeof(struct arphdr); in rx()
/linux-2.4.37.9/drivers/ieee1394/
Deth1394.c713 struct arphdr *arp = (struct arphdr *)skb->data; in ether1394_parse_encap()
1175 struct arphdr *arp = (struct arphdr *)skb->data; in ether1394_arp_to_1394arp()
/linux-2.4.37.9/drivers/net/
Dstrip.c2134 struct arphdr *arphdr = (struct arphdr *)strip_info->rx_buff; in process_ARP_packet() local
2144 packetlen = 8 + (arphdr->ar_hln + arphdr->ar_pln) * 2; in process_ARP_packet()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_main.c4084 sizeof(struct arphdr) + in bond_xmit_activebackup()