Displaying 3 results from an estimated 3 matches for "straddr".
2019 Sep 15
0
[PATCH nbdkit 4/4] reflection: Enhance plugin to support client address mode.
...*data, size_t len, struct handle *ret)
#endif
}
+static int
+handle_address (struct sockaddr *sa, socklen_t addrlen,
+ struct handle *ret)
+{
+ struct sockaddr_in *addr = (struct sockaddr_in *) sa;
+ struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) sa;
+ union {
+ char straddr[INET_ADDRSTRLEN];
+ char straddr6[INET6_ADDRSTRLEN];
+ } u;
+ int r;
+ char *str;
+
+ switch (addr->sin_family) {
+ case AF_INET:
+ if (inet_ntop (AF_INET, &addr->sin_addr,
+ u.straddr, sizeof u.straddr) == NULL) {
+ nbdkit_error ("inet_ntop: %m"...
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
2003 Jul 16
16
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel
http://bugzilla.mindrot.org/show_bug.cgi?id=620
Summary: Address bits are backwards when setting up port
forwarding on Solaris/intel
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: ix86
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P3
Component: ssh
AssignedTo: