cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c

John-Mark Gurney jmg at
Tue Sep 28 11:40:20 PDT 2004

jmg         2004-09-28 18:40:18 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
    sys/kern             uipc_mbuf.c 
  improve the mbuf m_print function..  Only pull length from pkthdr if there
  is one, detect mbuf loops and stop, add an extra arg so you can only print
  the first x bytes of the data per mbuf (print all if arg is -1), print
  flags using %b (bitmask)...
  No code in the tree appears to use m_print, and it's just a maner of adding
  -1 as an additional arg to m_print to restore original behavior..
  MFC after:      4 days
  Revision  Changes    Path
  1.136     +20 -5     src/sys/kern/uipc_mbuf.c
  1.159     +1 -1      src/sys/sys/mbuf.h

More information about the cvs-src mailing list