Lines Matching refs:v6_m_spec
3193 const struct ethtool_tcpip6_spec *v6_spec, *v6_m_spec; in ethtool_rx_flow_rule_create() local
3198 v6_m_spec = &fs->m_u.tcp_ip6_spec; in ethtool_rx_flow_rule_create()
3199 if (memcmp(v6_m_spec->ip6src, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
3202 memcpy(&match->mask.ipv6.src, v6_m_spec->ip6src, in ethtool_rx_flow_rule_create()
3205 if (memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
3208 memcpy(&match->mask.ipv6.dst, v6_m_spec->ip6dst, in ethtool_rx_flow_rule_create()
3211 if (memcmp(v6_m_spec->ip6src, &zero_addr, sizeof(zero_addr)) || in ethtool_rx_flow_rule_create()
3212 memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
3218 if (v6_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3220 match->mask.tp.src = v6_m_spec->psrc; in ethtool_rx_flow_rule_create()
3222 if (v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3224 match->mask.tp.dst = v6_m_spec->pdst; in ethtool_rx_flow_rule_create()
3226 if (v6_m_spec->psrc || in ethtool_rx_flow_rule_create()
3227 v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3233 if (v6_m_spec->tclass) { in ethtool_rx_flow_rule_create()
3235 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()