diff options
Diffstat (limited to 'include/netlink.h')
-rw-r--r-- | include/netlink.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/netlink.h b/include/netlink.h index 7e2b94c..af98c5e 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -20,15 +20,15 @@ void nl_resize_socket_buffer(struct nfct_handle *h); int nl_dump_conntrack_table(void); -int nl_exist_conntrack(struct nf_conntrack *ct); +int nl_exist_conntrack(const struct nf_conntrack *ct); -int nl_get_conntrack(struct nf_conntrack *ct); +int nl_get_conntrack(const struct nf_conntrack *ct); int nl_create_conntrack(const struct nf_conntrack *ct); int nl_update_conntrack(const struct nf_conntrack *ct); -int nl_destroy_conntrack(struct nf_conntrack *ct); +int nl_destroy_conntrack(const struct nf_conntrack *ct); static inline int ct_is_related(const struct nf_conntrack *ct) { |