netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: shah hemal <hshah127@yahoo.com>
To: David Miller <davem@davemloft.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: nf_mark use in sk_buff
Date: Tue, 13 Feb 2007 02:48:43 -0800 (PST)	[thread overview]
Message-ID: <320533.80091.qm@web36501.mail.mud.yahoo.com> (raw)
In-Reply-To: <20070212.122227.104035723.davem@davemloft.net>

Dear sir,

     thanks for reply.I have register netfilter hook 
NF_IP_FORWARD and wrote the handler function

 i want to forward the packet from my local buffer
where i have cached it. i saw one field in skbuff
structure. i.e. nfmark.

Is it possible to pass the mark value to module and
then use it to point  skbuff->nfmark?this mark can be
any integer value ??

thanks in advance.
hemal





--- David Miller <davem@davemloft.net> wrote:

> From: shah hemal <hshah127@yahoo.com>
> Date: Sun, 11 Feb 2007 00:20:25 -0800 (PST)
> 
> > Hi,
> > 
> >           What is nfmark field of sk_buff? For
> what
> > purpose it can be use?
> > 
> > its written in sk_buff structure description:
> > nfmark
> > 
> >     Can be used for communication between hooks .
> 
> You can set the mark one rule, then match on the
> mark using other
> rules.
> 

      parent reply	other threads:[~2007-02-13 10:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  8:20 nf_mark use in sk_buff shah hemal
2007-02-12 20:22 ` David Miller
2007-02-13 10:48   ` shah hemal
2007-02-13 10:48   ` shah hemal [this message]

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=320533.80091.qm@web36501.mail.mud.yahoo.com \
    --to=hshah127@yahoo.com \
    --cc=davem@davemloft.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).