Lines Matching refs:rxnfc
824 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc,
840 sizeof(rxnfc->fs.m_ext));
849 *rxnfc = (struct ethtool_rxnfc) {
868 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc,
873 return ethtool_rxnfc_copy_from_compat(rxnfc, useraddr, size);
875 if (copy_from_user(rxnfc, useraddr, size))
882 const struct ethtool_rxnfc *rxnfc,
889 .cmd = rxnfc->cmd,
890 .flow_type = rxnfc->flow_type,
891 .data = rxnfc->data,
893 .flow_type = rxnfc->fs.flow_type,
894 .h_u = rxnfc->fs.h_u,
895 .h_ext = rxnfc->fs.h_ext,
896 .m_u = rxnfc->fs.m_u,
897 .m_ext = rxnfc->fs.m_ext,
898 .ring_cookie = rxnfc->fs.ring_cookie,
899 .location = rxnfc->fs.location,
901 .rule_cnt = rxnfc->rule_cnt,
943 const struct ethtool_rxnfc *rxnfc,
949 ret = ethtool_rxnfc_copy_to_compat(useraddr, rxnfc, size,
953 ret = copy_to_user(useraddr, rxnfc, size);
962 rxnfc->rule_cnt * sizeof(u32)))
1844 * indirection table/rxnfc settings */