Searched refs:arpptr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/net/ipv4/netfilter/ |
D | arpt_mangle.c | 17 unsigned char *arpptr; in target() local 24 arpptr = skb_network_header(skb) + sizeof(*arp); in target() 30 (arpptr + hln > skb_tail_pointer(skb))) in target() 32 memcpy(arpptr, mangle->src_devaddr, hln); in target() 34 arpptr += hln; in target() 37 (arpptr + pln > skb_tail_pointer(skb))) in target() 39 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target() 41 arpptr += pln; in target() 44 (arpptr + hln > skb_tail_pointer(skb))) in target() 46 memcpy(arpptr, mangle->tgt_devaddr, hln); in target() [all …]
|
D | arp_tables.c | 88 const char *arpptr = (char *)(arphdr + 1); in arp_packet_match() local 109 src_devaddr = arpptr; in arp_packet_match() 110 arpptr += dev->addr_len; in arp_packet_match() 111 memcpy(&src_ipaddr, arpptr, sizeof(u32)); in arp_packet_match() 112 arpptr += sizeof(u32); in arp_packet_match() 113 tgt_devaddr = arpptr; in arp_packet_match() 114 arpptr += dev->addr_len; in arp_packet_match() 115 memcpy(&tgt_ipaddr, arpptr, sizeof(u32)); in arp_packet_match()
|
/Linux-v6.6/net/bridge/ |
D | br_arp_nd_proxy.c | 132 u8 *arpptr, *sha; in br_do_proxy_suppress_arp() local 148 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp() 149 sha = arpptr; in br_do_proxy_suppress_arp() 150 arpptr += dev->addr_len; /* sha */ in br_do_proxy_suppress_arp() 151 memcpy(&sip, arpptr, sizeof(sip)); in br_do_proxy_suppress_arp() 152 arpptr += sizeof(sip); in br_do_proxy_suppress_arp() 153 arpptr += dev->addr_len; /* tha */ in br_do_proxy_suppress_arp() 154 memcpy(&tip, arpptr, sizeof(tip)); in br_do_proxy_suppress_arp()
|
/Linux-v6.6/drivers/net/vxlan/ |
D | vxlan_core.c | 1828 u8 *arpptr, *sha; in arp_reduce() local 1848 arpptr = (u8 *)parp + sizeof(struct arphdr); in arp_reduce() 1849 sha = arpptr; in arp_reduce() 1850 arpptr += dev->addr_len; /* sha */ in arp_reduce() 1851 memcpy(&sip, arpptr, sizeof(sip)); in arp_reduce() 1852 arpptr += sizeof(sip); in arp_reduce() 1853 arpptr += dev->addr_len; /* tha */ in arp_reduce() 1854 memcpy(&tip, arpptr, sizeof(tip)); in arp_reduce()
|