Tunnel network interface and Sock

From: Zhu Ying Jie (zhuyingj@comp.nus.edu.sg)
Date: Fri Jan 11 2002 - 02:02:56 EST


Hi,
   I got several questions about the structures in TCP/IP implementation
in Linux kernel version 2.4.2.
   1. In freebsd, there is structure called "tun_softc" which controls the
interface property of the tunnel network. In Linux, i just found structure
of "net_device" doing same thing for all the network device. I am
wondering if there is some structures which directly controls the tunnel
network instead of the general network device? E.g. I want to get the info
whether the interface has packet in its sending queue.
   2. I am wondering in linux whether ALL the sending or receiving tcp
"sock" are linked together as a link list? And how can I find the first
element in the list?
   Please cc the reply to zhuyingj@comp.nus.edu.sg and thanks a lot for
the help.

Zhu Ying jie
Department of Computer Science,
School of Computing,
National University of Singapore

SS****************************SS***********************************SS
+ From little town of far land we came, +
+ to save our honor from a world of flame. +
+ By little town of far land we sleep, +
+ and trust that world will be won for you to keep. +
SS****************************SS***********************************SS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:34 EST