aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/libnetlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/libnetlink.c')
-rw-r--r--networking/libiproute/libnetlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c
index 47a055ac0..4511d36fa 100644
--- a/networking/libiproute/libnetlink.c
+++ b/networking/libiproute/libnetlink.c
@@ -103,7 +103,7 @@ int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)
103} 103}
104 104
105static int rtnl_dump_filter(struct rtnl_handle *rth, 105static int rtnl_dump_filter(struct rtnl_handle *rth,
106 int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *), 106 int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *n, void *),
107 void *arg1/*, 107 void *arg1/*,
108 int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), 108 int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *),
109 void *arg2*/) 109 void *arg2*/)
@@ -195,7 +195,7 @@ static int rtnl_dump_filter(struct rtnl_handle *rth,
195} 195}
196 196
197int xrtnl_dump_filter(struct rtnl_handle *rth, 197int xrtnl_dump_filter(struct rtnl_handle *rth,
198 int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *), 198 int (*filter)(const struct sockaddr_nl *, struct nlmsghdr *, void *),
199 void *arg1) 199 void *arg1)
200{ 200{
201 int ret = rtnl_dump_filter(rth, filter, arg1/*, NULL, NULL*/); 201 int ret = rtnl_dump_filter(rth, filter, arg1/*, NULL, NULL*/);
@@ -207,7 +207,7 @@ int xrtnl_dump_filter(struct rtnl_handle *rth,
207int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, 207int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
208 pid_t peer, unsigned groups, 208 pid_t peer, unsigned groups,
209 struct nlmsghdr *answer, 209 struct nlmsghdr *answer,
210 int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), 210 int (*junk)(struct sockaddr_nl *, struct nlmsghdr *, void *),
211 void *jarg) 211 void *jarg)
212{ 212{
213/* bbox doesn't use parameters no. 3, 4, 6, 7, they are stubbed out */ 213/* bbox doesn't use parameters no. 3, 4, 6, 7, they are stubbed out */