On Tue, Jan 06, 2004 at 12:44:21 +0000, john paul wrote: > Hello, > Where can I find documentation about net layer in the kernel? > > I mean : explanation about metod in > af_unix.c (in /net/unix) or af_inet.c (in /net/ipv4). > For example: > what is unix_find_other() method for ? > why is it called in unix_dgram_connect() > and in unix_stream_connect() > > details about establishing the TCP/UDP connection , the > difference - from kernel point of view - between DGRAM and STREAM (TCP and > UDP), > what unix_mkname does, socket lists, > what is sunaddr , unix_peer() methods , locks, etc... > > I looked ar the code of these 2 modules and there is not much documentation. > regards, Basicaly the only documentation for most of the kernel (and the only kept up to date) is the source code itself. ctags, cscope and lxr.linux.no are your friends ;-). You should also try to search for external documents. The linux documentation project might be useful. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/