From mboxrd@z Thu Jan 1 00:00:00 1970 From: "openings" Date: Sun, 13 Apr 2003 12:48:40 +0000 Subject: [LARTC] Filtering packets with U32 Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org hi. I want to filter packets that's source address is 192.168.0.1 or 192.168.0.= 25 or 192.168.0.0/28. # tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.= 168.0.1 flow id 1:30 # tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.= 168.0.25 flow id 1:30 # tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.= 168.0.0/28 flow id 1:30 But the above command need to execute tc three times. Can I filtering it with one line tc command?=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =CB=01=14=C2=99=A8=A5=8Ax%=8A=CB=7F,=04S=0B=F9=9A=8AY=9A=9F=F7l=F5=AF=E7=96= =1Bm=A7=FF=FF=99=A8=A5=99=A9=FFv=CFZ=FEy=7F=99=A8=A5=99=A9=FF=96+-=8Aw=E8= =FEV=AB=B5=C1=CEY3=FF=86=DBi=FF=FF=E5j=BB\=FE=8A=E0