Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 12:29:15 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys mbuf.h
Message-ID:  <200303262029.h2QKTFg3044876@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2003/03/26 12:29:15 PST

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303262029.h2QKTFg3044876>