diff options
author | Ben Pfaff <blp@ovn.org> | 2017-06-23 16:47:52 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-06-27 17:28:29 -0400 |
commit | 07e73e085f1d124230fc97883eb01dd8f37f0d78 (patch) | |
tree | a31fc241160c48b054f0e4ba816ef6fa0a237cba /include/openvswitch/ofpbuf.h | |
parent | de8f7050d558cdab421bfa566caacd5f15ceaba0 (diff) | |
download | openvswitch-07e73e085f1d124230fc97883eb01dd8f37f0d78.tar.gz |
ofpbuf: New function ofpbuf_insert().
This will receive its first users in an upcoming commit.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openvswitch/ofpbuf.h')
-rw-r--r-- | include/openvswitch/ofpbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openvswitch/ofpbuf.h b/include/openvswitch/ofpbuf.h index bc25bb8a1..6142f4a58 100644 --- a/include/openvswitch/ofpbuf.h +++ b/include/openvswitch/ofpbuf.h @@ -141,6 +141,7 @@ void ofpbuf_reserve(struct ofpbuf *, size_t); void *ofpbuf_push_uninit(struct ofpbuf *b, size_t); void *ofpbuf_push_zeros(struct ofpbuf *, size_t); void *ofpbuf_push(struct ofpbuf *b, const void *, size_t); +void ofpbuf_insert(struct ofpbuf *b, size_t offset, const void *data, size_t); static inline size_t ofpbuf_headroom(const struct ofpbuf *); static inline size_t ofpbuf_tailroom(const struct ofpbuf *); |