Lines Matching refs:v4_m_spec
3193 const struct ethtool_tcpip4_spec *v4_spec, *v4_m_spec; in ethtool_rx_flow_rule_create() local
3198 v4_m_spec = &fs->m_u.tcp_ip4_spec; in ethtool_rx_flow_rule_create()
3200 if (v4_m_spec->ip4src) { in ethtool_rx_flow_rule_create()
3202 match->mask.ipv4.src = v4_m_spec->ip4src; in ethtool_rx_flow_rule_create()
3204 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3206 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
3208 if (v4_m_spec->ip4src || in ethtool_rx_flow_rule_create()
3209 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3215 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3217 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
3219 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3221 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
3223 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
3224 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3230 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create()
3232 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create()