Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c143 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6gretap_set_tunnel()
174 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in ip6gretap_get_tunnel()
265 key.remote_ipv6[3] = bpf_htonl(0x11); in ip4ip6erspan_set_tunnel()
518 key.remote_ipv6[3] = bpf_htonl(*local_ip); in ip6vxlan_set_tunnel_dst()
549 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6vxlan_set_tunnel_src()
590 bpf_ntohl(key.remote_ipv6[3]), key.tunnel_label, in ip6vxlan_get_tunnel_src()
675 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6geneve_set_tunnel()
894 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ipip6_set_tunnel()
921 bpf_htonl(key.remote_ipv6[3])); in ipip6_get_tunnel()
942 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6ip6_set_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()
/openbmc/linux/samples/bpf/
H A Dtc_l2_redirect_kern.c197 tkey.remote_ipv6[0] = _htonl(0x2401db02); in _l2_to_ip6tun_ingress_redirect()
198 tkey.remote_ipv6[1] = 0; in _l2_to_ip6tun_ingress_redirect()
199 tkey.remote_ipv6[2] = 0; in _l2_to_ip6tun_ingress_redirect()
200 tkey.remote_ipv6[3] = _htonl(0x00000066); in _l2_to_ip6tun_ingress_redirect()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6145 __u32 remote_ipv6[4]; member
6170 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6142 __u32 remote_ipv6[4]; member
6167 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
/openbmc/linux/net/core/
H A Dfilter.c4657 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4680 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4()
4681 sizeof(to->remote_ipv6)); in BPF_CALL_4()
4687 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_4()
4764 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4804 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4()
4805 sizeof(from->remote_ipv6)); in BPF_CALL_4()
5804 memcpy(to->remote_ipv6, x->props.saddr.a6, in BPF_CALL_5()
5805 sizeof(to->remote_ipv6)); in BPF_CALL_5()
5808 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_5()