diff options
author | Denis Vlasenko | 2006-12-31 18:57:37 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-31 18:57:37 +0000 |
commit | 98ee06d3d46aa7f89c204681c7075b53300a6a6e (patch) | |
tree | 0f5cafbb22cd83fb73e024acba658c7a51582951 /networking/libiproute/libnetlink.h | |
parent | 806116b23407bdf95f22646f11f50b1d14e1cfc2 (diff) | |
download | busybox-98ee06d3d46aa7f89c204681c7075b53300a6a6e.zip busybox-98ee06d3d46aa7f89c204681c7075b53300a6a6e.tar.gz |
stop using __u32 etc. uint32_t is there for a reason
Diffstat (limited to 'networking/libiproute/libnetlink.h')
-rw-r--r-- | networking/libiproute/libnetlink.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 7cfcd20..bd19136 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h @@ -2,7 +2,7 @@ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 -#include <asm/types.h> +//#include <asm/types.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> @@ -11,8 +11,8 @@ struct rtnl_handle int fd; struct sockaddr_nl local; struct sockaddr_nl peer; - __u32 seq; - __u32 dump; + uint32_t seq; + uint32_t dump; }; extern int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions); @@ -31,9 +31,9 @@ extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, extern int rtnl_send(struct rtnl_handle *rth, char *buf, int); -extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data); +extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data); extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen); -extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data); +extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data); extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen); extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); |