Lines Matching refs:v4_m_spec
2926 const struct ethtool_tcpip4_spec *v4_spec, *v4_m_spec; in ethtool_rx_flow_rule_create() local
2931 v4_m_spec = &fs->m_u.tcp_ip4_spec; in ethtool_rx_flow_rule_create()
2933 if (v4_m_spec->ip4src) { in ethtool_rx_flow_rule_create()
2935 match->mask.ipv4.src = v4_m_spec->ip4src; in ethtool_rx_flow_rule_create()
2937 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
2939 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
2941 if (v4_m_spec->ip4src || in ethtool_rx_flow_rule_create()
2942 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
2948 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
2950 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
2952 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
2954 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
2956 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
2957 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
2963 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create()
2965 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create()