Lines Matching +full:positive +full:- +full:reference +full:- +full:buffer
172 consists of a variable-sized header and a small internal
173 buffer for data.
182 .Bl -tag -width "m_nextpkt" -offset indent
214 .Bd -literal
218 #define M_RDONLY 0x00000008 /* associated data marked read-only */
219 #define M_BCAST 0x00000010 /* send/received as link-level broadcast */
220 #define M_MCAST 0x00000020 /* send/received as link-level multicast */
226 #define M_TSTMP_HPREC 0x00000800 /* rcv_tstmp is high-prec, typically
227 hw-stamped on port (useful for IEEE 1588
230 #define M_PROTO1 0x00001000 /* protocol-specific */
231 #define M_PROTO2 0x00002000 /* protocol-specific */
232 #define M_PROTO3 0x00004000 /* protocol-specific */
233 #define M_PROTO4 0x00008000 /* protocol-specific */
234 #define M_PROTO5 0x00010000 /* protocol-specific */
235 #define M_PROTO6 0x00020000 /* protocol-specific */
236 #define M_PROTO7 0x00040000 /* protocol-specific */
237 #define M_PROTO8 0x00080000 /* protocol-specific */
238 #define M_PROTO9 0x00100000 /* protocol-specific */
239 #define M_PROTO10 0x00200000 /* protocol-specific */
240 #define M_PROTO11 0x00400000 /* protocol-specific */
241 #define M_PROTO12 0x00800000 /* protocol-specific */
247 .Bd -literal
251 #define MT_VENDOR1 4 /* for vendor-internal use */
252 #define MT_VENDOR2 5 /* for vendor-internal use */
253 #define MT_VENDOR3 6 /* for vendor-internal use */
254 #define MT_VENDOR4 7 /* for vendor-internal use */
263 #define MT_CONTROL 14 /* extra-data protocol message */
268 The available external buffer types are defined as follows:
269 .Bd -literal
276 #define EXT_MBUF 7 /* external mbuf reference */
280 #define EXT_VENDOR1 224 /* for vendor-internal use */
281 #define EXT_VENDOR2 225 /* for vendor-internal use */
282 #define EXT_VENDOR3 226 /* for vendor-internal use */
283 #define EXT_VENDOR4 227 /* for vendor-internal use */
292 #define EXT_DISPOSABLE 254 /* can throw this buffer away w/page flipping */
317 .Sx HARDWARE-ASSISTED CHECKSUM CALCULATION
320 If small enough, data is stored in the internal data buffer of an
341 header is added at the cost of losing the internal data buffer.
345 and a pointer to a reference counter.
353 buffer,
356 The allocation and management of the reference counter is handled by the
359 The system also supplies a default type of external storage buffer called an
369 in size, where MCLBYTES is a machine-dependent constant.
387 .Bl -ohang -offset indent
486 On success, a non-zero value returned; otherwise, 0.
494 .Fa mbuf->m_data
536 (e.g.\& left after trimming of a link-layer header).
556 then if the reference count of the storage is not greater than 1.
560 .Fa mbuf->m_flags .
579 .Bl -ohang -offset indent
583 for non-critical paths.
611 .No non- Ns Dv NULL .
618 .No non- Ns Dv NULL ,
628 (for example, one which may be sitting in a pre-allocated ring)
629 or to simply perform an all-or-nothing
637 for non-critical paths.
673 .Bl -ohang -offset indent
686 is positive, from the tail otherwise.
808 is non-NULL, the region may be accessed using
831 The copy is read-only, because the
833 are not copied, only their reference counts are incremented.
840 the copy is read-only, because the
842 are not copied, only their reference counts are incremented.
863 bytes, into the indicated buffer
869 bytes from the buffer
906 .Fa from->m_pkthdr
907 and the per-packet attributes found in the
922 and the per-packet attributes from the
940 and the per-packet attributes cleared.
943 Set the packet-header length to the length of the
1078 The original mbuf chain is always reclaimed and the reference
1086 As a side-effect of this process the returned
1093 .Sh HARDWARE-ASSISTED CHECKSUM CALCULATION
1121 The interface-specific field
1137 .Bl -tag -width ".Dv CSUM_SCTP" -offset indent
1169 .Bl -tag -width ".Dv CSUM_IP_CHECKED" -offset indent
1241 .Bl -tag -width indent
1289 zones being used directly to store other network-related memory.
1293 allocator has been a special-purpose memory allocator able to run in
1305 + cluster pairs in per-CPU caches, as well as bringing other benefits of