diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-02-28 14:06:01 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-02-28 14:15:53 +0100 |
commit | eb8ed5e4ebef1b34bc6dd749fb7210cac618a9fe (patch) | |
tree | 17d4e6e5cb6f69c583056fa47d81630ba318b93d /src/lib/sockets.c | |
parent | 4159e60f9b61dd5c8ac33cd2dea3ff81945c06ce (diff) | |
download | ouroboros-eb8ed5e4ebef1b34bc6dd749fb7210cac618a9fe.tar.gz ouroboros-eb8ed5e4ebef1b34bc6dd749fb7210cac618a9fe.zip |
lib: Add fccntl operation to get queue lengths
This adds the FLOWGRXQLEN and FLOWGTXQLEN operations to fccntl to get
the number of packets that are in the receive and transmit buffers
respectively. The flow statistics are updated to show these queue
lengths.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/sockets.c')
0 files changed, 0 insertions, 0 deletions