summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/neightbl.h
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2008-05-15 13:26:32 +0200
committerThomas Graf <tgr@lsx.localdomain>2008-05-15 13:26:32 +0200
commit1155370f520cb64657e25153255cf7dc1424317f (patch)
treebfa1323d2495dfe5729eb27d0536d4349f2a9d86 /include/netlink/route/neightbl.h
parent0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (diff)
downloadandroid_external_libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.gz
android_external_libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.bz2
android_external_libnl-1155370f520cb64657e25153255cf7dc1424317f.zip
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/neightbl.h')
-rw-r--r--include/netlink/route/neightbl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netlink/route/neightbl.h b/include/netlink/route/neightbl.h
index 7120053..412c3e9 100644
--- a/include/netlink/route/neightbl.h
+++ b/include/netlink/route/neightbl.h
@@ -25,7 +25,7 @@ struct rtnl_neightbl;
extern struct rtnl_neightbl *rtnl_neightbl_alloc(void);
extern void rtnl_neightbl_put(struct rtnl_neightbl *);
extern void rtnl_neightbl_free(struct rtnl_neightbl *);
-extern int rtnl_neightbl_alloc_cache(struct nl_handle *, struct nl_cache **);
+extern int rtnl_neightbl_alloc_cache(struct nl_sock *, struct nl_cache **);
extern struct rtnl_neightbl *rtnl_neightbl_get(struct nl_cache *,
const char *, int);
extern void rtnl_neightbl_dump(struct rtnl_neightbl *, FILE *,
@@ -34,7 +34,7 @@ extern void rtnl_neightbl_dump(struct rtnl_neightbl *, FILE *,
extern int rtnl_neightbl_build_change_request(struct rtnl_neightbl *,
struct rtnl_neightbl *,
struct nl_msg **);
-extern int rtnl_neightbl_change(struct nl_handle *, struct rtnl_neightbl *,
+extern int rtnl_neightbl_change(struct nl_sock *, struct rtnl_neightbl *,
struct rtnl_neightbl *);
extern void rtnl_neightbl_set_family(struct rtnl_neightbl *, int);