search for: af_xxx

Displaying 4 results from an estimated 4 matches for "af_xxx".

2007 May 03
1
sockaddr structure elements
...kaddr 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 anyone please help me to understand this data (th...
2010 Feb 23
0
[PATCH 3/3] Add relevant socket.h definitions
...nclude <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 obscure libc emulation or the bin. + */ + +struct msghdr { + void * msg_nam...
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]: ***
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