Changeset View
Changeset View
Standalone View
Standalone View
sys/mbuf.h
Context not available. | |||||
#define lro_nsegs tso_segsz | #define lro_nsegs tso_segsz | ||||
#define csum_phsum PH_per.sixteen[2] | #define csum_phsum PH_per.sixteen[2] | ||||
#define csum_data PH_per.thirtytwo[1] | #define csum_data PH_per.thirtytwo[1] | ||||
#define lro_len PH_per.sixteen[0] /* inbound during LRO */ | |||||
#define lro_csum PH_per.sixteen[1] /* inbound during LRO */ | |||||
#define pace_thoff PH_loc.sixteen[0] | #define pace_thoff PH_loc.sixteen[0] | ||||
#define pace_tlen PH_loc.sixteen[1] | #define pace_tlen PH_loc.sixteen[1] | ||||
#define pace_drphdrlen PH_loc.sixteen[2] | #define pace_drphdrlen PH_loc.sixteen[2] | ||||
Context not available. | |||||
/* | /* | ||||
* mbuf flags of global significance and layer crossing. | * mbuf flags of global significance and layer crossing. | ||||
* Those of only protocol/layer specific significance are to be mapped | * Those of only protocol/layer specific significance are to be mapped | ||||
* to M_PROTO[1-12] and cleared at layer handoff boundaries. | * to M_PROTO[1-11] and cleared at layer handoff boundaries. | ||||
* NB: Limited to the lower 24 bits. | * NB: Limited to the lower 24 bits. | ||||
*/ | */ | ||||
#define M_EXT 0x00000001 /* has associated external storage */ | #define M_EXT 0x00000001 /* has associated external storage */ | ||||
Context not available. | |||||
and 802.1AS) */ | and 802.1AS) */ | ||||
#define M_TSTMP_LRO 0x00001000 /* Time LRO pushed in pkt is valid in (PH_loc) */ | #define M_TSTMP_LRO 0x00001000 /* Time LRO pushed in pkt is valid in (PH_loc) */ | ||||
#define M_PROTO1 0x00001000 /* protocol-specific */ | #define M_PROTO1 0x00002000 /* protocol-specific */ | ||||
#define M_PROTO2 0x00002000 /* protocol-specific */ | #define M_PROTO2 0x00004000 /* protocol-specific */ | ||||
#define M_PROTO3 0x00004000 /* protocol-specific */ | #define M_PROTO3 0x00008000 /* protocol-specific */ | ||||
#define M_PROTO4 0x00008000 /* protocol-specific */ | #define M_PROTO4 0x00010000 /* protocol-specific */ | ||||
#define M_PROTO5 0x00010000 /* protocol-specific */ | #define M_PROTO5 0x00020000 /* protocol-specific */ | ||||
#define M_PROTO6 0x00020000 /* protocol-specific */ | #define M_PROTO6 0x00040000 /* protocol-specific */ | ||||
#define M_PROTO7 0x00040000 /* protocol-specific */ | #define M_PROTO7 0x00080000 /* protocol-specific */ | ||||
#define M_PROTO8 0x00080000 /* protocol-specific */ | #define M_PROTO8 0x00100000 /* protocol-specific */ | ||||
#define M_PROTO9 0x00100000 /* protocol-specific */ | #define M_PROTO9 0x00200000 /* protocol-specific */ | ||||
#define M_PROTO10 0x00200000 /* protocol-specific */ | #define M_PROTO10 0x00400000 /* protocol-specific */ | ||||
#define M_PROTO11 0x00400000 /* protocol-specific */ | #define M_PROTO11 0x00800000 /* protocol-specific */ | ||||
#define M_PROTO12 0x00800000 /* protocol-specific */ | |||||
#define MB_DTOR_SKIP 0x1 /* don't pollute the cache by touching a freed mbuf */ | #define MB_DTOR_SKIP 0x1 /* don't pollute the cache by touching a freed mbuf */ | ||||
Context not available. | |||||
*/ | */ | ||||
#define M_PROTOFLAGS \ | #define M_PROTOFLAGS \ | ||||
(M_PROTO1|M_PROTO2|M_PROTO3|M_PROTO4|M_PROTO5|M_PROTO6|M_PROTO7|M_PROTO8|\ | (M_PROTO1|M_PROTO2|M_PROTO3|M_PROTO4|M_PROTO5|M_PROTO6|M_PROTO7|M_PROTO8|\ | ||||
M_PROTO9|M_PROTO10|M_PROTO11|M_PROTO12) | M_PROTO9|M_PROTO10|M_PROTO11) | ||||
/* | /* | ||||
* Flags preserved when copying m_pkthdr. | * Flags preserved when copying m_pkthdr. | ||||
Context not available. | |||||
#define M_FLAG_PROTOBITS \ | #define M_FLAG_PROTOBITS \ | ||||
"\15M_PROTO1\16M_PROTO2\17M_PROTO3\20M_PROTO4\21M_PROTO5" \ | "\15M_PROTO1\16M_PROTO2\17M_PROTO3\20M_PROTO4\21M_PROTO5" \ | ||||
"\22M_PROTO6\23M_PROTO7\24M_PROTO8\25M_PROTO9\26M_PROTO10" \ | "\22M_PROTO6\23M_PROTO7\24M_PROTO8\25M_PROTO9\26M_PROTO10" \ | ||||
"\27M_PROTO11\30M_PROTO12" | "\27M_PROTO11" | ||||
#define M_FLAG_PRINTF (M_FLAG_BITS M_FLAG_PROTOBITS) | #define M_FLAG_PRINTF (M_FLAG_BITS M_FLAG_PROTOBITS) | ||||
/* | /* | ||||
Context not available. |