On Thu, May 18, 2017 at 09:22:30AM +0800, Kevin Lo wrote:
> 
> Hi,
> 
> The diff below catches up with mbuf header changes.

Here's the revised version:

Index: share/man/man9/mbuf.9
===================================================================
RCS file: /cvs/src/share/man/man9/mbuf.9,v
retrieving revision 1.106
diff -u -p -u -p -r1.106 mbuf.9
--- share/man/man9/mbuf.9       29 Mar 2017 23:05:05 -0000      1.106
+++ share/man/man9/mbuf.9       18 May 2017 01:26:54 -0000
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: March 29 2017 $
+.Dd $Mdocdate: May 18 2017 $
 .Dt MGET 9
 .Os
 .Sh NAME
@@ -154,11 +154,15 @@ struct m_hdr {
         u_int   mh_len;
         short   mh_type;
         u_short mh_flags;
+#ifndef __LP64__
+        u_int   mh_pad;  
+#endif
 };
 
 struct pkthdr {
        void                    *ph_cookie;
        SLIST_HEAD(, m_tag)      ph_tags;
+       int64_t                  ph_timestamp;
        int                      len;
        u_int16_t                ph_tagsset;
        u_int16_t                ph_flowid;
@@ -183,8 +187,8 @@ struct pkthdr_pf {
 
 struct mbuf_ext {
        caddr_t ext_buf;
-       void    (*ext_free)(caddr_t, u_int, void *);
-       void    *ext_arg;
+       void    *ext_arg;
+       u_int   ext_free_fn;
        u_int   ext_size;
        struct mbuf *ext_nextref;
        struct mbuf *ext_prevref;

Reply via email to