[CRIU] [PATCH 01/10] inet: raw -- Add constants needed to fetch properties of a raw socket

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 22 01:10:53 MSK 2018


Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/include/sk-inet.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/criu/include/sk-inet.h b/criu/include/sk-inet.h
index 180f48e359e3..79966517bfac 100644
--- a/criu/include/sk-inet.h
+++ b/criu/include/sk-inet.h
@@ -16,6 +16,18 @@
 #define TCP_REPAIR_OPTIONS	22
 #endif
 
+#ifndef IP_HDRINCL
+# define IP_HDRINCL		3
+#endif
+
+#ifndef IP_NODEFRAG
+# define IP_NODEFRAG		22
+#endif
+
+#ifndef IPV6_HDRINCL
+# define IPV6_HDRINCL		36
+#endif
+
 struct inet_sk_desc {
 	struct socket_desc	sd;
 	unsigned int		type;
-- 
2.14.3



More information about the CRIU mailing list