Some reference on linux networking data structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi everybody,

I was wondering if someone could tell me where I could find info about the
linkages between the various kernel networking data structures...the more
I read the header files (and the comments that go with them!) the more I
get confused...also, is there any serious design difference between the
4.4 BSD implementation and the linux network implementation. For instance,
in 4.4 BSD, TCP maintains its own protocol control block (unlike
udp).Where do i find the TCP protocol control block...to me it looks like
struct sock{} incorporates everything, or am I way off?

Also, if I wanted to add a per-connection variable which measures the
number of bytes sent out for that connection (for measuring some kind of
rate), would I better off including it in tcp_opt or in struct sock{}?

Thanks,
Hari



------------------------------------------------------------------------------
			Hariharan L. Thantry
			thantryh@cse.msu.edu

4642, S. Hagadorn Road, #E6		Dept of Computer Science and Engg
East Lansing, MI 48823			Michigan State University
					East Lansing, MI 48824-1226
Ph(res): 1-517-332-2645			Ph(off): 1-517-353-6646
-----------------------------------------------------------------------------
 

On Mon, 31 Jul 2000, Joseph Eggleston wrote:

> Hi all. I've got a quick question.
> 
> I'm using a laptop with two PCMCIA 3Com ethernet cards to forward
> packets between two networks in a testbed. It seems to work, but quite
> frequently I get errors like the following in the log:
> kernel: eth0 interrupt(s) dropped!
> kernel: eth0: Too much work in interrupt, status 2091. (sometimes it's
> status 2011)
> and similar ones for eth1.
> 
> There are enough of these errors that within a few minutes dmesg is full
> of them. Any ideas on what causes this? Is this something I should be
> worried about?
> 
> thanks,
> Joe
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
> 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux