[PATCH v2] doc: Update man page for fccntl

  • From: Dimitri Staessens <dimitri.staessens@xxxxxxxx>
  • To: ouroboros@xxxxxxxxxxxxx
  • Date: Fri, 5 Oct 2018 11:58:21 +0200

The FLOWSFLAGS command was recently obsoleted with the removal of
online reconfiguration of FRCT.
---
 doc/man/fccntl.3           | 18 +++++++-----------
 include/ouroboros/fccntl.h |  1 -
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/doc/man/fccntl.3 b/doc/man/fccntl.3
index 543a6bb..29ee110 100644
--- a/doc/man/fccntl.3
+++ b/doc/man/fccntl.3
@@ -2,7 +2,7 @@
 .\" Dimitri Staessens <dimitri.staessens@xxxxxxxx>
 .\" Sander Vrijders <sander.vrijders@xxxxxxxx>
 
-.TH FCCNTL 3 2018-02-28 Ouroboros "Ouroboros Programmer's Manual"
+.TH FCCNTL 3 2018-10-04 Ouroboros "Ouroboros Programmer's Manual"
 
 .SH NAME
 
@@ -74,22 +74,18 @@ buffer. Takes a \fBsize_t \fIqlen\fR as third argument.
 buffer. Takes a \fBsize_t \fIqlen\fR as third argument.
 
 \fBFRCTSFLAGS\fR    - set FRCT flags. Takes FRCT flags as third
-argument. Supported flags are:
+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.
 
 \fIFRCTFRTX\fR      - enable retransmission.
 
-\fIFRCTFERRCHCK\fR  - enable checksum (CRC32).
-
-\fIFRCTFPARTIAL\fR  - enable partial delivery.
-
-.RE
-
-\fBFRCTGFLAGS\fR    - get the current flow flags. Takes an \fBuint16_t
-\fIflags\fR as third argument.
-
 .SH RETURN VALUE
 
 On success, \fBfccntl\fR() returns 0.
diff --git a/include/ouroboros/fccntl.h b/include/ouroboros/fccntl.h
index bc7c720..fbfc11f 100644
--- a/include/ouroboros/fccntl.h
+++ b/include/ouroboros/fccntl.h
@@ -48,7 +48,6 @@
 #define FRCTFRESCNTRL 00000001 /* Feedback from receiver */
 #define FRCTFRTX      00000002 /* Reliable flow          */
 #define FRCTFERRCHCK  00000004 /* Check for errors       */
-#define FRCTFPARTIAL  00000010 /* Allow partial delivery */
 
 /* Flow operations */
 #define FLOWSRCVTIMEO 00000001 /* Set read timeout       */
-- 
2.19.0


Other related posts: