1 #ifndef __IP_CONNTRACK_SIP_H__
2 #define __IP_CONNTRACK_SIP_H__
6 #define SIP_TIMEOUT 3600
22 extern unsigned int (*ip_nat_sip_hook)(struct sk_buff **pskb,
23 enum ip_conntrack_info ctinfo,
24 struct ip_conntrack *ct,
26 extern unsigned int (*ip_nat_sdp_hook)(struct sk_buff **pskb,
27 enum ip_conntrack_info ctinfo,
28 struct ip_conntrack_expect *exp,
31 extern int ct_sip_get_info(const char *dptr, size_t dlen,
32 unsigned int *matchoff,
33 unsigned int *matchlen,
34 enum sip_header_pos pos);
35 extern int ct_sip_lnlen(const char *line, const char *limit);
36 extern const char *ct_sip_search(const char *needle, const char *haystack,
37 size_t needle_len, size_t haystack_len,
39 #endif /* __KERNEL__ */
40 #endif /* __IP_CONNTRACK_SIP_H__ */