All of lore.kernel.org
 help / color / mirror / Atom feed
From: "lartc@manchotnetworks.net" <lartc@manchotnetworks.net>
To: lartc@vger.kernel.org
Subject: [LARTC] port masks in tcng
Date: Tue, 02 Dec 2003 17:36:13 +0000	[thread overview]
Message-ID: <marc-lartc-107038688232103@msgid-missing> (raw)

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/

             reply	other threads:[~2003-12-02 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 17:36 lartc [this message]
2003-12-03  1:24 ` [LARTC] port masks in tcng Jacob Teplitsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107038688232103@msgid-missing \
    --to=lartc@manchotnetworks.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.