diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_sip.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h index 6ddf95f51fb5..eca3ad3f28dc 100644 --- a/include/linux/netfilter/nf_conntrack_sip.h +++ b/include/linux/netfilter/nf_conntrack_sip.h | |||
@@ -93,11 +93,26 @@ extern unsigned int (*nf_nat_sip_expect_hook)(struct sk_buff *skb, | |||
93 | struct nf_conntrack_expect *exp, | 93 | struct nf_conntrack_expect *exp, |
94 | unsigned int matchoff, | 94 | unsigned int matchoff, |
95 | unsigned int matchlen); | 95 | unsigned int matchlen); |
96 | extern unsigned int (*nf_nat_sdp_hook)(struct sk_buff *skb, | 96 | extern unsigned int (*nf_nat_sdp_addr_hook)(struct sk_buff *skb, |
97 | const char **dptr, | 97 | const char **dptr, |
98 | unsigned int *datalen, | 98 | unsigned int dataoff, |
99 | struct nf_conntrack_expect *rtp_exp, | 99 | unsigned int *datalen, |
100 | struct nf_conntrack_expect *rtcp_exp); | 100 | enum sdp_header_types type, |
101 | enum sdp_header_types term, | ||
102 | const union nf_inet_addr *addr); | ||
103 | extern unsigned int (*nf_nat_sdp_session_hook)(struct sk_buff *skb, | ||
104 | const char **dptr, | ||
105 | unsigned int dataoff, | ||
106 | unsigned int *datalen, | ||
107 | const union nf_inet_addr *addr); | ||
108 | extern unsigned int (*nf_nat_sdp_media_hook)(struct sk_buff *skb, | ||
109 | const char **dptr, | ||
110 | unsigned int *datalen, | ||
111 | struct nf_conntrack_expect *rtp_exp, | ||
112 | struct nf_conntrack_expect *rtcp_exp, | ||
113 | unsigned int mediaoff, | ||
114 | unsigned int medialen, | ||
115 | union nf_inet_addr *rtp_addr); | ||
101 | 116 | ||
102 | extern int ct_sip_parse_request(const struct nf_conn *ct, | 117 | extern int ct_sip_parse_request(const struct nf_conn *ct, |
103 | const char *dptr, unsigned int datalen, | 118 | const char *dptr, unsigned int datalen, |