[LTP] [PATCH 2/3] lapi: fallback UDP_ENCAP and UDP_ENCAP_ESPINUDP
Andrea Cervesato
andrea.cervesato@suse.de
Fri May 8 11:17:35 CEST 2026
From: Andrea Cervesato <andrea.cervesato@suse.com>
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
include/lapi/udp.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/lapi/udp.h b/include/lapi/udp.h
index 5c73dd36989c40c6dbb8b90d2f0c5bd8cd986b5d..93b24fc3ee984dc02c894cb1b5d6d0a40492d873 100644
--- a/include/lapi/udp.h
+++ b/include/lapi/udp.h
@@ -15,4 +15,12 @@
# define UDPLITE_RECV_CSCOV 11 /* receiver partial coverage (threshold ) */
#endif
+#ifndef UDP_ENCAP
+# define UDP_ENCAP 100
+#endif
+
+#ifndef UDP_ENCAP_ESPINUDP
+# define UDP_ENCAP_ESPINUDP 2
+#endif
+
#endif /* LAPI_UDP_H__ */
--
2.51.0
More information about the ltp
mailing list