Skip to content
Snippets Groups Projects
Commit bfa98688 authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Task #7519: rework COBALT PacketReader: recvmmsg()

- rework recvmmsg() wrapper, so we can reuse it for APERTIF. Main purpose is to allow verification of incoming datagram sizes in real-time mode from recvmmsg().
- fix small bug wrt input statistics in non-real-time mode
- fix small bug wrt setReadBufferSize() (unused): THROW_SYSCALL() instead of perror()
- minor simplification / clean ups, e.g. merge/unify packet size check into validatePacket()

Disadvantage of the patch is that struct iovec is no longer contained in our recvmmsg() wrapper.
All tests pass on cbt009.
parent 901a469a
No related branches found
No related tags found
No related merge requests found
Showing
with 146 additions and 143 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment