Home
last modified time | relevance | path

Searched refs:ip6dst (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c69 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec()
76 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec()
86 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec()
92 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec()
164 memcpy(&rule->key.dst_ip, fsp->h_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
170 memcpy(&rule->mask.dst_ip, fsp->m_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
179 memcpy(&rule->key.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in gve_generate_flow_rule()
184 memcpy(&rule->mask.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in gve_generate_flow_rule()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c879 if (!ipv6_addr_any((struct in6_addr *)ipv6_usr_mask->ip6dst)) { in otx2_prepare_ipv6_flow()
880 memcpy(&pkt->ip6dst, &ipv6_usr_hdr->ip6dst, in otx2_prepare_ipv6_flow()
881 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow()
882 memcpy(&pmask->ip6dst, &ipv6_usr_mask->ip6dst, in otx2_prepare_ipv6_flow()
883 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow()
908 if (!ipv6_addr_any((struct in6_addr *)ipv6_l4_mask->ip6dst)) { in otx2_prepare_ipv6_flow()
909 memcpy(&pkt->ip6dst, &ipv6_l4_hdr->ip6dst, in otx2_prepare_ipv6_flow()
910 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow()
911 memcpy(&pmask->ip6dst, &ipv6_l4_mask->ip6dst, in otx2_prepare_ipv6_flow()
912 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow()
[all …]
H A Dotx2_tc.c809 memcpy(&flow_spec->ip6dst, in otx2_tc_prepare_flow()
811 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
812 memcpy(&flow_mask->ip6dst, in otx2_tc_prepare_flow()
814 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c704 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
705 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
706 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule()
775 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
776 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
777 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule()
993 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
994 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule()
997 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1052 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c851 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
852 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
853 ip6_fill_mask(ip6_mask->ip6dst); in ef4_ethtool_get_class_rule()
922 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
923 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
924 ip6_fill_mask(uip6_mask->ip6dst); in ef4_ethtool_get_class_rule()
1112 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule()
1113 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in ef4_ethtool_set_class_rule()
1116 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
1171 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c703 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
704 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
705 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule()
774 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
775 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
776 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule()
1002 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
1003 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule()
1006 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1061 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c280 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6()
295 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6()
308 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6()
620 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6dst)) in validate_ip6()
639 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) in validate_tcpudp6()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c984 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
991 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1001 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1007 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1015 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1022 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1176 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1183 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1194 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1200 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
[all …]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c726 fsp->h_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
728 fsp->m_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
778 fsp->h_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
780 fsp->m_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
1066 addr6 = (struct in6_addr *)fsp->h_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
1067 mask6 = (struct in6_addr *)fsp->m_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
1105 addr6 = (struct in6_addr *)fsp->h_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
1106 mask6 = (struct in6_addr *)fsp->m_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
/linux/include/uapi/linux/
H A Dethtool.h1316 __be32 ip6dst[4]; member
1333 __be32 ip6dst[4]; member
1348 __be32 ip6dst[4]; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1353 fs->h_u.tcp_ip6_spec.ip6dst[i] = entry->key.dip6[i]; in nfp_net_fs_to_ethtool()
1355 fs->m_u.tcp_ip6_spec.ip6dst[i] = entry->msk.dip6[i]; in nfp_net_fs_to_ethtool()
1374 fs->h_u.usr_ip6_spec.ip6dst[i] = entry->key.dip6[i]; in nfp_net_fs_to_ethtool()
1376 fs->m_u.usr_ip6_spec.ip6dst[i] = entry->msk.dip6[i]; in nfp_net_fs_to_ethtool()
1541 entry->msk.dip6[i] = fs->m_u.tcp_ip6_spec.ip6dst[i]; in nfp_net_fs_from_ethtool()
1543 entry->key.dip6[i] = fs->h_u.tcp_ip6_spec.ip6dst[i] & entry->msk.dip6[i]; in nfp_net_fs_from_ethtool()
1561 entry->msk.dip6[i] = fs->m_u.usr_ip6_spec.ip6dst[i]; in nfp_net_fs_from_ethtool()
1563 entry->key.dip6[i] = fs->h_u.usr_ip6_spec.ip6dst[i] & entry->msk.dip6[i]; in nfp_net_fs_from_ethtool()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c1036 be32_to_cpu_array(dst_ip_mask, mask->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow()
1037 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow()
1046 memcpy(opkt->ip6dst, pkt->ip6dst, sizeof(opkt->ip6dst)); in npc_update_ipv6_flow()
1047 memcpy(omask->ip6dst, mask->ip6dst, sizeof(omask->ip6dst)); in npc_update_ipv6_flow()
H A Dmbox.h1827 __be32 ip6dst[4]; member
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c379 &match->ip6dst, &mask->ip6dst, in bcmasp_netfilt_tcpip6_wr()
380 sizeof(match->ip6dst)); in bcmasp_netfilt_tcpip6_wr()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1669 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1670 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
1671 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule()
1672 sizeof(fs->m_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1239 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1241 *(struct in6_addr *)&fs->m_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1461 fkeys->addrs.v6addrs.dst = *(struct in6_addr *)&ip_spec->ip6dst; in bnxt_add_ntuple_cls_rule()
1462 fmasks->addrs.v6addrs.dst = *(struct in6_addr *)&ip_mask->ip6dst; in bnxt_add_ntuple_cls_rule()
1477 fkeys->addrs.v6addrs.dst = *(struct in6_addr *)&ip_spec->ip6dst; in bnxt_add_ntuple_cls_rule()
1478 fmasks->addrs.v6addrs.dst = *(struct in6_addr *)&ip_mask->ip6dst; in bnxt_add_ntuple_cls_rule()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1358 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()