diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-30 17:11:22 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-31 09:18:41 +0200 |
commit | 4060efec26115dbb9e68da67bc482a12b4f80ea8 (patch) | |
tree | 559ab25cc65cbac1ddda458f8370e8ee2675edf8 /include/ouroboros/frct_pci.h | |
parent | 8fe0340d2117cf9b5c724ff10621978ef2bee5f1 (diff) | |
download | ouroboros-4060efec26115dbb9e68da67bc482a12b4f80ea8.tar.gz ouroboros-4060efec26115dbb9e68da67bc482a12b4f80ea8.zip |
lib: Add fccntl configuration command
This replaces the flow_set_* commands with a single fccntl command
that can configure flows and the FRCT instance.
For more details, see "man 3 fccntl".
Diffstat (limited to 'include/ouroboros/frct_pci.h')
-rw-r--r-- | include/ouroboros/frct_pci.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/ouroboros/frct_pci.h b/include/ouroboros/frct_pci.h index 601c0ce4..a919bc60 100644 --- a/include/ouroboros/frct_pci.h +++ b/include/ouroboros/frct_pci.h @@ -35,7 +35,7 @@ struct frct_pci { uint64_t seqno; /* Present in config PDU. */ - uint8_t conf_flags; + uint16_t conf_flags; /* Present in flow control PDU. */ uint64_t lwe; @@ -51,14 +51,6 @@ enum pdu_types { PDU_TYPE_RENDEZ_VOUS = 0x10 }; -enum config_flags { - CONF_RESOURCE_CONTROL = 0x01, - CONF_RELIABLE = 0x02, - CONF_ERROR_CHECK = 0x04, - CONF_ORDERED = 0x08, - CONF_PARTIAL = 0x10 -}; - enum data_flags { FLAG_DATA_RUN = 0x01, FLAG_MORE_FRAGMENTS = 0x02 |