Lines Matching refs:v4_m_spec
3513 const struct ethtool_tcpip4_spec *v4_spec, *v4_m_spec; in ethtool_rx_flow_rule_create() local
3518 v4_m_spec = &fs->m_u.tcp_ip4_spec; in ethtool_rx_flow_rule_create()
3520 if (v4_m_spec->ip4src) { in ethtool_rx_flow_rule_create()
3522 match->mask.ipv4.src = v4_m_spec->ip4src; in ethtool_rx_flow_rule_create()
3524 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3526 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
3528 if (v4_m_spec->ip4src || in ethtool_rx_flow_rule_create()
3529 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3535 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3537 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
3539 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3541 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
3543 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
3544 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3550 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create()
3552 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create()