Lines Matching refs:nh_policy
403 KASSERT(nhp->nh_policy == NETISR_POLICY_SOURCE ||
404 nhp->nh_policy == NETISR_POLICY_FLOW ||
405 nhp->nh_policy == NETISR_POLICY_CPU,
406 ("%s: unsupported nh_policy %u for %s", __func__,
407 nhp->nh_policy, name));
408 KASSERT(nhp->nh_policy == NETISR_POLICY_FLOW ||
410 ("%s: nh_policy != FLOW but m2flow defined for %s", __func__,
412 KASSERT(nhp->nh_policy == NETISR_POLICY_CPU || nhp->nh_m2cpuid == NULL,
413 ("%s: nh_policy != CPU but m2cpuid defined for %s", __func__,
415 KASSERT(nhp->nh_policy != NETISR_POLICY_CPU || nhp->nh_m2cpuid != NULL,
416 ("%s: nh_policy == CPU but m2cpuid not defined for %s", __func__,
450 netisr_proto[proto].np_policy = nhp->nh_policy;