can use iptables to match 802.1Q P bits?

Linux Advanced Routing and Traffic Control

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

 



Hi,All
	I'd like to use iptables to set TOS according to the 802.1Q P bits in ethernet header,but I got no idea.You know,we can use this to match mac:iptables -A FORWARD -m mac --mac-source 00:e0:4c:3b:b6:d5 -j DROP.So can iptables supply commands to match P bits in ethernet header?(If so,I can set:iptables -A FORWARD -p pbits --pbits 0x5 -j TOS --set-tos 0xb8.)
	Any suggestion is highly appreciated!
	

	

  Best regards.
 				

        swcims
        swcims@xxxxxxx
          2004-06-10
???????????????????ē?%?,S????醑?m??ē????????-?棹V?廖Y3???????

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