From 3034822918dec909b1e2ffae2447b4ee05426057 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 5 Oct 2018 15:06:31 +0200 Subject: doc: Fix fccntl man page Patch for previous commit, which was broken. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- doc/man/fccntl.3 | 12 +++++------- include/ouroboros/fccntl.h | 3 +-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/man/fccntl.3 b/doc/man/fccntl.3 index 29ee1104..a738a8f0 100644 --- a/doc/man/fccntl.3 +++ b/doc/man/fccntl.3 @@ -73,18 +73,16 @@ buffer. Takes a \fBsize_t \fIqlen\fR as third argument. \fBFLOWGTXQLEN\fR - get the current number of packets in the transmit buffer. Takes a \fBsize_t \fIqlen\fR as third argument. -\fBFRCTSFLAGS\fR - set FRCT flags. Takes FRCT flags as third -argument. - -.RE - \fBFRCTGFLAGS\fR - get the current flow flags. Takes an \fBuint16_t \fIflags\fR as third argument. Supported flags are: .RS 8 -\fIFRCTFRESCNTRL\fR - enable resource control. +\fIFRCTFRESCNTRL\fR - resource control enabled. + +\fIFRCTFRTX\fR - retransmission enabled. + +.RE -\fIFRCTFRTX\fR - enable retransmission. .SH RETURN VALUE diff --git a/include/ouroboros/fccntl.h b/include/ouroboros/fccntl.h index fbfc11f8..7d1f7fe8 100644 --- a/include/ouroboros/fccntl.h +++ b/include/ouroboros/fccntl.h @@ -61,8 +61,7 @@ #define FLOWGTXQLEN 00000011 /* Get queue length on tx */ /* FRCT operations */ -#define FRCTSFLAGS 00001000 /* Set flags for FRCT */ -#define FRCTGFLAGS 00001001 /* Get flags for FRCT */ +#define FRCTGFLAGS 00001000 /* Get flags for FRCT */ __BEGIN_DECLS -- cgit v1.2.3