|
@@ -131,7 +131,7 @@ static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
|
|
|
|
|
|
static int addrconf_ifdown(struct net_device *dev, int how);
|
|
|
|
|
|
-static void addrconf_dad_start(struct inet6_ifaddr *ifp, int flags);
|
|
|
+static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags);
|
|
|
static void addrconf_dad_timer(unsigned long data);
|
|
|
static void addrconf_dad_completed(struct inet6_ifaddr *ifp);
|
|
|
static void addrconf_rs_timer(unsigned long data);
|
|
@@ -492,7 +492,7 @@ void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp)
|
|
|
|
|
|
static struct inet6_ifaddr *
|
|
|
ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
|
|
|
- int scope, unsigned flags)
|
|
|
+ int scope, u32 flags)
|
|
|
{
|
|
|
struct inet6_ifaddr *ifa = NULL;
|
|
|
struct rt6_info *rt;
|
|
@@ -1320,7 +1320,7 @@ static int __ipv6_try_regen_rndid(struct inet6_dev *idev, struct in6_addr *tmpad
|
|
|
|
|
|
static void
|
|
|
addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev,
|
|
|
- unsigned long expires, unsigned flags)
|
|
|
+ unsigned long expires, u32 flags)
|
|
|
{
|
|
|
struct in6_rtmsg rtmsg;
|
|
|
|
|
@@ -2229,7 +2229,7 @@ out:
|
|
|
/*
|
|
|
* Duplicate Address Detection
|
|
|
*/
|
|
|
-static void addrconf_dad_start(struct inet6_ifaddr *ifp, int flags)
|
|
|
+static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags)
|
|
|
{
|
|
|
struct inet6_dev *idev = ifp->idev;
|
|
|
struct net_device *dev = idev->dev;
|
|
@@ -2671,7 +2671,7 @@ rtattr_failure:
|
|
|
}
|
|
|
|
|
|
static int inet6_fill_ifmcaddr(struct sk_buff *skb, struct ifmcaddr6 *ifmca,
|
|
|
- u32 pid, u32 seq, int event, unsigned flags)
|
|
|
+ u32 pid, u32 seq, int event, u16 flags)
|
|
|
{
|
|
|
struct ifaddrmsg *ifm;
|
|
|
struct nlmsghdr *nlh;
|