summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/memif_private.h
diff options
context:
space:
mode:
authorJakub Grajciar <grajciar.jakub@gmail.com>2017-09-14 14:12:10 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-09-15 08:33:43 +0000
commitb467b2a02be6ea7bab1a4773523afe8a8e3cfd83 (patch)
treed85ea1c045bc3090ad880521c4aae1b6a697c730 /extras/libmemif/src/memif_private.h
parentd5b1b85d2e776718169f930f592af5184a18100a (diff)
libmemif: Jumbo frames support
Change-Id: I2b316358dcd2de7168a860541bcca35c3dd44649 Signed-off-by: Jakub Grajciar <grajciar.jakub@gmail.com>
Diffstat (limited to 'extras/libmemif/src/memif_private.h')
-rw-r--r--extras/libmemif/src/memif_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/libmemif/src/memif_private.h b/extras/libmemif/src/memif_private.h
index 51f3be662fb..83962bcfaf7 100644
--- a/extras/libmemif/src/memif_private.h
+++ b/extras/libmemif/src/memif_private.h
@@ -44,6 +44,7 @@
#define MEMIF_MAX_FDS 512
+#define memif_min(a,b) (((a) < (b)) ? (a) : (b))
#ifdef MEMIF_DBG
#define DBG(...) do { \