Searched refs:src_ip6 (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | sock_fields.c | 62 char src_ip6[64], dst_ip6[64]; in print_sk() local 65 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk() 76 sk->src_ip6[0], sk->src_ip6[1], sk->src_ip6[2], sk->src_ip6[3], in print_sk() 77 src_ip6, sk->src_port, in print_sk() 140 memcmp(listen_sk.src_ip6, &in6addr_loopback, in check_result() 141 sizeof(listen_sk.src_ip6)) || in check_result() 154 memcmp(srv_sk.src_ip6, &in6addr_loopback, in check_result() 155 sizeof(srv_sk.src_ip6)) || in check_result() 169 memcmp(cli_sk.src_ip6, &in6addr_loopback, in check_result() 170 sizeof(cli_sk.src_ip6)) || in check_result()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields.c | 71 dst->src_ip6[0] = src->src_ip6[0]; in skcpy() 72 dst->src_ip6[1] = src->src_ip6[1]; in skcpy() 73 dst->src_ip6[2] = src->src_ip6[2]; in skcpy() 74 dst->src_ip6[3] = src->src_ip6[3]; in skcpy() 140 if (sk->family != AF_INET6 || !is_loopback6(sk->src_ip6) || in egress_read_sock_fields() 231 if (sk->family != AF_INET6 || !is_loopback6(sk->src_ip6) || in ingress_read_sock_fields()
|
D | connect6_prog.c | 57 if (sk->src_ip6[0] != tuple.ipv6.daddr[0] || in connect_v6_prog() 58 sk->src_ip6[1] != tuple.ipv6.daddr[1] || in connect_v6_prog() 59 sk->src_ip6[2] != tuple.ipv6.daddr[2] || in connect_v6_prog() 60 sk->src_ip6[3] != tuple.ipv6.daddr[3] || in connect_v6_prog()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.h | 78 struct in6_addr src_ip6; member 83 #define src_ipv6 ip.v6.src_ip6.s6_addr32 84 #define src_ipv6_addr ip.v6.src_ip6.s6_addr
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_sock.c | 55 offsetof(struct bpf_sock, src_ip6[0])), 203 offsetof(struct bpf_sock, src_ip6[3])), 325 offsetof(struct bpf_sock, src_ip6[3])),
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 226 __be32 src_ip6[4]; member 287 struct in6_addr src_ip6; member 291 #define src_ipv6 ip.v6.src_ip6.s6_addr32
|
D | i40e_virtchnl_pf.c | 3698 memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip, in i40e_vc_del_cloud_filter() 3699 sizeof(cfilter.ip.v6.src_ip6)); in i40e_vc_del_cloud_filter() 3745 sizeof(cfilter.ip.v6.src_ip6))) in i40e_vc_del_cloud_filter() 3832 memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip, in i40e_vc_add_cloud_filter() 3833 sizeof(cfilter->ip.v6.src_ip6)); in i40e_vc_add_cloud_filter()
|
D | i40e_ethtool.c | 3391 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry() 4893 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool()
|
D | i40e_txrx.c | 193 memcpy(&ipv6.saddr.in6_u.u6_addr32, data->src_ip6, in i40e_create_dummy_packet()
|
D | i40e_main.c | 8430 !ipv6_addr_any(&filter->ip.v6.src_ip6)) in i40e_add_del_cloud_filter_big_buf()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 5969 __u32 src_ip6[4]; member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 5969 __u32 src_ip6[4]; member
|
/linux-6.1.9/net/core/ |
D | filter.c | 8456 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in __sock_filter_check_attach_type() 8509 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_is_valid_access() 9676 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_convert_ctx_access() 9679 off -= offsetof(struct bpf_sock, src_ip6[0]); in bpf_sock_convert_ctx_access()
|