diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2005-06-19 01:55:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-19 01:55:31 -0400 |
commit | e431b8c004af6be03783dddea31b6e514118051d (patch) | |
tree | 8868ed04de7026ddad6201a5c04d38c12e6a3509 /net/ipv6 | |
parent | 58b82150da90681a4179db1bc94d412938e81b31 (diff) |
[NETLINK]: Explicit typing
This patch converts "unsigned flags" to use more explict types like u16
instead and incrementally introduces NLMSG_NEW().
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index cdd19c54c03f..4d4cb46f0439 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -131,7 +131,7 @@ static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); | |||
131 | 131 | ||
132 | static int addrconf_ifdown(struct net_device *dev, int how); | 132 | static int addrconf_ifdown(struct net_device *dev, int how); |
133 | 133 | ||
134 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, int flags); | 134 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags); |
135 | static void addrconf_dad_timer(unsigned long data); | 135 | static void addrconf_dad_timer(unsigned long data); |
136 | static void addrconf_dad_completed(struct inet6_ifaddr *ifp); | 136 | static void addrconf_dad_completed(struct inet6_ifaddr *ifp); |
137 | static void addrconf_rs_timer(unsigned long data); | 137 | static void addrconf_rs_timer(unsigned long data); |
@@ -492,7 +492,7 @@ void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp) | |||
492 | 492 | ||
493 | static struct inet6_ifaddr * | 493 | static struct inet6_ifaddr * |
494 | ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen, | 494 | ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen, |
495 | int scope, unsigned flags) | 495 | int scope, u32 flags) |
496 | { | 496 | { |
497 | struct inet6_ifaddr *ifa = NULL; | 497 | struct inet6_ifaddr *ifa = NULL; |
498 | struct rt6_info *rt; | 498 | struct rt6_info *rt; |
@@ -1320,7 +1320,7 @@ static int __ipv6_try_regen_rndid(struct inet6_dev *idev, struct in6_addr *tmpad | |||
1320 | 1320 | ||
1321 | static void | 1321 | static void |
1322 | addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev, | 1322 | addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev, |
1323 | unsigned long expires, unsigned flags) | 1323 | unsigned long expires, u32 flags) |
1324 | { | 1324 | { |
1325 | struct in6_rtmsg rtmsg; | 1325 | struct in6_rtmsg rtmsg; |
1326 | 1326 | ||
@@ -2229,7 +2229,7 @@ out: | |||
2229 | /* | 2229 | /* |
2230 | * Duplicate Address Detection | 2230 | * Duplicate Address Detection |
2231 | */ | 2231 | */ |
2232 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, int flags) | 2232 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags) |
2233 | { | 2233 | { |
2234 | struct inet6_dev *idev = ifp->idev; | 2234 | struct inet6_dev *idev = ifp->idev; |
2235 | struct net_device *dev = idev->dev; | 2235 | struct net_device *dev = idev->dev; |
@@ -2671,7 +2671,7 @@ rtattr_failure: | |||
2671 | } | 2671 | } |
2672 | 2672 | ||
2673 | static int inet6_fill_ifmcaddr(struct sk_buff *skb, struct ifmcaddr6 *ifmca, | 2673 | static int inet6_fill_ifmcaddr(struct sk_buff *skb, struct ifmcaddr6 *ifmca, |
2674 | u32 pid, u32 seq, int event, unsigned flags) | 2674 | u32 pid, u32 seq, int event, u16 flags) |
2675 | { | 2675 | { |
2676 | struct ifaddrmsg *ifm; | 2676 | struct ifaddrmsg *ifm; |
2677 | struct nlmsghdr *nlh; | 2677 | struct nlmsghdr *nlh; |