From: Henrik Ehlig Petersen <henrik.ehlig.petersen@ericsson.com>
To: netfilter-devel@lists.netfilter.org
Subject: ipv4options patch
Date: Mon, 31 Oct 2005 08:16:16 +0100 [thread overview]
Message-ID: <4365C4C0.4080002@ericsson.com> (raw)
Hi,
I have applied the ipv4options patch to the iptables/netfilter
function, and have some questions:
How is the srr flag/register used in iptables? It is defined as a char,
but how are the bits used? An example in the code makes a binary AND
between the srr and a "boolean" (the is_strictroute). Is it because bit
0 in the srr register contains the relevant info? Or how should I
understand the example below:
else if ((info->options & IPT_IPV4OPTION_MATCH_LSRR) ==
IPT_IPV4OPTION_MATCH_LSRR) {
if (!((opt->srr) & (!opt->is_strictroute)))
return 0;
}
Hope you can help me, thanks!!
--
BR
Henrik
next reply other threads:[~2005-10-31 7:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-31 7:16 Henrik Ehlig Petersen [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 13:33 ipv4options patch Henrik Ehlig Petersen
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=4365C4C0.4080002@ericsson.com \
--to=henrik.ehlig.petersen@ericsson.com \
--cc=netfilter-devel@lists.netfilter.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.