X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofpbuf.h;fp=lib%2Fofpbuf.h;h=5e20aab0b62f861fba49a0243ae3ff880d745385;hb=d15a5ee594f46a855788652e687aa5d736d530fb;hp=736b8f5e5ee35156f381e5390c7b2e33fd97a406;hpb=e9ec7451755a50449811738b5a0adad49a864fe3;p=sliver-openvswitch.git diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h index 736b8f5e5..5e20aab0b 100644 --- a/lib/ofpbuf.h +++ b/lib/ofpbuf.h @@ -48,7 +48,10 @@ void ofpbuf_uninit(struct ofpbuf *); void ofpbuf_reinit(struct ofpbuf *, size_t); struct ofpbuf *ofpbuf_new(size_t); +struct ofpbuf *ofpbuf_new_with_headroom(size_t, size_t headroom); struct ofpbuf *ofpbuf_clone(const struct ofpbuf *); +struct ofpbuf *ofpbuf_clone_with_headroom(const struct ofpbuf *, + size_t headroom); struct ofpbuf *ofpbuf_clone_data(const void *, size_t); void ofpbuf_delete(struct ofpbuf *);