summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-12-26 18:47:19 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-12-26 18:50:56 -0500
commita5080622b2de7c09393daa208a56606c068db1f3 (patch)
treeb4b4a8077fbfc45fbb1964686028f028eb097eca /zebra/kernel_socket.c
parent5318d8963816f607e8ab648eb17c784617b90270 (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