Searched refs:arphdr (Results 1 - 13 of 13) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dif_arp.h128 struct arphdr struct
H A Dskbuff.h156 struct arphdr *arph;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dif_arp.h128 struct arphdr struct
H A Dskbuff.h156 struct arphdr *arph;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dsdla_fr.c4175 arphdr_fr_t *arphdr; local
4193 arphdr = (arphdr_fr_t *)(ArpPacket + 1); // Go to ARP Packet
4196 arphdr->ar_hrd = 0x0F00; /* Frame Relay HW type */
4197 arphdr->ar_pro = 0x0008; /* IP Protocol */
4198 arphdr->ar_hln = 2; /* HW addr length */
4199 arphdr->ar_pln = 4; /* IP addr length */
4200 arphdr->ar_op = htons(0x08); /* InARP Request */
4201 arphdr->ar_sha = 0; /* src HW DLCI - Doesn't matter */
4203 arphdr->ar_sip = in_dev->ifa_list->ifa_local; /* Local Address */else
4204 arphdr
4226 arphdr_fr_t *arphdr; local
4275 arphdr_1490_t *arphdr = (arphdr_1490_t *)buf; local
4293 arphdr_fr_t *arphdr = (arphdr_fr_t *)(ArpPacket + 1); /* Skip header */ local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Darp_tables.c97 static inline int arp_packet_match(const struct arphdr *arphdr, argument
103 char *arpptr = (char *)(arphdr + 1);
110 if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop,
114 arphdr->ar_op, arpinfo->arpop, arpinfo->arpop_mask);
118 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd,
122 arphdr->ar_hrd, arpinfo->arhrd, arpinfo->arhrd_mask);
126 if (FWINV((arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro,
130 arphdr->ar_pro, arpinfo->arpro, arpinfo->arpro_mask);
134 if (FWINV((arphdr
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Darp_tables.c97 static inline int arp_packet_match(const struct arphdr *arphdr, argument
103 char *arpptr = (char *)(arphdr + 1);
110 if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop,
114 arphdr->ar_op, arpinfo->arpop, arpinfo->arpop_mask);
118 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd,
122 arphdr->ar_hrd, arpinfo->arhrd, arpinfo->arhrd_mask);
126 if (FWINV((arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro,
130 arphdr->ar_pro, arpinfo->arpro, arpinfo->arpro_mask);
134 if (FWINV((arphdr
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Deth1394.c189 * entire arphdr) is the same format as the ip1394 header, so they
191 * arphdr is formatted based on hwaddr len and ipaddr len. We know what
204 arp_ptr = memcpy (arp_data, arp_ptr + sizeof(struct arphdr), sizeof (arp_data));
208 (sizeof (arp_data) + sizeof (struct arphdr)));
470 struct arphdr *arp = (struct arphdr *)skb->data;
494 skb_trim (skb, sizeof (struct arphdr) + 2*(dev->addr_len+4));
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Darp.c29 * Martin Seine : Move the arphdr structure
491 struct arphdr *arp;
505 skb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4)
512 arp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4));
609 struct arphdr *arp;
852 struct arphdr *arp = skb->nh.arph;
H A Dipconfig.c409 struct arphdr *rarp = (struct arphdr *)skb->h.raw;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/arcnet/
H A Drfc1201.c208 struct arphdr *arp = (struct arphdr *) soft->payload;
212 uint8_t *cptr = (uint8_t *) arp + sizeof(struct arphdr);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dstrip.c2113 struct arphdr *arphdr = (struct arphdr *)strip_info->rx_buff; local
2123 packetlen = 8 + (arphdr->ar_hln + arphdr->ar_pln) * 2;
2135 ntohs(arphdr->ar_op) == ARPOP_REQUEST ? "request" : "reply");*/
H A Dbonding.c1978 + sizeof(struct arphdr) +

Completed in 92 milliseconds