diff options
author | Patrick McHardy <kaber@trash.net> | 2008-03-25 23:17:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-25 23:17:13 -0400 |
commit | 212440a7d04a12ee13787afecc6c86c7fc4e6184 (patch) | |
tree | aaf903166f76a5c6d3cabe74465202b5441fee45 /include | |
parent | 2a6cfb22ae002330d445f734668d9158db9e90de (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.h | 7 |
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 | ||
24 | extern unsigned int (*nf_nat_sip_hook)(struct sk_buff *skb, | 24 | extern 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); |
29 | extern unsigned int (*nf_nat_sdp_hook)(struct sk_buff *skb, | 27 | extern 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 | ||
35 | extern int ct_sip_get_info(const struct nf_conn *ct, const char *dptr, | 32 | extern 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, |