aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-02-11 06:26:19 -0500
committerPatrick McHardy <kaber@trash.net>2010-02-11 06:26:19 -0500
commitf5b321bd37fbec9188feb1f721ab46a5ac0b35da (patch)
treee4899d8dcfdb4128505e4f246154934d18692295 /include
parent3b6b9fab42fe98358d70735cf98d43fc18dc79c9 (diff)
netfilter: nf_conntrack_sip: add TCP support
Add TCP support, which is mandated by RFC3261 for all SIP elements. SIP over TCP is similar to UDP, except that messages are delimited by Content-Length: headers and multiple messages may appear in one packet. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/nf_conntrack_sip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h
index 2c6950b8bf7e..fa9bb8981450 100644
--- a/include/linux/netfilter/nf_conntrack_sip.h
+++ b/include/linux/netfilter/nf_conntrack_sip.h
@@ -84,7 +84,8 @@ enum sip_header_types {
84 SIP_HDR_FROM, 84 SIP_HDR_FROM,
85 SIP_HDR_TO, 85 SIP_HDR_TO,
86 SIP_HDR_CONTACT, 86 SIP_HDR_CONTACT,
87 SIP_HDR_VIA, 87 SIP_HDR_VIA_UDP,
88 SIP_HDR_VIA_TCP,
88 SIP_HDR_EXPIRES, 89 SIP_HDR_EXPIRES,
89 SIP_HDR_CONTENT_LENGTH, 90 SIP_HDR_CONTENT_LENGTH,
90}; 91};