Displaying 20 results from an estimated 137 matches for "sa_family_t".
Did you mean:
sa_family
2014 Jan 27
2
[Bug 889] New: libnftnl - expected specifier-qualifier-list before 'sa_family_t'
https://bugzilla.netfilter.org/show_bug.cgi?id=889
Summary: libnftnl - expected specifier-qualifier-list before
'sa_family_t'
Product: nftables
Version: unspecified
Platform: x86_64
OS/Version: RedHat Linux
Status: NEW
Severity: major
Priority: P5
Component: nft
AssignedTo: pablo at netfilter.org
ReportedBy: adhoniran.gom...
2000 Nov 21
1
Openssh-2.2.0pl1 for UnixWare 7.1
UnixWare (not sure when, 7? 7.1?) introduces a new sockaddr_in structure
that splits the 16 bit family entity into an 8-bit length and an 8-bit
familiy memember: (from in.h):
struct sockaddr_in {
#ifdef __NEW_SOCKADDR__
sa_len_t sin_len; /* 8-bit structure length */
#endif
sa_family_t sin_family; /* 8/16-bit address family (AF_INET) */
in_port_t sin_port; /* 16-bit port number */
struct in_addr sin_addr; /* 32-bit internet address */
unsigned char sin_zero[8]; /* optional with TLI */
};
This causes problems with the getaddrinfo() call in canohost.c, s...
2007 May 03
1
sockaddr structure elements
...rver.c:open_sockets_smbd() function, we are getting sockaddr
structure values as follows (caught at debug data on smbd):
smbd/server.c:open_sockets_smbd():addr
sockaddr
sa_family = AF_INET
sa_addr[14] = 4, 5, 192, 168, 1, 24, 220, 126, 47, 204, 180, 41, 11, 192
definition:
struct sockaddr {
sa_family_t sa_family; /* Address family, AF_xxx */
char sa_data[14]; /* 14 bytes of protocol
address */
}
According to the above definition, the sa_data should contain
2-byte port no:, local IP, remote IP. But it doesn't seem to be so by
looking at the data.
Can...
2010 Feb 23
0
[PATCH 3/3] Add relevant socket.h definitions
...*/
+#include <linux/uio.h> /* iovec support */
+#include <asm/socket.h> /* arch-dependent defines */
#if _KLIBC_HAS_ARCHSOCKET_H
#include <klibc/archsocket.h>
#endif
@@ -27,6 +30,40 @@
# define SOCK_PACKET 10
#endif
+
+typedef unsigned short sa_family_t;
+
+struct sockaddr {
+ sa_family_t sa_family; /* address family, AF_xxx */
+ char sa_data[14]; /* 14 bytes of protocol address */
+};
+
+
+/*
+ * As we do 4.4BSD message passing we use a 4.4BSD message passing
+ * system, not 4.3. Thus msg_accrights(len) are now missing. They
+ * belong in an obs...
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up,
I have a trouble to build that for Debian.
currently I build depent on linux-libc-dev, I don't know what
against I can build latest klibc, see
klibc fails to build due too:
make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install
make[3]: *** No rule to make target `headers_install'. Stop.
make[2]: ***
2013 Jun 01
3
[Bug 2114] New: Android requires sys/socket.h to be included before sys/un.h.
...gmail.com
Created attachment 2290
--> https://bugzilla.mindrot.org/attachment.cgi?id=2290&action=edit
Performs an explicit check for sys/un.h with the appropriate #includes.
I freely confess that this is one of the most bizarre things I have
ever seen. Android's sys/un.h header uses sa_family_t in the
sockaddr_un struct but neither defines it nor includes a header that
does.
This leads to the following warning when running ./configure:
configure: WARNING: sys/un.h: present but cannot be compiled
configure: WARNING: sys/un.h: check for missing prerequisite
headers?
configure: W...
2013 Mar 07
2
[PATCH] VSOCK: Split vm_sockets.h into kernel/uapi
...he same as
- * that of struct sockaddr.
+ * AF_VSOCK. The structure members should all align on their natural
+ * boundaries without resorting to compiler packing directives. The total size
+ * of this structure should be exactly the same as that of struct sockaddr.
*/
struct sockaddr_vm {
- sa_family_t svm_family;
+ __kernel_sa_family_t svm_family;
unsigned short svm_reserved1;
unsigned int svm_port;
unsigned int svm_cid;
@@ -156,8 +153,4 @@ struct sockaddr_vm {
#define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9)
-#if defined(__KERNEL__)
-int vm_sockets_get_local_cid(void);
-#endif
-...
2013 Mar 07
2
[PATCH] VSOCK: Split vm_sockets.h into kernel/uapi
...he same as
- * that of struct sockaddr.
+ * AF_VSOCK. The structure members should all align on their natural
+ * boundaries without resorting to compiler packing directives. The total size
+ * of this structure should be exactly the same as that of struct sockaddr.
*/
struct sockaddr_vm {
- sa_family_t svm_family;
+ __kernel_sa_family_t svm_family;
unsigned short svm_reserved1;
unsigned int svm_port;
unsigned int svm_cid;
@@ -156,8 +153,4 @@ struct sockaddr_vm {
#define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9)
-#if defined(__KERNEL__)
-int vm_sockets_get_local_cid(void);
-#endif
-...
2000 Jul 03
0
FreeBSD 3.5-STABLE
...ecking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long int... 8
checking for intXX_t types... yes
checking for u_intXX_t types... yes
checking for socklen_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... no
checking for struct sockaddr_in6... no
checking for struct in6_addr... no
checking for struct addrinfo... no
checking for ut_host field in utmp.h... yes
checking for ut_host field in utmpx...
2010 Feb 02
0
build failures with 2.6.33-rc
...ct msghdr' declared inside parameter list
In file included from usr/klibc/../include/netinet/in.h:12,
from usr/klibc/../include/arpa/inet.h:11,
from usr/klibc/inet/inet_ntoa.c:6:
linux/include/linux/in.h:182: error: expected specifier-qualifier-list before 'sa_family_t'
make[2]: *** [usr/klibc/inet/inet_ntoa.o] Error 1
make[1]: *** [all] Error 2
make: *** [klibc] Error 2
[4] build log on x86:
KLIBCCC usr/klibc/vsnprintf.o
In file included from usr/include/arch/i386/klibc/archsignal.h:99,
from usr/klibc/../include/signal.h:14,...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes.
External Building
=================
Patches 1 through 8 enable to use of klibc's build system while leaving the src
tree pristine (and potentially read only). Specifically:
- srctree=<Sources for klibc>
- objtree=<Ouput directory for klibc>
- KLIBCKERNELSRC=<Kernel sources>
- KLIBCKERNELOBJ=<Kernel
2001 Oct 26
2
problems building on solaris 2.6
...for u_int64_t types... no
checking for uintXX_t types... yes
checking for uintXX_t types in stdint.h... no
checking for u_char... yes
checking for socklen_t... no
checking for socklen_t equivalent... int
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... no
checking for struct sockaddr_in6... no
checking for struct in6_addr... no
checking for struct addrinfo... no
checking for struct timeval... yes
checking for ut_host field in utmp.h... no
checking...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...es
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... no
checking for u_int64_t types... no
checking for uintXX_t types... yes
checking for socklen_t... no
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... no
checking for struct sockaddr_in6... no
checking for struct in6_addr... no
checking for struct addrinfo... no
checking for struct timeval... yes
checking for ut_host field in utmp.h... no
checking...
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...quot;) 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_ssize_t="yes"
else
@@ -3381,13 +3383,13 @@
fi
echo $ac_n "checking for sa_family_t""... $ac_c" 1>&6
-echo "configure:3385: checking for sa_family_t" >&5
+echo "configure:3387: checking for sa_family_t" >&5
if eval "test \"`echo '$''{'ac_cv_have_sa_family_t'+set}'`\" = set"; then...
2000 Oct 04
0
2.2.0p1 chroot patch
...quot;) 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_ssize_t="yes"
else
@@ -3484,13 +3486,13 @@
fi
echo $ac_n "checking for sa_family_t""... $ac_c" 1>&6
-echo "configure:3488: checking for sa_family_t" >&5
+echo "configure:3490: checking for sa_family_t" >&5
if eval "test \"`echo '$''{'ac_cv_have_sa_family_t'+set}'`\" = set"; then...
2001 Apr 10
2
Compiling openssh 2.5.p1 on unixware 7.0.1
...u_int64_t types... (cached) no
checking for intXX_t and u_intXX_t types in sys/bitypes.h... yes
checking for uintXX_t types... (cached) no
checking for socklen_t... (cached) no
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for clock_t... (cached) yes
checking for sa_family_t... (cached) yes
checking for pid_t... (cached) yes
checking for mode_t... (cached) yes
checking for struct sockaddr_storage... (cached) no
checking for struct sockaddr_in6... (cached) yes
checking for struct in6_addr... (cached) yes
checking for struct addrinfo... (cached) yes
checking for struct t...
2001 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
...es
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... no
checking for u_int64_t types... no
checking for uintXX_t types... yes
checking for socklen_t... no
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... no
checking for struct sockaddr_in6... no
checking for struct in6_addr... no
checking for struct addrinfo... no
checking for struct timeval... yes
checking for ut_host field in utmp.h... no
checking...
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
...r... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long int... 8
checking for intXX_t types... yes
checking for u_intXX_t types... yes
checking for socklen_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for ut_host field in utmp.h... yes
checking for ut_host field in utmpx.h.....
2010 Nov 01
1
Samba 4 on osx
...hecking for socklen_t : ok
Checking for struct ifaddrs : ok
Checking for struct addrinfo : ok
Checking for struct sockaddr : ok
Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok
Checking for struct sockaddr_storage : ok
Checking for sa_family_t : ok
Checking for sig_atomic_t : ok
Checking for inet_ntoa : ok
Checking for inet_aton : ok
Checking for inet_ntop : ok
Checking for inet_pton : ok
Checking for connect...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...checking for u_int64_t types... yes
checking for uintXX_t types in stdint.h... yes
checking for u_char... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for in_addr_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct timespec... yes
checking for...