diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-17 18:33:22 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-17 18:33:22 +0100 |
commit | 9f53603a10aa738d6f5a41a061bc3e1182c42d0c (patch) | |
tree | 0940d6bb8d5d203052496c484b92b883be72ee17 /include/internal | |
parent | 3e6806e7690d0ed79d9aed82dc44d1eaa676d3e8 (diff) |
conntrack: add NFCT_CP_OVERRIDE flag for nfct_copy()
Thus, we have a fast version of nfct_copy() which allows to
copy the destination to the origin. After this call, the
destination is a clone of the origin.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/prototypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/prototypes.h b/include/internal/prototypes.h index 359a80e..928ddbd 100644 --- a/include/internal/prototypes.h +++ b/include/internal/prototypes.h @@ -21,6 +21,7 @@ int __callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); int __setobjopt(struct nf_conntrack *ct, unsigned int option); int __getobjopt(const struct nf_conntrack *ct, unsigned int option); int __compare(const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags); +void __copy_fast(struct nf_conntrack *ct1, const struct nf_conntrack *ct); int __setup_netlink_socket_filter(int fd, struct nfct_filter *filter); |