Lines Matching full:rxnfc
836 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc,
852 sizeof(rxnfc->fs.m_ext));
861 *rxnfc = (struct ethtool_rxnfc) {
880 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc,
885 return ethtool_rxnfc_copy_from_compat(rxnfc, useraddr, size);
887 if (copy_from_user(rxnfc, useraddr, size))
894 const struct ethtool_rxnfc *rxnfc,
901 .cmd = rxnfc->cmd,
902 .flow_type = rxnfc->flow_type,
903 .data = rxnfc->data,
905 .flow_type = rxnfc->fs.flow_type,
906 .h_u = rxnfc->fs.h_u,
907 .h_ext = rxnfc->fs.h_ext,
908 .m_u = rxnfc->fs.m_u,
909 .m_ext = rxnfc->fs.m_ext,
910 .ring_cookie = rxnfc->fs.ring_cookie,
911 .location = rxnfc->fs.location,
913 .rule_cnt = rxnfc->rule_cnt,
955 const struct ethtool_rxnfc *rxnfc,
961 ret = ethtool_rxnfc_copy_to_compat(useraddr, rxnfc, size,
965 ret = copy_to_user(useraddr, rxnfc, size);
974 rxnfc->rule_cnt * sizeof(u32)))