Searched refs:remote_ipv6 (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 92 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6gretap_set_tunnel() 124 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in _ip6gretap_get_tunnel() 221 key.remote_ipv6[3] = bpf_htonl(0x11); in _ip4ip6erspan_set_tunnel() 362 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6vxlan_set_tunnel() 392 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in _ip6vxlan_get_tunnel() 468 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6geneve_set_tunnel() 599 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ipip6_set_tunnel() 626 bpf_trace_printk(fmt, sizeof(fmt), bpf_htonl(key.remote_ipv6[0]), in _ipip6_get_tunnel() 627 bpf_htonl(key.remote_ipv6[3])); in _ipip6_get_tunnel() 647 key.remote_ipv6[0] = bpf_htonl(0x2401db00); in _ip6ip6_set_tunnel() [all …]
|
D | test_l4lb.c | 433 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
|
D | test_l4lb_noinline.c | 430 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
|
/Linux-v5.10/samples/bpf/ |
D | tc_l2_redirect_kern.c | 197 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()
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf.h | 4126 __u32 remote_ipv6[4]; member 4144 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
|
/Linux-v5.10/include/uapi/linux/ |
D | bpf.h | 4126 __u32 remote_ipv6[4]; member 4144 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
|
/Linux-v5.10/net/core/ |
D | filter.c | 4232 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4() 4252 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4() 4253 sizeof(to->remote_ipv6)); in BPF_CALL_4() 4257 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_4() 4330 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4() 4368 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4() 4369 sizeof(from->remote_ipv6)); in BPF_CALL_4() 5244 memcpy(to->remote_ipv6, x->props.saddr.a6, in BPF_CALL_5() 5245 sizeof(to->remote_ipv6)); in BPF_CALL_5() 5248 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_5()
|