cvs commit: src/sys/sys mbuf.h

Robert Watson rwatson at
Wed Mar 26 20:29:17 PST 2003

rwatson     2003/03/26 12:29:15 PST

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
  Add MBTOM(), a macro that converts from an mbuf blocking disposition
  flag (M_DONTWAIT / M_TRYWAIT) to a malloc(9) blocking disposition flag
  (M_NOWAIT, M_WAITOK).  The semantic match isn't perfect, but for
  scenarios where malloc data is used in the network stack, such as for
  MAC labeling or for m_tags, we sometimes need to map from one to the
  other to get the right blocking behavior.
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  Revision  Changes    Path
  1.116     +1 -0      src/sys/sys/mbuf.h

More information about the cvs-src mailing list