aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-03-25 23:17:13 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-25 23:17:13 -0400
commit212440a7d04a12ee13787afecc6c86c7fc4e6184 (patch)
treeaaf903166f76a5c6d3cabe74465202b5441fee45 /include
parent2a6cfb22ae002330d445f734668d9158db9e90de (diff)
[NETFILTER]: nf_conntrack_sip: remove redundant function arguments
The conntrack reference and ctinfo can be derived from the packet. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/nf_conntrack_sip.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h
index 9d0dbfb26300..b94de3d60303 100644
--- a/include/linux/netfilter/nf_conntrack_sip.h
+++ b/include/linux/netfilter/nf_conntrack_sip.h
@@ -22,15 +22,12 @@ enum sip_header_pos {
22}; 22};
23 23
24extern unsigned int (*nf_nat_sip_hook)(struct sk_buff *skb, 24extern unsigned int (*nf_nat_sip_hook)(struct sk_buff *skb,
25 enum ip_conntrack_info ctinfo,
26 struct nf_conn *ct,
27 const char **dptr, 25 const char **dptr,
28 unsigned int *datalen); 26 unsigned int *datalen);
29extern unsigned int (*nf_nat_sdp_hook)(struct sk_buff *skb, 27extern unsigned int (*nf_nat_sdp_hook)(struct sk_buff *skb,
30 enum ip_conntrack_info ctinfo,
31 struct nf_conntrack_expect *exp,
32 const char **dptr, 28 const char **dptr,
33 unsigned int *datalen); 29 unsigned int *datalen,
30 struct nf_conntrack_expect *exp);
34 31
35extern int ct_sip_get_info(const struct nf_conn *ct, const char *dptr, 32extern int ct_sip_get_info(const struct nf_conn *ct, const char *dptr,
36 size_t dlen, unsigned int *matchoff, 33 size_t dlen, unsigned int *matchoff,