aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-28 20:35:27 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:31:24 -0500
commit40883e8184947879f135605a05c0764c60656cc5 (patch)
treef45133bd4b1a33a9dd94ddad3f78ba442d1f2bea /include/linux
parent9d5b8baa4e9ace9be113c6151aaeeb3c07a26fc8 (diff)
[NETFILTER]: sip conntrack: do case insensitive SIP header search
SIP headers are generally case-insensitive, only SDP headers are case sensitive. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter_ipv4/ip_conntrack_sip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ip_conntrack_sip.h b/include/linux/netfilter_ipv4/ip_conntrack_sip.h
index 2a15eb51fd6b..51c65ac18c57 100644
--- a/include/linux/netfilter_ipv4/ip_conntrack_sip.h
+++ b/include/linux/netfilter_ipv4/ip_conntrack_sip.h
@@ -31,6 +31,7 @@ extern int ct_sip_get_info(const char *dptr, size_t dlen,
31 enum sip_header_pos pos); 31 enum sip_header_pos pos);
32extern int ct_sip_lnlen(const char *line, const char *limit); 32extern int ct_sip_lnlen(const char *line, const char *limit);
33extern const char *ct_sip_search(const char *needle, const char *haystack, 33extern const char *ct_sip_search(const char *needle, const char *haystack,
34 size_t needle_len, size_t haystack_len); 34 size_t needle_len, size_t haystack_len,
35 int case_sensitive);
35#endif /* __KERNEL__ */ 36#endif /* __KERNEL__ */
36#endif /* __IP_CONNTRACK_SIP_H__ */ 37#endif /* __IP_CONNTRACK_SIP_H__ */