nf_mark use in sk_buff
hshah127 at yahoo.com
Tue Feb 13 11:48:43 CET 2007
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.
--- David Miller <davem at davemloft.net> wrote:
> From: shah hemal <hshah127 at yahoo.com>
> Date: Sun, 11 Feb 2007 00:20:25 -0800 (PST)
> > Hi,
> > What is nfmark field of sk_buff? For
> > 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
More information about the netfilter-devel