Changeset View
Changeset View
Standalone View
Standalone View
sys/net/netisr.c
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
#ifdef DDB | #ifdef DDB | ||||
#include <ddb/ddb.h> | #include <ddb/ddb.h> | ||||
#endif | #endif | ||||
#define _WANT_NETISR_INTERNAL /* Enable definitions from netisr_internal.h */ | #define _WANT_NETISR_INTERNAL /* Enable definitions from netisr_internal.h */ | ||||
#include <net/if.h> | #include <net/if.h> | ||||
#include <net/if_var.h> | #include <net/if_var.h> | ||||
#include <net/if_private.h> | |||||
#include <net/netisr.h> | #include <net/netisr.h> | ||||
#include <net/netisr_internal.h> | #include <net/netisr_internal.h> | ||||
#include <net/vnet.h> | #include <net/vnet.h> | ||||
/*- | /*- | ||||
* Synchronize use and modification of the registered netisr data structures; | * Synchronize use and modification of the registered netisr data structures; | ||||
* acquire a read lock while modifying the set of registered protocols to | * acquire a read lock while modifying the set of registered protocols to | ||||
* prevent partially registered or unregistered protocols from being run. | * prevent partially registered or unregistered protocols from being run. | ||||
▲ Show 20 Lines • Show All 1,461 Lines • Show Last 20 Lines |