Lines Matching refs:memcpy
300 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v6()
301 memcpy(new_eth->eth_source, old_eth->eth_dest, 6); in encap_v6()
317 memcpy(ip6h->daddr.in6_u.u6_addr32, dst->dstv6, 16); in encap_v6()
356 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v4()
357 memcpy(new_eth->eth_source, old_eth->eth_dest, 6); in encap_v4()
394 memcpy(tmp_mac, eth->eth_source, 6); in swap_mac_and_send()
395 memcpy(eth->eth_source, eth->eth_dest, 6); in swap_mac_and_send()
396 memcpy(eth->eth_dest, tmp_mac, 6); in swap_mac_and_send()
450 memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); in send_icmp6_reply()
451 memcpy(ip6h->saddr.in6_u.u6_addr32, ip6h->daddr.in6_u.u6_addr32, 16); in send_icmp6_reply()
452 memcpy(ip6h->daddr.in6_u.u6_addr32, tmp_addr, 16); in send_icmp6_reply()
476 memcpy(pckt->flow.srcv6, ip6h->daddr.in6_u.u6_addr32, 16); in parse_icmpv6()
477 memcpy(pckt->flow.dstv6, ip6h->saddr.in6_u.u6_addr32, 16); in parse_icmpv6()
626 memcpy(pckt->flow.srcv6, ip6h->saddr.in6_u.u6_addr32, 16); in process_l3_headers_v6()
627 memcpy(pckt->flow.dstv6, ip6h->daddr.in6_u.u6_addr32, 16); in process_l3_headers_v6()
705 memcpy(vip.vipv6, pckt.flow.dstv6, 16); in process_packet()