- add 'ip rule' support. First take..

text    data     bss     dec     hex filename
   2999       0       0    2999     bb7 networking/libiproute/iprule.o
This commit is contained in:
Bernhard Reutner-Fischer
2006-11-21 15:36:08 +00:00
parent 04b30ba3b8
commit 921f5df25f
14 changed files with 497 additions and 28 deletions

View File

@@ -121,10 +121,10 @@ int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)
}
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)
{
char buf[8192];
struct sockaddr_nl nladdr;