diff options
Diffstat (limited to 'hicn-light/src/hicn/io/udp.c')
-rw-r--r-- | hicn-light/src/hicn/io/udp.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/hicn-light/src/hicn/io/udp.c b/hicn-light/src/hicn/io/udp.c index d704a64f1..d881b4b01 100644 --- a/hicn-light/src/hicn/io/udp.c +++ b/hicn-light/src/hicn/io/udp.c @@ -261,15 +261,10 @@ DECLARE_LISTENER(udp); #define RING_LEN 5 * MAX_MSG typedef struct { - /* - * Ring buffer - * - * This is sized to more than a batch to cope with transient failures of - * sendmmsg. - */ +#ifdef __linux__ + /* Ring buffer */ off_t *ring; -#ifdef __linux__ struct mmsghdr msghdr[MAX_MSG]; struct iovec iovecs[MAX_MSG]; #endif /* __linux__ */ |