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
void ofpbuf_prealloc_headroom(struct ofpbuf *, size_t);
void ofpbuf_prealloc_tailroom(struct ofpbuf *, size_t);
void ofpbuf_trim(struct ofpbuf *);
+void ofpbuf_padto(struct ofpbuf *, size_t);
void ofpbuf_clear(struct ofpbuf *);
void *ofpbuf_pull(struct ofpbuf *, size_t);