From 817200db90268ad1e80db0a4971776504489fcc8 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Mon, 15 Aug 2016 21:44:07 +0200 Subject: dgrambuf: fix slots init, _add() error checking, detect dups on read Duplicates have been counted on write() because of qsort(). --- mcastseed/src/dgrambuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mcastseed/src/dgrambuf.h') 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 -- cgit v1.2.3