Searched refs:arphdr (Results 1 – 11 of 11) sorted by relevance
/linux-2.4.37.9/drivers/net/wan/ |
D | sdla_fr.c | 4182 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/ |
D | arp_tables.c | 96 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 …]
|
D | arpt_mangle.c | 11 struct arphdr *arp; in target()
|
/linux-2.4.37.9/net/ipv4/ |
D | arp.c | 554 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()
|
D | ipconfig.c | 409 struct arphdr *rarp = (struct arphdr *)skb->h.raw; in ic_rarp_recv()
|
/linux-2.4.37.9/include/linux/ |
D | if_arp.h | 130 struct arphdr struct
|
D | skbuff.h | 160 struct arphdr *arph;
|
/linux-2.4.37.9/drivers/net/arcnet/ |
D | rfc1201.c | 211 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/ |
D | eth1394.c | 713 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/ |
D | strip.c | 2134 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/ |
D | bond_main.c | 4084 sizeof(struct arphdr) + in bond_xmit_activebackup()
|