All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ozgur AKAN <akan@aiqa.com>
To: "netfilter-devel@lists.netfilter.org"
	<netfilter-devel@lists.netfilter.org>
Subject: target, match and checkentry functions
Date: Wed, 28 Apr 2004 12:04:08 +0300	[thread overview]
Message-ID: <408F7388.5010704@aiqa.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi,

I am reading ip_tables.h. There is a structure called  ipt_target. In it 
there is pointer to a function which is below.

unsigned int (*target <http://lxr.linux.no/ident?i=target>)(struct sk_buff <http://lxr.linux.no/ident?i=sk_buff> **pskb, .......)

I can not find the original function that this function pointer(*target) points. When I search for target, I see that it is defined in 6 files. Which one is used and when? How can I understand it? (this is same for match and checkentry functions)

6 files in which target is defined;

    * net/ipv4/netfilter/ipt_ECN.c, line 104
      <http://lxr.linux.no/source/net/ipv4/netfilter/ipt_ECN.c#L104>
    * net/ipv4/netfilter/ipt_DSCP.c, line 25
      <http://lxr.linux.no/source/net/ipv4/netfilter/ipt_DSCP.c#L25>
    * net/ipv4/netfilter/ipt_MARK.c, line 11
      <http://lxr.linux.no/source/net/ipv4/netfilter/ipt_MARK.c#L11>
    * net/ipv4/netfilter/ipt_TOS.c, line 11
      <http://lxr.linux.no/source/net/ipv4/netfilter/ipt_TOS.c#L11>
    * net/ipv6/netfilter/ip6t_MARK.c, line 11
      <http://lxr.linux.no/source/net/ipv6/netfilter/ip6t_MARK.c#L11>

thanks,

-- 
Ozgur Akan


[-- Attachment #2: Type: text/html, Size: 1630 bytes --]

             reply	other threads:[~2004-04-28  9:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28  9:04 Ozgur AKAN [this message]
2004-04-28 12:57 ` target, match and checkentry functions Ozgur AKAN
2004-04-28 13:00   ` Thomas Jarosch
2004-04-28 13:41     ` Ozgur AKAN
2004-04-28 23:33 ` Henrik Nordstrom

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=408F7388.5010704@aiqa.com \
    --to=akan@aiqa.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.