Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H 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/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c74 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
75 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
76 dst->src_ip6[2] = src->src_ip6[2]; in skcpy()
77 dst->src_ip6[3] = src->src_ip6[3]; in skcpy()
143 if (sk->family != AF_INET6 || !is_loopback6(sk->src_ip6) || in egress_read_sock_fields()
234 if (sk->family != AF_INET6 || !is_loopback6(sk->src_ip6) || in ingress_read_sock_fields()
H 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/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.h96 struct in6_addr src_ip6; member
101 #define src_ipv6 ip.v6.src_ip6.s6_addr32
102 #define src_ipv6_addr ip.v6.src_ip6.s6_addr
/linux/drivers/net/ethernet/sfc/
H A Dtc_conntrack.h46 struct in6_addr src_ip6, dst_ip6; member
H A Dtc.h101 struct in6_addr src_ip6, dst_ip6; member
157 struct in6_addr src_ip6, dst_ip6; member
H A 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()
1509 &encap->src_ip6, sizeof(encap->src_ip6)); in efx_mae_register_encap_match()
1511 0xff, sizeof(encap->src_ip6)); in efx_mae_register_encap_match()
1644 &match->value.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1646 &match->mask.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1949 rc = TABLE_POPULATE_KEY(key, ct, src_ip, conn->src_ip6); in efx_mae_populate_ct_key()
2184 &match->value.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
2186 &match->mask.src_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
H A Dtc.c379 MAP_KEY_AND_MASK(IPV6_ADDRS, ipv6_addrs, src, src_ip6); in efx_tc_flower_parse_match()
582 encap->src_ip6 = match->value.enc_src_ip6; in efx_tc_flower_record_encap_match()
916 if (!ipv6_addr_any(&match->mask.src_ip6)) in efx_tc_flower_translate_flhs_match()
918 match->mask.src_ip6 = match->mask.enc_src_ip6; in efx_tc_flower_translate_flhs_match()
957 !ipv6_addr_any(&match->mask.src_ip6) || in efx_tc_flower_flhs_needs_ar()
H A Dtc_conntrack.c208 conn->src_ip6 = fm.key->src; in efx_tc_ct_parse_match()
/linux/tools/testing/selftests/bpf/
H 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/drivers/net/ethernet/intel/i40e/
H A Di40e.h252 __be32 src_ip6[4]; member
313 struct in6_addr src_ip6; member
317 #define src_ipv6 ip.v6.src_ip6.s6_addr32
H A Di40e_virtchnl_pf.c3827 memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip, in i40e_vc_del_cloud_filter()
3828 sizeof(cfilter.ip.v6.src_ip6)); in i40e_vc_del_cloud_filter()
3874 sizeof(cfilter.ip.v6.src_ip6))) in i40e_vc_del_cloud_filter()
3963 memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip, in i40e_vc_add_cloud_filter()
3964 sizeof(cfilter->ip.v6.src_ip6)); in i40e_vc_add_cloud_filter()
H A Di40e_ethtool.c3396 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry()
4901 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool()
H A Di40e_txrx.c188 memcpy(&ipv6.saddr.in6_u.u6_addr32, data->src_ip6, in i40e_create_dummy_packet()
H A Di40e_main.c8515 !ipv6_addr_any(&filter->ip.v6.src_ip6)) in i40e_add_del_cloud_filter_big_buf()
/linux/tools/include/uapi/linux/
H A Dbpf.h6343 __u32 src_ip6[4]; member
/linux/include/uapi/linux/
H A Dbpf.h6343 __u32 src_ip6[4]; member
/linux/net/core/
H A Dfilter.c8776 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in __sock_filter_check_attach_type()
8829 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_is_valid_access()
10000 case bpf_ctx_range_till(struct bpf_sock, src_ip6[0], src_ip6[3]): in bpf_sock_convert_ctx_access()
10003 off -= offsetof(struct bpf_sock, src_ip6[0]); in bpf_sock_convert_ctx_access()