Re: [LARTC] tc and iptables --set-mark question

Linux Advanced Routing and Traffic Control

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

 



On Thursday, 03 July 2003, at 18:30:20 +0200,
Stef Coene wrote:

> > From the examples i have seen, it seems to me that the mark can be as big
> > as one Byte - is this correct ?
> 1 byte = 2^8 = 256.  I think it can be bigger.
> 
You are correct. If I understand correctly the code in:
/usr/src/linux-2.5.73/include/linux/netfilter_ipv4/ipt_mark.h

marks are "unsigned longs", so at least 2^32 of them should be available.

Hope this helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.5.73)


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux