[NETFILTER]: nf_conntrack_sip: add seperate SDP header parsing function
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:17:55 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:17:55 +0000 (20:17 -0700)
commite6ba75edb12ed635bea78ec8f4792cddc8f95906
treecb04b3e40f545d104207784982fb55485f231da5
parente9c8f86ebb174ffef0eaae7416b9e490d5569951
[NETFILTER]: nf_conntrack_sip: add seperate SDP header parsing function

SDP and SIP headers are quite different, SIP can have continuation lines,
leading and trailing whitespace after the colon and is mostly case-insensitive
while SDP headers always begin on a new line and are followed by an equal
sign and the value, without any whitespace.

Introduce new SDP header parsing function and convert all users that used
the SIP header parsing function. This will allow to properly deal with the
special SIP cases in the SIP header parsing function later.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nf_conntrack_sip.h
net/ipv4/netfilter/nf_nat_sip.c
net/netfilter/nf_conntrack_sip.c