Question on using Linux as a router

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

 



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 linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux