Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/netmap/netmap_kern.h
Show First 20 Lines • Show All 2,120 Lines • ▼ Show 20 Lines | |||||
#ifdef WITH_GENERIC | #ifdef WITH_GENERIC | ||||
/* | /* | ||||
* generic netmap emulation for devices that do not have | * generic netmap emulation for devices that do not have | ||||
* native netmap support. | * native netmap support. | ||||
*/ | */ | ||||
int generic_netmap_attach(struct ifnet *ifp); | int generic_netmap_attach(struct ifnet *ifp); | ||||
int generic_rx_handler(struct ifnet *ifp, struct mbuf *m);; | int generic_rx_handler(struct ifnet *ifp, struct mbuf *m); | ||||
int nm_os_catch_rx(struct netmap_generic_adapter *gna, int intercept); | int nm_os_catch_rx(struct netmap_generic_adapter *gna, int intercept); | ||||
int nm_os_catch_tx(struct netmap_generic_adapter *gna, int intercept); | int nm_os_catch_tx(struct netmap_generic_adapter *gna, int intercept); | ||||
int na_is_generic(struct netmap_adapter *na); | int na_is_generic(struct netmap_adapter *na); | ||||
/* | /* | ||||
* the generic transmit routine is passed a structure to optionally | * the generic transmit routine is passed a structure to optionally | ||||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |