Displaying 2 results from an estimated 2 matches for "c8b06a6".
2019 Sep 15
0
[PATCH nbdkit 3/4] server: Add nbdkit_peer_name() to return the client address.
...644
--- a/server/nbdkit.syms
+++ b/server/nbdkit.syms
@@ -50,6 +50,7 @@
nbdkit_nanosleep;
nbdkit_parse_bool;
nbdkit_parse_size;
+ nbdkit_peer_name;
nbdkit_read_password;
nbdkit_realpath;
nbdkit_set_error;
diff --git a/server/public.c b/server/public.c
index 96ab353..c8b06a6 100644
--- a/server/public.c
+++ b/server/public.c
@@ -49,6 +49,7 @@
#include <errno.h>
#include <poll.h>
#include <signal.h>
+#include <sys/socket.h>
#include "get-current-dir-name.h"
@@ -392,3 +393,23 @@ nbdkit_export_name (void)
return conn->expo...
2019 Sep 15
13
[PATCH nbdkit 0/4] Reflection plugin, peer name.
This series is based on my blog posting here:
https://rwmj.wordpress.com/2019/09/13/nbdkit-supports-exportnames/
It depends on the fix for realloc:
https://www.redhat.com/archives/libguestfs/2019-September/thread.html#00103
This series adds a fun plugin, and also an semi-related feature I've
long thought to be desirable. You can consider patches 1 & 4, and
patches 2 & 3 as forming