lkml.org 
[lkml]   [2002]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectTunnel network interface and Sock
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.018 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site