X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofpbuf.h;h=442c90c9134f1224625bbeed7a7aa58ccdc4feef;hb=28a14bf3d86efb8f0f29936e84cc9e4e384dffe8;hp=15f0ab1626e2ee56935628aadd034358c8fd19f0;hpb=31ac1e590b9bb2a2ce7c70cd7c8fd2db0fb8e481;p=openvswitch diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h index 15f0ab16..442c90c9 100644 --- a/lib/ofpbuf.h +++ b/lib/ofpbuf.h @@ -69,6 +69,8 @@ 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); +struct ofpbuf *ofpbuf_clone_data_with_headroom(const void *, size_t, + size_t headroom); void ofpbuf_delete(struct ofpbuf *); void *ofpbuf_at(const struct ofpbuf *, size_t offset, size_t size);