Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mbuf.h
Show First 20 Lines • Show All 1,123 Lines • ▼ Show 20 Lines | |||||
/* Length to m_copy to copy all. */ | /* Length to m_copy to copy all. */ | ||||
#define M_COPYALL 1000000000 | #define M_COPYALL 1000000000 | ||||
extern int max_datalen; /* MHLEN - max_hdr */ | extern int max_datalen; /* MHLEN - max_hdr */ | ||||
extern int max_hdr; /* Largest link + protocol header */ | extern int max_hdr; /* Largest link + protocol header */ | ||||
extern int max_linkhdr; /* Largest link-level header */ | extern int max_linkhdr; /* Largest link-level header */ | ||||
extern int max_protohdr; /* Largest protocol header */ | extern int max_protohdr; /* Largest protocol header */ | ||||
extern int nmbclusters; /* Maximum number of clusters */ | extern int nmbclusters; /* Maximum number of clusters */ | ||||
extern bool mb_use_ext_pgs; /* Use ext_pgs for sendfile */ | |||||
/*- | /*- | ||||
* Network packets may have annotations attached by affixing a list of | * Network packets may have annotations attached by affixing a list of | ||||
* "packet tags" to the pkthdr structure. Packet tags are dynamically | * "packet tags" to the pkthdr structure. Packet tags are dynamically | ||||
* allocated semi-opaque data structures that have a fixed header | * allocated semi-opaque data structures that have a fixed header | ||||
* (struct m_tag) that specifies the size of the memory block and a | * (struct m_tag) that specifies the size of the memory block and a | ||||
* <cookie,type> pair that identifies it. The cookie is a 32-bit unique | * <cookie,type> pair that identifies it. The cookie is a 32-bit unique | ||||
* unsigned value used to identify a module or ABI. By convention this value | * unsigned value used to identify a module or ABI. By convention this value | ||||
▲ Show 20 Lines • Show All 369 Lines • Show Last 20 Lines |