Catch up with recent changes...
This commit is contained in:
parent
6279bf46bd
commit
33d8df4b31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267091
@ -24,7 +24,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd April 30, 2014
|
||||
.Dd June 5, 2014
|
||||
.Dt MBUF 9
|
||||
.Os
|
||||
.\"
|
||||
@ -209,24 +209,26 @@ The
|
||||
flag bits are defined as follows:
|
||||
.Bd -literal
|
||||
/* mbuf flags */
|
||||
#define M_EXT 0x0001 /* has associated external storage */
|
||||
#define M_PKTHDR 0x0002 /* start of record */
|
||||
#define M_EOR 0x0004 /* end of record */
|
||||
#define M_RDONLY 0x0008 /* associated data marked read-only */
|
||||
#define M_PROTO1 0x0010 /* protocol-specific */
|
||||
#define M_PROTO2 0x0020 /* protocol-specific */
|
||||
#define M_PROTO3 0x0040 /* protocol-specific */
|
||||
#define M_PROTO4 0x0080 /* protocol-specific */
|
||||
#define M_PROTO5 0x0100 /* protocol-specific */
|
||||
#define M_PROTO6 0x4000 /* protocol-specific (avoid M_BCAST conflict) */
|
||||
#define M_FREELIST 0x8000 /* mbuf is on the free list */
|
||||
#define M_EXT 0x00000001 /* has associated external storage */
|
||||
#define M_PKTHDR 0x00000002 /* start of record */
|
||||
#define M_EOR 0x00000004 /* end of record */
|
||||
#define M_RDONLY 0x00000008 /* associated data marked read-only */
|
||||
#define M_PROTO1 0x00001000 /* protocol-specific */
|
||||
#define M_PROTO2 0x00002000 /* protocol-specific */
|
||||
#define M_PROTO3 0x00004000 /* protocol-specific */
|
||||
#define M_PROTO4 0x00008000 /* protocol-specific */
|
||||
#define M_PROTO5 0x00010000 /* protocol-specific */
|
||||
#define M_PROTO6 0x00020000 /* protocol-specific */
|
||||
#define M_PROTO7 0x00040000 /* protocol-specific */
|
||||
#define M_PROTO8 0x00080000 /* protocol-specific */
|
||||
#define M_PROTO9 0x00100000 /* protocol-specific */
|
||||
#define M_PROTO10 0x00200000 /* protocol-specific */
|
||||
#define M_PROTO11 0x00400000 /* protocol-specific */
|
||||
#define M_PROTO12 0x00800000 /* protocol-specific */
|
||||
|
||||
/* mbuf pkthdr flags (also stored in m_flags) */
|
||||
#define M_BCAST 0x0200 /* send/received as link-level broadcast */
|
||||
#define M_MCAST 0x0400 /* send/received as link-level multicast */
|
||||
#define M_FRAG 0x0800 /* packet is fragment of larger packet */
|
||||
#define M_FIRSTFRAG 0x1000 /* packet is first fragment */
|
||||
#define M_LASTFRAG 0x2000 /* packet is last fragment */
|
||||
#define M_BCAST 0x00000010 /* send/received as link-level broadcast */
|
||||
#define M_MCAST 0x00000020 /* send/received as link-level multicast */
|
||||
.Ed
|
||||
.Pp
|
||||
The available
|
||||
@ -251,10 +253,10 @@ The available external buffer types are defined as follows:
|
||||
#define EXT_JUMBO16 5 /* jumbo cluster 16184 bytes */
|
||||
#define EXT_PACKET 6 /* mbuf+cluster from packet zone */
|
||||
#define EXT_MBUF 7 /* external mbuf reference (M_IOVEC) */
|
||||
#define EXT_NET_DRV 100 /* custom ext_buf provided by net driver(s) */
|
||||
#define EXT_MOD_TYPE 200 /* custom module's ext_buf type */
|
||||
#define EXT_DISPOSABLE 300 /* can throw this buffer away w/page flipping */
|
||||
#define EXT_EXTREF 400 /* has externally maintained ref_cnt ptr */
|
||||
#define EXT_NET_DRV 252 /* custom ext_buf provided by net driver(s) */
|
||||
#define EXT_MOD_TYPE 253 /* custom module's ext_buf type */
|
||||
#define EXT_DISPOSABLE 254 /* can throw this buffer away w/page flipping */
|
||||
#define EXT_EXTREF 255 /* has externally maintained ref_cnt ptr */
|
||||
.Ed
|
||||
.Pp
|
||||
If the
|
||||
|
Loading…
Reference in New Issue
Block a user