On Fri, Oct 30, 2015 at 18:16 +0100, Sebastian Benoit wrote: > > i think it should be documented ;) > > otherwise ok > > Index: mbuf.9 > =================================================================== > RCS file: /cvs/src/share/man/man9/mbuf.9,v > retrieving revision 1.91 > diff -u -p -u -r1.91 mbuf.9 > --- mbuf.9 8 Oct 2015 14:09:34 -0000 1.91 > +++ mbuf.9 30 Oct 2015 17:15:40 -0000 > @@ -44,6 +44,8 @@ > .Fn MGET "struct mbuf *m" "int how" "int type" > .Ft struct mbuf * > .Fn m_getclr "int how" "int type" > +.Ft void > +.Fn m_resethdr struct mbuf * > .Ft struct mbuf * > .Fn m_gethdr "int how" "int type" > .Fn MGETHDR "struct mbuf *m" "int how" "int type" > @@ -445,6 +447,11 @@ See > .Fn m_get > for a description of > .Fa how . > +.It Fn m_resethdr "struct mbuf *" > +Deletes all > +.Xr pf 4 > +data and all tags attached to packet > +.Fa mbuf .
I'd phrase it "attached to an mbuf", but otherwise OK mikeb > .It Fn m_gethdr "int how" "int type" > Return a pointer to an mbuf of the type specified after initializing > it to contain a packet header. >
