diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-04-09 12:36:16 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-04-26 14:57:49 -0700 |
| commit | 30f07f1a5e2a021d8e05167b5db93968a2036033 (patch) | |
| tree | 461289d37bc164e57195122b9ec1c8bbe7de2971 /lib/ofpbuf.h | |
| parent | 11bbff1b79a97c377021560b8a262af95a0dd1b9 (diff) | |
| download | openvswitch-30f07f1a5e2a021d8e05167b5db93968a2036033.tar.gz | |
ofpbuf: New function ofpbuf_push_zeros().
Diffstat (limited to 'lib/ofpbuf.h')
| -rw-r--r-- | lib/ofpbuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h index 9072cc474..736b8f5e5 100644 --- a/lib/ofpbuf.h +++ b/lib/ofpbuf.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,6 +62,7 @@ void *ofpbuf_put_zeros(struct ofpbuf *, size_t); void *ofpbuf_put(struct ofpbuf *, const void *, size_t); 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); size_t ofpbuf_headroom(const struct ofpbuf *); |
