diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-31 04:50:25 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:28:08 -0800 |
commit | 13f7d63c2911c9d1a254d13899986fc801641127 (patch) | |
tree | 65dc3e2389c12d4cc20af41b77f72082166a8d10 /include | |
parent | 905e3e8ec5899ae618846c9ac6f38dd6c22e604e (diff) | |
download | linux-13f7d63c2911c9d1a254d13899986fc801641127.tar.gz linux-13f7d63c2911c9d1a254d13899986fc801641127.tar.bz2 linux-13f7d63c2911c9d1a254d13899986fc801641127.zip |
[NETFILTER]: nf_{conntrack,nat}_sip: annotate SIP helper with const
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h index 9fff19779bd5..8e5ce1ca7bfc 100644 --- a/include/linux/netfilter/nf_conntrack_sip.h +++ b/include/linux/netfilter/nf_conntrack_sip.h @@ -30,9 +30,9 @@ extern unsigned int (*nf_nat_sdp_hook)(struct sk_buff *skb, struct nf_conntrack_expect *exp, const char *dptr); -extern int ct_sip_get_info(struct nf_conn *ct, const char *dptr, size_t dlen, - unsigned int *matchoff, unsigned int *matchlen, - enum sip_header_pos pos); +extern int ct_sip_get_info(const struct nf_conn *ct, const char *dptr, + size_t dlen, unsigned int *matchoff, + unsigned int *matchlen, enum sip_header_pos pos); extern int ct_sip_lnlen(const char *line, const char *limit); extern const char *ct_sip_search(const char *needle, const char *haystack, size_t needle_len, size_t haystack_len, |