ofpbuf: Make ofpbufs initialized with ofpbuf_use_stack() not expandable.
[sliver-openvswitch.git] / lib / ofpbuf.h
index b8e3670..34fcf5f 100644 (file)
@@ -28,8 +28,7 @@ extern "C" {
 
 enum ofpbuf_source {
     OFPBUF_MALLOC,              /* Obtained via malloc(). */
-    OFPBUF_STACK,               /* Stack space or static buffer. */
-    OFPBUF_CONST                /* Must not be expanded. */
+    OFPBUF_STACK                /* Stack space or static buffer. */
 };
 
 /* Buffer for holding arbitrary data.  An ofpbuf is automatically reallocated