diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-12-26 18:47:19 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-12-26 18:50:56 -0500 |
| commit | a5080622b2de7c09393daa208a56606c068db1f3 (patch) | |
| tree | b4b4a8077fbfc45fbb1964686028f028eb097eca /zebra/kernel_socket.c | |
| parent | 5318d8963816f607e8ab648eb17c784617b90270 (diff) | |
lib: add ringbuf_peek()
Peek functionality for ring buffers and associated tests.
Also:
* Slight optimization to avoid 0-byte memcpy() by changing > to >=
* Add rv checks for some ringbuf_[put|get] calls that were missing them
in the test
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
