All of lore.kernel.org
 help / color / mirror / Atom feed
From: Swapnil Nagle <swapsn@rediffmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: positive target->verdict
Date: Tue, 10 Aug 2004 21:26:59 +0530	[thread overview]
Message-ID: <4118F04B.5090505@rediffmail.com> (raw)


Hi all,

Short query :

What is the significance of a positive verdict in ipt_standard_target ?
 Its supposed to be a jump offset, but is it from :
 - beginning of current chain
 - relative to a current ipt_entry

The netfilter-hacking howto only mentions that its an offset.

Long version :

I was looking at the struct ipt_replace generated for this rule :

iptables -A INPUT -d 192.168.1.1 -j REJECT

The first ipt_entry for INPUT chain (i.e repl->hook_entry[1]) has a 
verdict 3.

Does that mean that its a jump and the next ipt_entry is the 3rd one 
from the beginning of this chain ?

Regards,
Swapnil.

                 reply	other threads:[~2004-08-10 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4118F04B.5090505@rediffmail.com \
    --to=swapsn@rediffmail.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.