diff --git a/doc/api/2.6.17.c b/doc/api/2.6.17.c new file mode 100644 index 0000000..3b56e47 --- /dev/null +++ b/doc/api/2.6.17.c @@ -0,0 +1,64 @@ +match: + + /* true/false */ + int + (*match)( + const struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + const struct xt_match *match, + const void *matchinfo, + int offset, + unsigned int protoff, + int *hotdrop, + ); + + /* error code */ + int + (*checkentry)( + const char *tablename, + const void *ip, + const struct xt_match *match, + void *matchinfo, + unsigned int matchinfosize, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_match *match, + void *matchinfo, + unsigned int matchinfosize, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff **pskb, + const struct net_device *in, + const struct net_device *out, + unsigned int hooknum, + const struct xt_target *target, + const void *targinfo, + void *userdata, + ); + + /* error code */ + int + (*checkentry)( + const char *tablename, + const void *entry, + const struct xt_target *target, + void *targinfo, + unsigned int targinfosize, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_target *target, + void *targinfo, + unsigned int targinfosize, + ); diff --git a/doc/api/2.6.19.c b/doc/api/2.6.19.c new file mode 100644 index 0000000..9bc658f --- /dev/null +++ b/doc/api/2.6.19.c @@ -0,0 +1,59 @@ +match: + + /* true/false */ + int + (*match)( + const struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + const struct xt_match *match, + const void *matchinfo, + int offset, + unsigned int protoff, + int *hotdrop, + ); + + /* error code */ + int + (*checkentry)( + const char *tablename, + const void *ip, + const struct xt_match *match, + void *matchinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_match *match, + void *matchinfo, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff **pskb, + const struct net_device *in, + const struct net_device *out, + unsigned int hooknum, + const struct xt_target *target, + const void *targinfo, + ); + + /* error code */ + int + (*checkentry)( + const char *tablename, + const void *entry, + const struct xt_target *target, + void *targinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_target *target, + void *targinfo, + ); diff --git a/doc/api/2.6.23.c b/doc/api/2.6.23.c new file mode 100644 index 0000000..6cc91b2 --- /dev/null +++ b/doc/api/2.6.23.c @@ -0,0 +1,59 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + const struct xt_match *match, + const void *matchinfo, + int offset, + unsigned int protoff, + bool *hotdrop, + ); + + /* true/false */ + bool + (*checkentry)( + const char *tablename, + const void *ip, + const struct xt_match *match, + void *matchinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_match *match, + void *matchinfo, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff **pskb, + const struct net_device *in, + const struct net_device *out, + unsigned int hooknum, + const struct xt_target *target, + const void *targinfo, + ); + + /* true/false */ + bool + (*checkentry)( + const char *tablename, + const void *entry, + const struct xt_target *target, + void *targinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_target *target, + void *targinfo, + ); diff --git a/doc/api/2.6.24.c b/doc/api/2.6.24.c new file mode 100644 index 0000000..c411fde --- /dev/null +++ b/doc/api/2.6.24.c @@ -0,0 +1,59 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + const struct xt_match *match, + const void *matchinfo, + int offset, + unsigned int protoff, + bool *hotdrop, + ); + + /* true/false */ + bool + (*checkentry)( + const char *tablename, + const void *ip, + const struct xt_match *match, + void *matchinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_match *match, + void *matchinfo, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + unsigned int hooknum, + const struct xt_target *target, + const void *targinfo, + ); + + /* true/false */ + bool + (*checkentry)( + const char *tablename, + const void *entry, + const struct xt_target *target, + void *targinfo, + unsigned int hook_mask, + ); + + void + (*destroy)( + const struct xt_target *target, + void *targinfo, + ); diff --git a/doc/api/2.6.28.c b/doc/api/2.6.28.c new file mode 100644 index 0000000..bb35a28 --- /dev/null +++ b/doc/api/2.6.28.c @@ -0,0 +1,39 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + const struct xt_match_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_mtchk_param *, + ); + + void + (*destroy)( + const struct xt_mtdtor_param *, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff *skb, + const struct xt_target_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_tgchk_param *, + ); + + void + (*destroy)( + const struct xt_tgdtor_param *, + ); diff --git a/doc/api/2.6.31.c b/doc/api/2.6.31.c new file mode 100644 index 0000000..ba98011 --- /dev/null +++ b/doc/api/2.6.31.c @@ -0,0 +1,38 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + const struct xt_match_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_mtchk_param *, + ); + + void + (*destroy)( + const struct xt_mtdtor_param *, + ); + +target: + + unsigned int + (*target)( + struct sk_buff *skb, + const struct xt_target_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_tgchk_param *, + ); + + void + (*destroy)( + const struct xt_tgdtor_param *, + ); diff --git a/doc/api/2.6.32.c b/doc/api/2.6.32.c new file mode 100644 index 0000000..bb35a28 --- /dev/null +++ b/doc/api/2.6.32.c @@ -0,0 +1,39 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + const struct xt_match_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_mtchk_param *, + ); + + void + (*destroy)( + const struct xt_mtdtor_param *, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff *skb, + const struct xt_target_param *, + ); + + /* true/false */ + bool + (*checkentry)( + const struct xt_tgchk_param *, + ); + + void + (*destroy)( + const struct xt_tgdtor_param *, + ); diff --git a/doc/api/2.6.35.c b/doc/api/2.6.35.c new file mode 100644 index 0000000..2072610 --- /dev/null +++ b/doc/api/2.6.35.c @@ -0,0 +1,39 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + struct xt_action_param *, + ); + + /* error code */ + int + (*checkentry)( + const struct xt_mtchk_param *, + ); + + void + (*destroy)( + const struct xt_mtdtor_param *, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff *skb, + const struct xt_action_param *, + ); + + /* error code */ + int + (*checkentry)( + const struct xt_tgchk_param *, + ); + + void + (*destroy)( + const struct xt_tgdtor_param *, + ); diff --git a/doc/api/xt-a.c b/doc/api/xt-a.c new file mode 100644 index 0000000..fb0f7bb --- /dev/null +++ b/doc/api/xt-a.c @@ -0,0 +1,39 @@ +match: + + /* true/false */ + bool + (*match)( + const struct sk_buff *skb, + struct xt_action_param *, + ); + + /* error code */ + int + (*checkentry)( + const struct xt_mtchk_param *, + ); + + void + (*destroy)( + const struct xt_mtdtor_param *, + ); + +target: + + /* verdict */ + unsigned int + (*target)( + struct sk_buff **pskb, + const struct xt_action_param *, + ); + + /* error code */ + int + (*checkentry)( + const struct xt_tgchk_param *, + ); + + void + (*destroy)( + const struct xt_tgdtor_param *, + );