From mboxrd@z Thu Jan 1 00:00:00 1970 From: "lartc@manchotnetworks.net" Date: Tue, 02 Dec 2003 17:36:13 +0000 Subject: [LARTC] port masks in tcng Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hi all, hopefully a simple question: i would like to have a range of ports from 3200 to 3299, so i did the standard calculation 65535 - ( 3299 - 3200 ) = 65436 = 0xff9c what is the syntax for a hex mask in tcng? for the moment, i have (<$high>) if tcp_dport = 3200:7; which gives me a wee bit too much thanks! cheers charles _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/