Lines Matching full:net
40 #include <net/netisr.h>
41 #include <net/netisr_internal.h>
190 netisr_load_sysctl_uint("net.isr.bindthreads", &bindthreads); in netisr_load_sysctl_config()
191 netisr_load_sysctl_uint("net.isr.maxthreads", &maxthreads); in netisr_load_sysctl_config()
192 netisr_load_sysctl_uint("net.isr.numthreads", &numthreads); in netisr_load_sysctl_config()
194 netisr_load_sysctl_uint("net.isr.defaultqlimit", &defaultqlimit); in netisr_load_sysctl_config()
195 netisr_load_sysctl_uint("net.isr.maxqlimit", &maxqlimit); in netisr_load_sysctl_config()
197 netisr_load_sysctl_string("net.isr.dispatch", dispatch_policy, in netisr_load_sysctl_config()
265 if (sysctlbyname("net.isr.proto", NULL, &len, NULL, 0) < 0) in netisr_load_sysctl_proto()
266 xo_err(EX_OSERR, "net.isr.proto: query len"); in netisr_load_sysctl_proto()
268 xo_errx(EX_DATAERR, "net.isr.proto: invalid len"); in netisr_load_sysctl_proto()
272 if (sysctlbyname("net.isr.proto", proto_array, &len, NULL, 0) < 0) in netisr_load_sysctl_proto()
273 xo_err(EX_OSERR, "net.isr.proto: query data"); in netisr_load_sysctl_proto()
275 xo_errx(EX_DATAERR, "net.isr.proto: invalid len"); in netisr_load_sysctl_proto()
278 xo_errx(EX_DATAERR, "net.isr.proto: no data"); in netisr_load_sysctl_proto()
280 xo_errx(EX_DATAERR, "net.isr.proto: invalid version"); in netisr_load_sysctl_proto()
350 if (sysctlbyname("net.isr.workstream", NULL, &len, NULL, 0) < 0) in netisr_load_sysctl_workstream()
351 xo_err(EX_OSERR, "net.isr.workstream: query len"); in netisr_load_sysctl_workstream()
353 xo_errx(EX_DATAERR, "net.isr.workstream: invalid len"); in netisr_load_sysctl_workstream()
357 if (sysctlbyname("net.isr.workstream", workstream_array, &len, NULL, in netisr_load_sysctl_workstream()
359 xo_err(EX_OSERR, "net.isr.workstream: query data"); in netisr_load_sysctl_workstream()
361 xo_errx(EX_DATAERR, "net.isr.workstream: invalid len"); in netisr_load_sysctl_workstream()
364 xo_errx(EX_DATAERR, "net.isr.workstream: no data"); in netisr_load_sysctl_workstream()
366 xo_errx(EX_DATAERR, "net.isr.workstream: invalid version"); in netisr_load_sysctl_workstream()
374 if (sysctlbyname("net.isr.work", NULL, &len, NULL, 0) < 0) in netisr_load_sysctl_work()
375 xo_err(EX_OSERR, "net.isr.work: query len"); in netisr_load_sysctl_work()
377 xo_errx(EX_DATAERR, "net.isr.work: invalid len"); in netisr_load_sysctl_work()
381 if (sysctlbyname("net.isr.work", work_array, &len, NULL, 0) < 0) in netisr_load_sysctl_work()
382 xo_err(EX_OSERR, "net.isr.work: query data"); in netisr_load_sysctl_work()
384 xo_errx(EX_DATAERR, "net.isr.work: invalid len"); in netisr_load_sysctl_work()
387 xo_errx(EX_DATAERR, "net.isr.work: no data"); in netisr_load_sysctl_work()
389 xo_errx(EX_DATAERR, "net.isr.work: invalid version"); in netisr_load_sysctl_work()