Home
last modified time | relevance | path

Searched refs:src_ip6 (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dsock_fields.c62 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 Dtest_sock_fields.c71 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 Dconnect6_prog.c57 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 Dice_tc_lib.h91 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 Dtest_sock.c55 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 Dtc.h41 struct in6_addr src_ip6, dst_ip6; member
A Dmae.c425 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 Dtc.c276 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 Di40e.h227 __be32 src_ip6[4]; member
288 struct in6_addr src_ip6; member
292 #define src_ipv6 ip.v6.src_ip6.s6_addr32
A Di40e_virtchnl_pf.c3699 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 Di40e_ethtool.c3393 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 Di40e_txrx.c193 memcpy(&ipv6.saddr.in6_u.u6_addr32, data->src_ip6, in i40e_create_dummy_packet()
A Di40e_main.c8431 !ipv6_addr_any(&filter->ip.v6.src_ip6)) in i40e_add_del_cloud_filter_big_buf()
/linux-6.3-rc2/include/uapi/linux/
A Dbpf.h6047 __u32 src_ip6[4]; member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf.h6047 __u32 src_ip6[4]; member
/linux-6.3-rc2/net/core/
A Dfilter.c8508 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()

Completed in 147 milliseconds