Home
last modified time | relevance | path

Searched refs:dst_ip6 (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c62 char src_ip6[64], dst_ip6[64]; in print_sk() local
67 inet_ntop(AF_INET6, &sk->dst_ip6, dst_ip6, sizeof(dst_ip6)); in print_sk()
79 sk->dst_ip6[0], sk->dst_ip6[1], sk->dst_ip6[2], sk->dst_ip6[3], in print_sk()
80 dst_ip6, ntohs(sk->dst_port)); in print_sk()
142 listen_sk.dst_ip6[0] || listen_sk.dst_ip6[1] || in check_result()
143 listen_sk.dst_ip6[2] || listen_sk.dst_ip6[3] || in check_result()
156 memcmp(srv_sk.dst_ip6, &in6addr_loopback, in check_result()
157 sizeof(srv_sk.dst_ip6)) || in check_result()
171 memcmp(cli_sk.dst_ip6, &in6addr_loopback, in check_result()
172 sizeof(cli_sk.dst_ip6)) || in check_result()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c80 dst->dst_ip6[0] = src->dst_ip6[0]; in skcpy()
81 dst->dst_ip6[1] = src->dst_ip6[1]; in skcpy()
82 dst->dst_ip6[2] = src->dst_ip6[2]; in skcpy()
83 dst->dst_ip6[3] = src->dst_ip6[3]; in skcpy()
Dverifier_sock.c386 __imm_const(__imm_0, offsetof(struct bpf_sock, dst_ip6[0]) + 1), in dst_ip6_load_2nd_byte()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h95 struct in6_addr dst_ip6; member
99 #define dst_ipv6 ip.v6.dst_ip6.s6_addr32
100 #define dst_ipv6_addr ip.v6.dst_ip6.s6_addr
/linux-6.12.1/drivers/net/ethernet/sfc/
Dtc_conntrack.h46 struct in6_addr src_ip6, dst_ip6; member
Dtc.h101 struct in6_addr src_ip6, dst_ip6; member
157 struct in6_addr src_ip6, dst_ip6; member
Dtc_encap_actions.h50 struct in6_addr dst_ip6; member
Dmae.c693 CHECK(DST_IP6, dst_ip6) || in efx_mae_match_check_caps()
790 CHECK(ENC_DST_IP6, dst_ip6) || in efx_mae_match_check_caps_lhs()
1513 &encap->dst_ip6, sizeof(encap->dst_ip6)); in efx_mae_register_encap_match()
1515 0xff, sizeof(encap->dst_ip6)); in efx_mae_register_encap_match()
1648 &match->value.dst_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1650 &match->mask.dst_ip6, sizeof(struct in6_addr)); in efx_mae_populate_lhs_match_criteria()
1955 rc = TABLE_POPULATE_KEY(key, ct, dst_ip, conn->dst_ip6); in efx_mae_populate_ct_key()
2188 &match->value.dst_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
2190 &match->mask.dst_ip6, sizeof(struct in6_addr)); in efx_mae_populate_match_criteria()
Dtc_encap_actions.c126 neigh->dst_ip6 = flow6.daddr; in efx_bind_neigh()
534 keysize = sizeof(keys.dst_ip6); in efx_neigh_event()
554 memcpy(&keys.dst_ip6, n->primary_key, n->tbl->key_len); in efx_neigh_event()
Dtc.c380 MAP_KEY_AND_MASK(IPV6_ADDRS, ipv6_addrs, dst, dst_ip6); in efx_tc_flower_parse_match()
583 encap->dst_ip6 = match->value.enc_dst_ip6; in efx_tc_flower_record_encap_match()
920 if (!ipv6_addr_any(&match->mask.dst_ip6)) in efx_tc_flower_translate_flhs_match()
922 match->mask.dst_ip6 = match->mask.enc_dst_ip6; in efx_tc_flower_translate_flhs_match()
958 !ipv6_addr_any(&match->mask.dst_ip6) || in efx_tc_flower_flhs_needs_ar()
Dtc_counters.c116 &encap->neigh->dst_ip6, in efx_tc_counter_work()
Dtc_conntrack.c215 conn->dst_ip6 = fm.key->dst; in efx_tc_ct_parse_match()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e.h251 __be32 dst_ip6[4]; member
312 struct in6_addr dst_ip6; member
316 #define dst_ipv6 ip.v6.dst_ip6.s6_addr32
Di40e_virtchnl_pf.c3824 memcpy(&cfilter.ip.v6.dst_ip6, tcf.dst_ip, in i40e_vc_del_cloud_filter()
3825 sizeof(cfilter.ip.v6.dst_ip6)); in i40e_vc_del_cloud_filter()
3873 if (memcmp(&cfilter.ip.v6.dst_ip6, &cf->ip.v6.dst_ip6, in i40e_vc_del_cloud_filter()
3960 memcpy(&cfilter->ip.v6.dst_ip6, tcf.dst_ip, in i40e_vc_add_cloud_filter()
3961 sizeof(cfilter->ip.v6.dst_ip6)); in i40e_vc_add_cloud_filter()
Di40e_ethtool.c3398 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->dst_ip6, in i40e_get_ethtool_fdir_entry()
4899 memcpy(input->dst_ip6, fsp->h_u.ah_ip6_spec.ip6src, in i40e_add_fdir_ethtool()
Di40e_txrx.c190 memcpy(&ipv6.daddr.in6_u.u6_addr32, data->dst_ip6, in i40e_create_dummy_packet()
Di40e_main.c8544 !ipv6_addr_any(&filter->ip.v6.dst_ip6)) { in i40e_add_del_cloud_filter_big_buf()
/linux-6.12.1/include/uapi/linux/
Dbpf.h6348 __u32 dst_ip6[4]; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h6348 __u32 dst_ip6[4]; member
/linux-6.12.1/net/core/
Dfilter.c8831 case bpf_ctx_range_till(struct bpf_sock, dst_ip6[0], dst_ip6[3]): in bpf_sock_is_valid_access()
10018 case bpf_ctx_range_till(struct bpf_sock, dst_ip6[0], dst_ip6[3]): in bpf_sock_convert_ctx_access()
10021 off -= offsetof(struct bpf_sock, dst_ip6[0]); in bpf_sock_convert_ctx_access()