Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/netmap/netmap_kern.h
Show First 20 Lines • Show All 1,940 Lines • ▼ Show 20 Lines | #define NM_SYNC_KLOOP_STOPPING (1 << 1) | ||||
* | * | ||||
* Array of CSB entries for application --> kernel communication | * Array of CSB entries for application --> kernel communication | ||||
* (N entries). */ | * (N entries). */ | ||||
struct nm_csb_atok *np_csb_atok_base; | struct nm_csb_atok *np_csb_atok_base; | ||||
/* Array of CSB entries for kernel --> application communication | /* Array of CSB entries for kernel --> application communication | ||||
* (N entries). */ | * (N entries). */ | ||||
struct nm_csb_ktoa *np_csb_ktoa_base; | struct nm_csb_ktoa *np_csb_ktoa_base; | ||||
struct thread *np_td; /* kqueue, just debugging */ | |||||
#ifdef linux | #ifdef linux | ||||
struct file *np_filp; /* used by sync kloop */ | struct file *np_filp; /* used by sync kloop */ | ||||
#endif /* linux */ | #endif /* linux */ | ||||
}; | }; | ||||
struct netmap_priv_d *netmap_priv_new(void); | struct netmap_priv_d *netmap_priv_new(void); | ||||
void netmap_priv_delete(struct netmap_priv_d *); | void netmap_priv_delete(struct netmap_priv_d *); | ||||
▲ Show 20 Lines • Show All 481 Lines • Show Last 20 Lines |