Home
last modified time | relevance | path

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

/linux-6.15/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()
906 bpf_htonl(key.remote_ipv6[3])); in ipip6_get_tunnel()
927 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6ip6_set_tunnel()
[all …]
H A Dtest_l4lb.c431 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
H A Dtest_l4lb_noinline.c430 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-6.15/samples/bpf/
H A Dtc_l2_redirect_kern.c192 tkey.remote_ipv6[0] = _htonl(0x2401db02); in _l2_to_ip6tun_ingress_redirect()
193 tkey.remote_ipv6[1] = 0; in _l2_to_ip6tun_ingress_redirect()
194 tkey.remote_ipv6[2] = 0; in _l2_to_ip6tun_ingress_redirect()
195 tkey.remote_ipv6[3] = _htonl(0x00000066); in _l2_to_ip6tun_ingress_redirect()
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h6296 __u32 remote_ipv6[4]; member
6321 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/linux-6.15/include/uapi/linux/
H A Dbpf.h6296 __u32 remote_ipv6[4]; member
6321 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/linux-6.15/net/core/
H A Dfilter.c4705 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4728 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4()
4729 sizeof(to->remote_ipv6)); in BPF_CALL_4()
4735 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_4()
4812 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4852 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4()
4853 sizeof(from->remote_ipv6)); in BPF_CALL_4()
5940 memcpy(to->remote_ipv6, x->props.saddr.a6, in BPF_CALL_5()
5941 sizeof(to->remote_ipv6)); in BPF_CALL_5()
5944 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_5()