[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LWIP PATCH 1/3] Add SOCK_SEQPACKET in socket.h



This patch adds the missing SOCK_SEQPACKET to include/socket.h.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 include/sys/socket.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/sys/socket.h b/include/sys/socket.h
index 53d9301..42bad6c 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -48,6 +48,10 @@
 #define SOCK_NONBLOCK   0x20000000
 #endif
 
+#ifndef SOCK_SEQPACKET
+#define SOCK_SEQPACKET 5
+#endif
+
 #define ioctl(s, cmd, argp) lwip_ioctl(s, cmd, argp)
 
 int socket(int domain, int type, int protocol);
-- 
2.21.0

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.