All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] port masks in tcng
@ 2003-12-02 17:36 lartc
  2003-12-03  1:24 ` Jacob Teplitsky
  0 siblings, 1 reply; 2+ messages in thread
From: lartc @ 2003-12-02 17:36 UTC (permalink / raw)
  To: lartc

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

<snip>
 
    (<$high>) if tcp_dport = 3200:7;

<snip>

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-03  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-02 17:36 [LARTC] port masks in tcng lartc
2003-12-03  1:24 ` Jacob Teplitsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.