summaryrefslogtreecommitdiff
path: root/networking/libiproute/libnetlink.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-11-21 15:36:08 +0000
committerBernhard Reutner-Fischer2006-11-21 15:36:08 +0000
commit921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d (patch)
treef6b5be4741c2856fa0d0f0fa148ee4d0a1fecbaa /networking/libiproute/libnetlink.h
parent04b30ba3b88c721b81194cae9cb439ddba4712db (diff)
downloadbusybox-921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d.zip
busybox-921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d.tar.gz
- add 'ip rule' support. First take..
text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o
Diffstat (limited to 'networking/libiproute/libnetlink.h')
-rw-r--r--networking/libiproute/libnetlink.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h
index c2ef984..7cfcd20 100644
--- a/networking/libiproute/libnetlink.h
+++ b/networking/libiproute/libnetlink.h
@@ -20,14 +20,14 @@ extern void rtnl_close(struct rtnl_handle *rth);
extern int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type);
extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len);
extern int rtnl_dump_filter(struct rtnl_handle *rth,
- int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),
- void *arg1,
- int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
- void *arg2);
+ int (*filter)(struct sockaddr_nl*, struct nlmsghdr *n, void*),
+ void *arg1,
+ int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *),
+ void *arg2);
extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
- unsigned groups, struct nlmsghdr *answer,
- int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
- void *jarg);
+ unsigned groups, struct nlmsghdr *answer,
+ int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
+ void *jarg);
extern int rtnl_send(struct rtnl_handle *rth, char *buf, int);