netisr_proto
KASSERT(netisr_proto[proto].np_handler != NULL,
m = netisr_select_cpuid(&netisr_proto[proto], NETISR_DISPATCH_DEFERRED,
struct netisr_proto *npp;
npp = &netisr_proto[proto];
netisr_proto[proto].np_handler(m);
m = netisr_select_cpuid(&netisr_proto[proto], NETISR_DISPATCH_HYBRID,
netisr_proto[proto].np_handler(m);
struct netisr_proto *npp;
npp = &netisr_proto[proto];
struct netisr_proto *npp;
npp = &netisr_proto[proto];
if (netisr_proto[proto].np_handler == NULL)
netisr_proto[proto].np_name, nwp->nw_len,
static struct netisr_proto netisr_proto[NETISR_MAXPROT];
KASSERT(netisr_proto[proto].np_name == NULL,
KASSERT(netisr_proto[proto].np_handler == NULL,
netisr_proto[proto].np_name = name;
netisr_proto[proto].np_handler = nhp->nh_handler;
netisr_proto[proto].np_m2flow = nhp->nh_m2flow;
netisr_proto[proto].np_m2cpuid = nhp->nh_m2cpuid;
netisr_proto[proto].np_drainedcpu = nhp->nh_drainedcpu;
netisr_proto[proto].np_qlimit = netisr_defaultqlimit;
netisr_proto[proto].np_qlimit = netisr_maxqlimit;
netisr_proto[proto].np_qlimit = nhp->nh_qlimit;
netisr_proto[proto].np_policy = nhp->nh_policy;
netisr_proto[proto].np_dispatch = nhp->nh_dispatch;
npwp->nw_qlimit = netisr_proto[proto].np_qlimit;
KASSERT(netisr_proto[proto].np_handler != NULL,
KASSERT(netisr_proto[proto].np_handler != NULL,
KASSERT(netisr_proto[proto].np_handler != NULL,
*qlimitp = netisr_proto[proto].np_qlimit;
KASSERT(netisr_proto[proto].np_handler != NULL,
netisr_proto[proto].np_qlimit = qlimit;
KASSERT(netisr_proto[proto].np_handler != NULL,
netisr_proto[proto].np_name = NULL;
netisr_proto[proto].np_handler = NULL;
netisr_proto[proto].np_m2flow = NULL;
netisr_proto[proto].np_m2cpuid = NULL;
netisr_proto[proto].np_qlimit = 0;
netisr_proto[proto].np_policy = 0;
KASSERT(netisr_proto[proto].np_handler != NULL,
KASSERT(netisr_proto[proto].np_handler != NULL,
netisr_get_dispatch(struct netisr_proto *npp)
netisr_select_cpuid(struct netisr_proto *npp, u_int dispatch_policy,
netisr_proto[proto].np_handler(m);
if (netisr_proto[proto].np_drainedcpu)
netisr_proto[proto].np_drainedcpu(nwsp->nws_cpu);
struct netisr_proto *np_array, *npp;