diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 11:26:32 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 11:26:32 (GMT) |
commit | 1155370f520cb64657e25153255cf7dc1424317f (patch) | |
tree | bfa1323d2495dfe5729eb27d0536d4349f2a9d86 /include/netlink/netfilter/ct.h | |
parent | 0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (diff) | |
download | libnl-1155370f520cb64657e25153255cf7dc1424317f.zip libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.gz libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.bz2 |
Rename struct nl_handle to struct nl_sock
The idea of a common handle is long revised and only misleading,
nl_handle really represents a socket with some additional
action handlers assigned to it.
Alias for nl_handle is kept for backwards compatibility.
Diffstat (limited to 'include/netlink/netfilter/ct.h')
-rw-r--r-- | include/netlink/netfilter/ct.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/netlink/netfilter/ct.h b/include/netlink/netfilter/ct.h index 2e08228..e1f9386 100644 --- a/include/netlink/netfilter/ct.h +++ b/include/netlink/netfilter/ct.h @@ -28,7 +28,7 @@ struct nfnl_ct; extern struct nl_object_ops ct_obj_ops; extern struct nfnl_ct * nfnl_ct_alloc(void); -extern int nfnl_ct_alloc_cache(struct nl_handle *, struct nl_cache **); +extern int nfnl_ct_alloc_cache(struct nl_sock *, struct nl_cache **); extern int nfnlmsg_ct_group(struct nlmsghdr *); extern int nfnlmsg_ct_parse(struct nlmsghdr *, struct nfnl_ct **); @@ -36,19 +36,19 @@ extern int nfnlmsg_ct_parse(struct nlmsghdr *, struct nfnl_ct **); extern void nfnl_ct_get(struct nfnl_ct *); extern void nfnl_ct_put(struct nfnl_ct *); -extern int nfnl_ct_dump_request(struct nl_handle *); +extern int nfnl_ct_dump_request(struct nl_sock *); extern int nfnl_ct_build_add_request(const struct nfnl_ct *, int, struct nl_msg **); -extern int nfnl_ct_add(struct nl_handle *, const struct nfnl_ct *, int); +extern int nfnl_ct_add(struct nl_sock *, const struct nfnl_ct *, int); extern int nfnl_ct_build_delete_request(const struct nfnl_ct *, int, struct nl_msg **); -extern int nfnl_ct_delete(struct nl_handle *, const struct nfnl_ct *, int); +extern int nfnl_ct_delete(struct nl_sock *, const struct nfnl_ct *, int); extern int nfnl_ct_build_query_request(const struct nfnl_ct *, int, struct nl_msg **); -extern int nfnl_ct_query(struct nl_handle *, const struct nfnl_ct *, int); +extern int nfnl_ct_query(struct nl_sock *, const struct nfnl_ct *, int); extern void nfnl_ct_set_family(struct nfnl_ct *, uint8_t); extern uint8_t nfnl_ct_get_family(const struct nfnl_ct *); |