]> git.puffer.fish Git - matthieu/frr.git/commit
lib: add ringbuf socket read function
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 5 Mar 2021 21:14:11 +0000 (18:14 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 5 Mar 2021 21:17:27 +0000 (18:17 -0300)
commitd9d7af1a52d77ed0074ebb72f87678308296e74e
treee5663c17ea0780bbf043527e31a374de1f163a65
parent130daf24ae1acf5db602e55c13b9ffca139a1dbf
lib: add ringbuf socket read function

Implement new ringbuf function to do the proper socket reads without
the need of intermediary buffers.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib/ringbuf.c
lib/ringbuf.h