Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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.6.21/tools/testing/selftests/bpf/progs/
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()
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.6.21/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h92 struct in6_addr src_ip6; member
97 #define src_ipv6 ip.v6.src_ip6.s6_addr32
98 #define src_ipv6_addr ip.v6.src_ip6.s6_addr
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_conntrack.h46 struct in6_addr src_ip6, dst_ip6; member
Dtc.h99 struct in6_addr src_ip6, dst_ip6; member
151 struct in6_addr src_ip6, dst_ip6; member
Dmae.c692 CHECK(SRC_IP6, src_ip6) || in efx_mae_match_check_caps()
789 CHECK(ENC_SRC_IP6, src_ip6) || in efx_mae_match_check_caps_lhs()
1508 &encap->src_ip6, sizeof(encap->src_ip6)); in efx_mae_register_encap_match()
1510 0xff, sizeof(encap->src_ip6)); in efx_mae_register_encap_match()
1643 &match->value.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1645 &match->mask.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1893 rc = TABLE_POPULATE_KEY(key, ct, src_ip, conn->src_ip6); in efx_mae_populate_ct_key()
2128 &match->value.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
2130 &match->mask.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
Dtc_conntrack.c208 conn->src_ip6 = fm.key->src; in efx_tc_ct_parse_match()
Dtc.c380 MAP_KEY_AND_MASK(IPV6_ADDRS, ipv6_addrs, src, src_ip6); in efx_tc_flower_parse_match()
586 encap->src_ip6 = match->value.enc_src_ip6; in efx_tc_flower_record_encap_match()
/linux-6.6.21/tools/testing/selftests/bpf/
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.6.21/drivers/net/ethernet/intel/i40e/
Di40e.h226 __be32 src_ip6[4]; member
287 struct in6_addr src_ip6; member
291 #define src_ipv6 ip.v6.src_ip6.s6_addr32
Di40e_virtchnl_pf.c3828 memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip, in i40e_vc_del_cloud_filter()
3829 sizeof(cfilter.ip.v6.src_ip6)); in i40e_vc_del_cloud_filter()
3875 sizeof(cfilter.ip.v6.src_ip6))) in i40e_vc_del_cloud_filter()
3964 memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip, in i40e_vc_add_cloud_filter()
3965 sizeof(cfilter->ip.v6.src_ip6)); in i40e_vc_add_cloud_filter()
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()
Di40e_txrx.c193 memcpy(&ipv6.saddr.in6_u.u6_addr32, data->src_ip6, in i40e_create_dummy_packet()
Di40e_main.c8455 !ipv6_addr_any(&filter->ip.v6.src_ip6)) in i40e_add_del_cloud_filter_big_buf()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h6195 __u32 src_ip6[4]; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h6195 __u32 src_ip6[4]; member
/linux-6.6.21/net/core/
Dfilter.c8679 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in __sock_filter_check_attach_type()
8732 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_is_valid_access()
9893 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_convert_ctx_access()
9896 off -= offsetof(struct bpf_sock, src_ip6[0]); in bpf_sock_convert_ctx_access()