All of lore.kernel.org
 help / color / mirror / Atom feed
* Question on using Linux as a router
@ 2006-04-21 14:21 Serge Goodenko
  2006-04-21 17:18 ` How does LED blinking work in e1000 driver? Tony Chung
  0 siblings, 1 reply; 2+ messages in thread
From: Serge Goodenko @ 2006-04-21 14:21 UTC (permalink / raw)
  To: netdev

Hi everybody!

I got the following question.

When I use linux as a router (via ip forwarding) what kernel variables (maybe some queues?) represent the closest analogue of usual hardware router input and output buffers? May this be, say, backlog queue or something else?

The things I need to get are the sizes and loads of that buffers during transmission.
I know about variables such as sk->sk_rcvbuf and sk->sk_rmem_alloc but they are not used during ip forwarding as the socket (i.e. sock structure) is not even being created for that purpose. As far as I understood these variables in sock structure are mostly used for tcp-level packet processing and they represent the values written in files like /proc/sys/net/core/wmem_default etc. (please correct me if that's wrong), but nevertheless maybe I also can use these values for "routing" buffers (i.e. on ip level)?

thanks in advance,
Servge
MIPT
Moscow, Russia

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-21 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 14:21 Question on using Linux as a router Serge Goodenko
2006-04-21 17:18 ` How does LED blinking work in e1000 driver? Tony Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.