summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-10-05 15:06:31 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-10-05 15:20:42 +0200
commit3034822918dec909b1e2ffae2447b4ee05426057 (patch)
treed834dfdbba42d8eab1111ffe01ea6fdc10097eaa
parent09805f364f46711d45b37050ad1113e9ab7bd4ae (diff)
downloadouroboros-3034822918dec909b1e2ffae2447b4ee05426057.tar.gz
ouroboros-3034822918dec909b1e2ffae2447b4ee05426057.zip
doc: Fix fccntl man page
Patch for previous commit, which was broken. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r--doc/man/fccntl.312
-rw-r--r--include/ouroboros/fccntl.h3
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