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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to