Home
last modified time | relevance | path

Searched refs:remote_ipv6 (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c123 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6gretap_set_tunnel()
154 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in ip6gretap_get_tunnel()
246 key.remote_ipv6[3] = bpf_htonl(0x11); in ip4ip6erspan_set_tunnel()
500 key.remote_ipv6[3] = bpf_htonl(*local_ip); in ip6vxlan_set_tunnel_dst()
531 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6vxlan_set_tunnel_src()
572 bpf_ntohl(key.remote_ipv6[3]), key.tunnel_label, in ip6vxlan_get_tunnel_src()
657 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6geneve_set_tunnel()
879 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ipip6_set_tunnel()
905 bpf_printk("remote ip6 %x::%x\n", bpf_htonl(key.remote_ipv6[0]), in ipip6_get_tunnel()
906 bpf_htonl(key.remote_ipv6[3])); in ipip6_get_tunnel()
[all …]
H A Dtest_l4lb_noinline.c430 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
H A Dtest_l4lb.c431 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
H A Dtest_l4lb_noinline_dynptr.c437 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
/linux/include/uapi/linux/
H A Dbpf.h6285 __u32 remote_ipv6[4]; member
6310 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h6285 __u32 remote_ipv6[4]; member
6310 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/linux/net/core/
H A Dfilter.c4696 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4719 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4()
4720 sizeof(to->remote_ipv6)); in BPF_CALL_4()
4726 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_4()
4803 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4843 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4()
4844 sizeof(from->remote_ipv6)); in BPF_CALL_4()
5872 memcpy(to->remote_ipv6, x->props.saddr.a6, in BPF_CALL_5()
5873 sizeof(to->remote_ipv6)); in BPF_CALL_5()
5876 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_5()