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

Sam Leffler sam at FreeBSD.org
Fri Jan 2 09:27:44 PST 2004


sam         2004/01/02 09:27:40 PST

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
    sys/kern             uipc_mbuf2.c 
  Log:
  m_tag fixups in preparation for heavier use:
  
  o promote several m_tag_* routines to inline
  o add an m_tag_setup inline to set the fixed fields in a packet tag
  o add an m_tag_free method pointer to each mtag to support, for example,
    allocating tags from zones
  o have m_tag_find check if the tag list is not empty before calling
    m_tag_locate to search
  
  Reviewed by:    brooks, silence from others
  
  Revision  Changes    Path
  1.22      +13 -51    src/sys/kern/uipc_mbuf2.c
  1.134     +72 -7     src/sys/sys/mbuf.h


More information about the cvs-src mailing list