/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A 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.3-rc2/tools/testing/selftests/bpf/progs/ |
A 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()
|
A 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.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.h | 91 struct in6_addr src_ip6; member 96 #define src_ipv6 ip.v6.src_ip6.s6_addr32 97 #define src_ipv6_addr ip.v6.src_ip6.s6_addr
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A 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.3-rc2/drivers/net/ethernet/sfc/ |
A D | tc.h | 41 struct in6_addr src_ip6, dst_ip6; member
|
A D | mae.c | 425 CHECK(SRC_IP6, src_ip6) || in efx_mae_match_check_caps() 908 &match->value.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria() 910 &match->mask.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
|
A D | tc.c | 276 MAP_KEY_AND_MASK(IPV6_ADDRS, ipv6_addrs, src, src_ip6); in efx_tc_flower_parse_match()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e.h | 227 __be32 src_ip6[4]; member 288 struct in6_addr src_ip6; member 292 #define src_ipv6 ip.v6.src_ip6.s6_addr32
|
A D | i40e_virtchnl_pf.c | 3699 memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip, in i40e_vc_del_cloud_filter() 3700 sizeof(cfilter.ip.v6.src_ip6)); in i40e_vc_del_cloud_filter() 3746 sizeof(cfilter.ip.v6.src_ip6))) in i40e_vc_del_cloud_filter() 3833 memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip, in i40e_vc_add_cloud_filter() 3834 sizeof(cfilter->ip.v6.src_ip6)); in i40e_vc_add_cloud_filter()
|
A D | i40e_ethtool.c | 3393 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry() 4895 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool()
|
A D | i40e_txrx.c | 193 memcpy(&ipv6.saddr.in6_u.u6_addr32, data->src_ip6, in i40e_create_dummy_packet()
|
A D | i40e_main.c | 8431 !ipv6_addr_any(&filter->ip.v6.src_ip6)) in i40e_add_del_cloud_filter_big_buf()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | bpf.h | 6047 __u32 src_ip6[4]; member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | bpf.h | 6047 __u32 src_ip6[4]; member
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 8508 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in __sock_filter_check_attach_type() 8561 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_is_valid_access() 9724 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_convert_ctx_access() 9727 off -= offsetof(struct bpf_sock, src_ip6[0]); in bpf_sock_convert_ctx_access()
|