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/route/neighbour.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/route/neighbour.h')
-rw-r--r-- | include/netlink/route/neighbour.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/netlink/route/neighbour.h b/include/netlink/route/neighbour.h index 7b5ed24..d390af1 100644 --- a/include/netlink/route/neighbour.h +++ b/include/netlink/route/neighbour.h @@ -25,7 +25,7 @@ struct rtnl_neigh; extern struct rtnl_neigh *rtnl_neigh_alloc(void); extern void rtnl_neigh_put(struct rtnl_neigh *); -extern int rtnl_neigh_alloc_cache(struct nl_handle *, struct nl_cache **); +extern int rtnl_neigh_alloc_cache(struct nl_sock *, struct nl_cache **); extern struct rtnl_neigh *rtnl_neigh_get(struct nl_cache *, int, struct nl_addr *); @@ -35,15 +35,15 @@ extern int rtnl_neigh_str2state(const char *); extern char * rtnl_neigh_flags2str(int, char *, size_t); extern int rtnl_neigh_str2flag(const char *); -extern int rtnl_neigh_add(struct nl_handle *, struct rtnl_neigh *, int); +extern int rtnl_neigh_add(struct nl_sock *, struct rtnl_neigh *, int); extern int rtnl_neigh_build_add_request(struct rtnl_neigh *, int, struct nl_msg **); -extern int rtnl_neigh_change(struct nl_handle *, struct rtnl_neigh *, int); +extern int rtnl_neigh_change(struct nl_sock *, struct rtnl_neigh *, int); extern int rtnl_neigh_build_change_request(struct rtnl_neigh *, int, struct nl_msg **); -extern int rtnl_neigh_delete(struct nl_handle *, struct rtnl_neigh *, int); +extern int rtnl_neigh_delete(struct nl_sock *, struct rtnl_neigh *, int); extern int rtnl_neigh_build_delete_request(struct rtnl_neigh *, int, struct nl_msg **); |