diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-08-15 21:44:07 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-08-15 21:44:07 +0200 |
commit | 817200db90268ad1e80db0a4971776504489fcc8 (patch) | |
tree | d18e5328158d843ab6d3def0de46fd09ad95163f /mcastseed/src/dgrambuf.h | |
parent | 3251c9f4e169f35d5f2410d777b848c49a91348a (diff) | |
download | eficast-817200db90268ad1e80db0a4971776504489fcc8.tar.gz eficast-817200db90268ad1e80db0a4971776504489fcc8.tar.bz2 eficast-817200db90268ad1e80db0a4971776504489fcc8.zip |
dgrambuf: fix slots init, _add() error checking, detect dups on read
Duplicates have been counted on write() because of qsort().
Diffstat (limited to 'mcastseed/src/dgrambuf.h')
-rw-r--r-- | mcastseed/src/dgrambuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcastseed/src/dgrambuf.h b/mcastseed/src/dgrambuf.h index 4d712c6..a83647b 100644 --- a/mcastseed/src/dgrambuf.h +++ b/mcastseed/src/dgrambuf.h @@ -12,6 +12,7 @@ #define DGRAMBUF_RECV_IOVEC_FULL 1 << 3 #define DGRAMBUF_RECV_FINALIZE 1 << 4 #define DGRAMBUF_RECV_FUTURE_DGRAM 1 << 5 +#define DGRAMBUF_RECV_DUPLICATE_DGRAM 1 << 6 #define DGRAMBUF_RECV_VALID_DGRAM 1 << 6 #define DGRAMBUF_WRITE_PARTIAL 1 << 1 |