]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/netfilter/nf_conntrack_sip.h
netfilter: nf_nat_sip: add TCP support
[net-next-2.6.git] / include / linux / netfilter / nf_conntrack_sip.h
index 2c6950b8bf7e5919de050e7abb7e69b453fc98d6..cd84d6f44d117470877062a950d3994bbc9fa702 100644 (file)
@@ -84,7 +84,8 @@ enum sip_header_types {
        SIP_HDR_FROM,
        SIP_HDR_TO,
        SIP_HDR_CONTACT,
-       SIP_HDR_VIA,
+       SIP_HDR_VIA_UDP,
+       SIP_HDR_VIA_TCP,
        SIP_HDR_EXPIRES,
        SIP_HDR_CONTENT_LENGTH,
 };
@@ -103,6 +104,7 @@ extern unsigned int (*nf_nat_sip_hook)(struct sk_buff *skb,
                                       unsigned int dataoff,
                                       const char **dptr,
                                       unsigned int *datalen);
+extern void (*nf_nat_sip_seq_adjust_hook)(struct sk_buff *skb, s16 off);
 extern unsigned int (*nf_nat_sip_expect_hook)(struct sk_buff *skb,
                                              unsigned int dataoff,
                                              const char **dptr,