man page for mbuf is not consistent with header defines (for sure in stable 4.10-PRERELEASE)

Robert Wagner robert.wagner at qlogic.com
Wed Jul 7 16:16:24 UTC 2004


The man page for mbuf has mbuf pkthdr flags definitions that do not match header file.

man page shows 

     /* mbuf pkthdr flags, also 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 */

header (mbuf.h) file shows

/*
 * mbuf pkthdr flags (also stored in m_flags).
 */
#define	M_BCAST		0x0100	/* send/received as link-level broadcast */
#define	M_MCAST		0x0200	/* send/received as link-level multicast */
#define	M_FRAG		0x0400	/* packet is a fragment of a larger packet */
#define	M_FIRSTFRAG		0x0800	/* packet is first fragment */
#define	M_LASTFRAG		0x1000	/* packet is last fragment */

I am currently seeing this in 4.10-PRERELEASE 

Comments???



More information about the freebsd-doc mailing list