diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-26 13:13:43 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-26 13:13:43 +0000 |
commit | 696511dcccfdf1dd1f86cc9ea64379f17722afee (patch) | |
tree | 1e62fc32c6b627a505cc1cf6c7af982e48618742 /src/tools/oping/oping_server.c | |
parent | cc64e52dee3559128293a17a669e94acb48f9309 (diff) | |
parent | cce79395b5a9f75d3fe1b14bf5df44795d680ca4 (diff) | |
download | ouroboros-696511dcccfdf1dd1f86cc9ea64379f17722afee.tar.gz ouroboros-696511dcccfdf1dd1f86cc9ea64379f17722afee.zip |
Merged in dstaesse/ouroboros/be-qos (pull request #279)
lib: API for accepting flows with QoS
Diffstat (limited to 'src/tools/oping/oping_server.c')
-rw-r--r-- | src/tools/oping/oping_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 720e71b6..8d7ab1db 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -115,13 +115,14 @@ void * accept_thread(void * o) { int fd = 0; struct timespec now = {0, 0}; + struct qos_spec qs; (void) o; printf("Ouroboros ping server started.\n"); while (true) { - fd = flow_accept(NULL); + fd = flow_accept(NULL, &qs); if (fd < 0) { printf("Failed to accept flow.\n"); break; |