question on using Linux as a router
From: Serge Goodenko
Date: Thu Apr 27 2006 - 04:00:49 EST
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
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,
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html