All of lore.kernel.org
 help / color / mirror / Atom feed
* target, match and checkentry functions
@ 2004-04-28  9:04 Ozgur AKAN
  2004-04-28 12:57 ` Ozgur AKAN
  2004-04-28 23:33 ` Henrik Nordstrom
  0 siblings, 2 replies; 5+ messages in thread
From: Ozgur AKAN @ 2004-04-28  9:04 UTC (permalink / raw)
  To: netfilter-devel@lists.netfilter.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-28 23:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28  9:04 target, match and checkentry functions Ozgur AKAN
2004-04-28 12:57 ` Ozgur AKAN
2004-04-28 13:00   ` Thomas Jarosch
2004-04-28 13:41     ` Ozgur AKAN
2004-04-28 23:33 ` Henrik Nordstrom

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.