Searched refs:arpptr (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | arpt_mangle.c | 12 unsigned char *arpptr; in target() local 28 arpptr = (*pskb)->nh.raw + sizeof(*arp); in target() 34 (arpptr + hln > (**pskb).tail)) in target() 36 memcpy(arpptr, mangle->src_devaddr, hln); in target() 38 arpptr += hln; in target() 41 (arpptr + pln > (**pskb).tail)) in target() 43 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target() 45 arpptr += pln; in target() 48 (arpptr + hln > (**pskb).tail)) in target() 50 memcpy(arpptr, mangle->tgt_devaddr, hln); in target() [all …]
|
D | arp_tables.c | 102 char *arpptr = (char *)(arphdr + 1); in arp_packet_match() local 141 src_devaddr = arpptr; in arp_packet_match() 142 arpptr += dev->addr_len; in arp_packet_match() 143 memcpy(&src_ipaddr, arpptr, sizeof(u32)); in arp_packet_match() 144 arpptr += sizeof(u32); in arp_packet_match() 145 tgt_devaddr = arpptr; in arp_packet_match() 146 arpptr += dev->addr_len; in arp_packet_match() 147 memcpy(&tgt_ipaddr, arpptr, sizeof(u32)); in arp_packet_match()
|