Searched refs:remote_ipv6 (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 143 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() 668 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ip6geneve_set_tunnel() 887 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in ipip6_set_tunnel() 913 bpf_printk("remote ip6 %x::%x\n", bpf_htonl(key.remote_ipv6[0]), in ipip6_get_tunnel() 914 bpf_htonl(key.remote_ipv6[3])); in ipip6_get_tunnel() [all …]
|
D | test_l4lb.c | 431 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()
|
D | test_l4lb_noinline_dynptr.c | 437 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
|
/Linux-v6.6/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-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 6120 __u32 remote_ipv6[4]; member 6145 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 6120 __u32 remote_ipv6[4]; member 6145 __u32 remote_ipv6[4]; /* Stored in network byte order */ member
|
/Linux-v6.6/net/core/ |
D | filter.c | 4568 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4() 4591 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4() 4592 sizeof(to->remote_ipv6)); in BPF_CALL_4() 4598 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_4() 4675 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4() 4715 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4() 4716 sizeof(from->remote_ipv6)); in BPF_CALL_4() 5715 memcpy(to->remote_ipv6, x->props.saddr.a6, in BPF_CALL_5() 5716 sizeof(to->remote_ipv6)); in BPF_CALL_5() 5719 memset(&to->remote_ipv6[1], 0, sizeof(__u32) * 3); in BPF_CALL_5()
|