/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 709 if (!ipv6_addr_any((struct in6_addr *)ipv6_usr_mask->ip6dst)) { in otx2_prepare_ipv6_flow() 710 memcpy(&pkt->ip6dst, &ipv6_usr_hdr->ip6dst, in otx2_prepare_ipv6_flow() 711 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow() 712 memcpy(&pmask->ip6dst, &ipv6_usr_mask->ip6dst, in otx2_prepare_ipv6_flow() 713 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow() 738 if (!ipv6_addr_any((struct in6_addr *)ipv6_l4_mask->ip6dst)) { in otx2_prepare_ipv6_flow() 739 memcpy(&pkt->ip6dst, &ipv6_l4_hdr->ip6dst, in otx2_prepare_ipv6_flow() [all...] |
H A D | otx2_tc.c | 710 memcpy(&flow_spec->ip6dst, in otx2_tc_prepare_flow() 712 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow() 713 memcpy(&flow_mask->ip6dst, in otx2_tc_prepare_flow() 715 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 709 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 710 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 711 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule() 780 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 781 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 782 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule() 1004 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() 1005 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule() 1008 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1063 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 847 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 848 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 849 ip6_fill_mask(ip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 918 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 919 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 920 ip6_fill_mask(uip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 1097 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() 1098 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in ef4_ethtool_set_class_rule() 1101 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1156 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 711 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 712 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule() 781 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 782 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 783 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule() 1005 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() 1006 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule() 1009 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1064 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 857 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 858 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 859 ip6_fill_mask(ip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 928 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 929 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 930 ip6_fill_mask(uip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 1107 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() 1108 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in ef4_ethtool_set_class_rule() 1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1166 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 711 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 712 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule() 781 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 782 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 783 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule() 1006 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() 1007 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule() 1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1065 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 259 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6() 274 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6() 287 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6() 564 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6dst)) in validate_ip6() 583 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) in validate_tcpudp6()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 280 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 171 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 175 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry() 186 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 193 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry() 919 !memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 955 if (!memcmp(tcp_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 960 else if (!memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1016 !memcmp(usr_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1034 if (!memcmp(usr_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1039 else if (!memcmp(usr_ip6_spec->ip6dst, in ice_set_fdir_ip6_usr_seg() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 172 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 176 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry() 187 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 194 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry() 1065 !memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1101 if (!memcmp(tcp_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1106 else if (!memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1162 !memcmp(usr_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1180 if (!memcmp(usr_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1185 else if (!memcmp(usr_ip6_spec->ip6dst, in ice_set_fdir_ip6_usr_seg() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1127 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1134 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1144 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1150 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1158 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1165 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1316 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1323 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1334 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1340 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | ethtool.h | 271 __be32 ip6dst[4]; member 278 __be32 ip6dst[4]; member 284 __be32 ip6dst[4]; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 835 be32_to_cpu_array(dst_ip_mask, mask->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow() 836 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow() 845 memcpy(opkt->ip6dst, pkt->ip6dst, sizeof(opkt->ip6dst)); in npc_update_ipv6_flow() 846 memcpy(omask->ip6dst, mask->ip6dst, sizeof(omask->ip6dst)); in npc_update_ipv6_flow()
|
H A D | rvu_npc_hash.c | 336 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_field_hash() 346 memcpy(&opkt->ip6dst, &pkt->ip6dst, in npc_update_field_hash() 347 sizeof(pkt->ip6dst)); in npc_update_field_hash() 348 memcpy(&omask->ip6dst, &mask->ip6dst, in npc_update_field_hash() 349 sizeof(mask->ip6dst)); in npc_update_field_hash()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | ethtool.h | 892 * @ip6dst: Destination host 901 __be32 ip6dst[4]; member 910 * @ip6dst: Destination host 918 __be32 ip6dst[4]; member 926 * @ip6dst: Destination host 933 __be32 ip6dst[4]; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | ethtool.h | 1023 * @ip6dst: Destination host 1032 __be32 ip6dst[4]; member 1041 * @ip6dst: Destination host 1049 __be32 ip6dst[4]; member 1057 * @ip6dst: Destination host 1064 __be32 ip6dst[4]; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | ethtool.h | 326 __be32 ip6dst[4]; member 333 __be32 ip6dst[4]; member 339 __be32 ip6dst[4]; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | ethtool.h | 326 __be32 ip6dst[4]; member 333 __be32 ip6dst[4]; member 339 __be32 ip6dst[4]; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 362 &match->ip6dst, &mask->ip6dst, in bcmasp_netfilt_tcpip6_wr() 363 sizeof(match->ip6dst)); in bcmasp_netfilt_tcpip6_wr()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 3393 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry() 3456 fsp->m_u.tcp_ip6_spec.ip6dst[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3457 fsp->m_u.tcp_ip6_spec.ip6dst[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3458 fsp->m_u.tcp_ip6_spec.ip6dst[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3459 fsp->m_u.tcp_ip6_spec.ip6dst[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 4420 if (ipv6_addr_equal((struct in6_addr *)&tcp_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4424 &tcp_ip6_spec->ip6dst)) in i40e_check_fdir_input_set() 4499 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4503 &usr_ip6_spec->ip6dst)) in i40e_check_fdir_input_set() 4895 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 5437 if (!spec->ip6dst[0] && !spec->ip6dst[1] && in hclge_fd_check_tcpip6_tuple() 5438 !spec->ip6dst[2] && !spec->ip6dst[3]) in hclge_fd_check_tcpip6_tuple() 5467 if (!spec->ip6dst[0] && !spec->ip6dst[1] && in hclge_fd_check_ip6_tuple() 5468 !spec->ip6dst[2] && !spec->ip6dst[3]) in hclge_fd_check_ip6_tuple() 5749 fs->h_u.tcp_ip6_spec.ip6dst, IPV6_SIZE); in hclge_fd_get_tuple() 5751 fs->m_u.tcp_ip6_spec.ip6dst, IPV6_SIZ in hclge_fd_get_tuple() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1664 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule() 1665 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule() 1666 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule() 1667 sizeof(fs->m_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1672 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule() 1673 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule() 1674 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule() 1675 sizeof(fs->m_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | ioctl.c | 3096 if (memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create() 3097 memcpy(&match->key.ipv6.dst, v6_spec->ip6dst, in ethtool_rx_flow_rule_create() 3099 memcpy(&match->mask.ipv6.dst, v6_m_spec->ip6dst, in ethtool_rx_flow_rule_create() 3103 memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
|