diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-12-06 03:45:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 16:34:43 -0500 |
commit | 479840ffdbe4242e8a25349218c8e0859223aa35 (patch) | |
tree | cad6833e9f0b92949c3dc1568b790877e18ffafa /include/net/addrconf.h | |
parent | e6247027e5173c00efb2084d688d06ff835bc3b0 (diff) |
ipv6 addrconf: extend ifa_flags to u32
There is no more space in u8 ifa_flags. So do what davem suffested and
add another netlink attr called IFA_FLAGS for carry more flags.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 86505bfa5d2c..e70278eef12a 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -81,9 +81,9 @@ int ipv6_dev_get_saddr(struct net *net, const struct net_device *dev, | |||
81 | const struct in6_addr *daddr, unsigned int srcprefs, | 81 | const struct in6_addr *daddr, unsigned int srcprefs, |
82 | struct in6_addr *saddr); | 82 | struct in6_addr *saddr); |
83 | int __ipv6_get_lladdr(struct inet6_dev *idev, struct in6_addr *addr, | 83 | int __ipv6_get_lladdr(struct inet6_dev *idev, struct in6_addr *addr, |
84 | unsigned char banned_flags); | 84 | u32 banned_flags); |
85 | int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, | 85 | int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, |
86 | unsigned char banned_flags); | 86 | u32 banned_flags); |
87 | int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2); | 87 | int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2); |
88 | void addrconf_join_solict(struct net_device *dev, const struct in6_addr *addr); | 88 | void addrconf_join_solict(struct net_device *dev, const struct in6_addr *addr); |
89 | void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr); | 89 | void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr); |