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

[Minios-devel] Fwd: [UNIKRAFT/LWIP PATCH 4/8] Provide ioctl



Now that I think about it, this should probably be wrapped in a similar way to poll and select in patch 8...


-------- Forwarded Message --------
Subject: [UNIKRAFT/LWIP PATCH 4/8] Provide ioctl
Date: Mon, 20 May 2019 13:29:47 +0200
From: Florian Schmidt <florian.schmidt@xxxxxxxxx>
To: minios-devel@xxxxxxxxxxxxx
CC: Florian Schmidt <florian.schmidt@xxxxxxxxx>

Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
---
 exportsyms.uk        | 1 +
 include/sys/socket.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/exportsyms.uk b/exportsyms.uk
index 42e255f..b17b5e1 100644
--- a/exportsyms.uk
+++ b/exportsyms.uk
@@ -6,6 +6,7 @@ getsockname
 getsockopt
 liblwip_init
 listen
+lwip_ioctl
 lwip_htonl
 lwip_htons
 lwip_select
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 90f80ba..11f622d 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -48,6 +48,8 @@
 #define SOCK_NONBLOCK   0x20000000
 #endif
 +#define ioctl(s, cmd, argp) lwip_ioctl(s, cmd, argp)
+
 #ifdef CONFIG_LIBNOLIBC
 int socket(int domain, int type, int protocol);
 int accept(int s, struct sockaddr *addr, socklen_t *addrlen);
--
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®.