MCPcopy Create free account
hub / github.com/F-Stack/f-stack / netisr_get_dispatch

Function netisr_get_dispatch

freebsd/net/netisr.c:775–785  ·  view source on GitHub ↗

* Compose the global and per-protocol policies on dispatch, and return the * dispatch policy to use. */

Source from the content-addressed store, hash-verified

773 * dispatch policy to use.
774 */
775static u_int
776netisr_get_dispatch(struct netisr_proto *npp)
777{
778
779 /*
780 * Protocol-specific configuration overrides the global default.
781 */
782 if (npp->np_dispatch != NETISR_DISPATCH_DEFAULT)
783 return (npp->np_dispatch);
784 return (netisr_dispatch_policy);
785}
786
787/*
788 * Look up the workstream given a packet and source identifier. Do this by

Callers 1

netisr_dispatch_srcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected