From c89b7d4a7c652107d4d257538e0626f6b5b1fc2c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 6 May 2013 14:20:48 +0200 Subject: emulate cthelper_upd_ct Requires by the DHCPv6 test. Signed-off-by: Pablo Neira Ayuso --- expect.c | 5 +++++ include/helper.h | 1 + 2 files changed, 6 insertions(+) diff --git a/expect.c b/expect.c index 7a1fe9a..fc46a21 100644 --- a/expect.c +++ b/expect.c @@ -171,6 +171,11 @@ int cthelper_del_expect(struct nf_expect *exp) return 0; } +int cthelper_upd_ct(struct nf_conntrack *ct) +{ + return 0; +} + void cthelper_get_addr_src(struct nf_conntrack *ct, int dir, union nfct_attr_grp_addr *addr) diff --git a/include/helper.h b/include/helper.h index 9d96fb7..e208cf3 100644 --- a/include/helper.h +++ b/include/helper.h @@ -45,6 +45,7 @@ struct ctd_helper_instance { extern int cthelper_expect_init(struct nf_expect *exp, struct nf_conntrack *master, uint32_t class, union nfct_attr_grp_addr *saddr, union nfct_attr_grp_addr *daddr, uint8_t l4proto, uint16_t *sport, uint16_t *dport, uint32_t flags); extern int cthelper_add_expect(struct nf_expect *exp); extern int cthelper_del_expect(struct nf_expect *exp); +extern int cthelper_upd_ct(struct nf_conntrack *ct); extern void cthelper_get_addr_src(struct nf_conntrack *ct, int dir, union nfct_attr_grp_addr *addr); extern void cthelper_get_addr_dst(struct nf_conntrack *ct, int dir, union nfct_attr_grp_addr *addr); -- cgit v1.2.3