Lines Matching refs:v4_m_spec
3030 const struct ethtool_tcpip4_spec *v4_spec, *v4_m_spec; in ethtool_rx_flow_rule_create() local
3035 v4_m_spec = &fs->m_u.tcp_ip4_spec; in ethtool_rx_flow_rule_create()
3037 if (v4_m_spec->ip4src) { in ethtool_rx_flow_rule_create()
3039 match->mask.ipv4.src = v4_m_spec->ip4src; in ethtool_rx_flow_rule_create()
3041 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3043 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
3045 if (v4_m_spec->ip4src || in ethtool_rx_flow_rule_create()
3046 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3052 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3054 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
3056 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3058 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
3060 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
3061 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3067 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create()
3069 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create()