Lines Matching refs:v4_m_spec
3486 const struct ethtool_tcpip4_spec *v4_spec, *v4_m_spec; in ethtool_rx_flow_rule_create() local
3491 v4_m_spec = &fs->m_u.tcp_ip4_spec; in ethtool_rx_flow_rule_create()
3493 if (v4_m_spec->ip4src) { in ethtool_rx_flow_rule_create()
3495 match->mask.ipv4.src = v4_m_spec->ip4src; in ethtool_rx_flow_rule_create()
3497 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3499 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
3501 if (v4_m_spec->ip4src || in ethtool_rx_flow_rule_create()
3502 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3508 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3510 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
3512 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3514 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
3516 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
3517 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3523 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create()
3525 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create()