From 85c95ee0821e0224e1bb25b24c9b612f2f27c407 Mon Sep 17 00:00:00 2001
From: hoelscher <jens.hoelscher@fh-muenster.de>
Date: Thu, 1 Oct 2015 20:05:15 +0200
Subject: [PATCH] Add symbols for linux for sctp_paddrparams spp_flags

---
 gtests/net/packetdrill/symbols_linux.c | 28 +++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gtests/net/packetdrill/symbols_linux.c b/gtests/net/packetdrill/symbols_linux.c
index b5f6247c..db4e2559 100644
--- a/gtests/net/packetdrill/symbols_linux.c
+++ b/gtests/net/packetdrill/symbols_linux.c
@@ -139,7 +139,33 @@ struct int_symbol platform_symbols_table[] = {
         { SCTP_UNCONFIRMED,                 "SCTP_UNCONFIRMED"                },
         { SCTP_ACTIVE,                      "SCTP_ACTIVE"                     },
         { SCTP_INACTIVE,                    "SCTP_INACTIVE"                   },
-
+#ifdef SPP_HB_ENABLE
+        { SPP_HB_ENABLE,                    "SPP_HB_ENABLE"                   },
+#endif
+#ifdef SPP_HB_DISABLE
+        { SPP_HB_DISABLE,                    "SPP_HB_DISABLE"                 },
+#endif
+#ifdef SPP_HB_DEMAND
+        { SPP_HB_DEMAND,                    "SPP_HB_DEMAND"                   },
+#endif
+#ifdef SPP_PMTUD_ENABLE
+        { SPP_PMTUD_ENABLE,                 "SPP_PMTUD_ENABLE"                },
+#endif
+#ifdef SPP_PMTUD_DISABLE
+	{ SPP_PMTUD_DISABLE,                "SPP_PMTUD_DISABLE"               },
+#endif
+#ifdef SPP_HB_TIME_IS_ZERO
+	{ SPP_HB_TIME_IS_ZERO,              "SPP_HB_TIME_IS_ZERO"             },
+#endif
+#ifdef SPP_IPV6_FLOWLABEL
+	{ SPP_IPV6_FLOWLABEL,               "SPP_IPV6_FLOWLABEL"              },
+#endif
+#ifdef SPP_DSCP
+	{ SPP_DSCP,                         "SPP_DSCP"                        },
+#endif
+#ifdef SPP_IPV4_TOS
+	{ SPP_IPV4_TOS,                     "SPP_IPV4_TOS"                    },
+#endif
 	{ TCP_NODELAY,                      "TCP_NODELAY"                     },
 	{ TCP_MAXSEG,                       "TCP_MAXSEG"                      },
 	{ TCP_CORK,                         "TCP_CORK"                        },
-- 
GitLab