net/mlx5: Change the acl enable prototype to return status
[cascardo/linux.git] / include / net / addrconf.h
index 9826d3a..8f998af 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef _ADDRCONF_H
 #define _ADDRCONF_H
 
-#define MAX_RTR_SOLICITATIONS          3
+#define MAX_RTR_SOLICITATIONS          -1              /* unlimited */
 #define RTR_SOLICITATION_INTERVAL      (4*HZ)
+#define RTR_SOLICITATION_MAX_INTERVAL  (3600*HZ)       /* 1 hour */
 
 #define MIN_VALID_LIFETIME             (2*3600)        /* 2 hours */
 
@@ -173,6 +174,7 @@ int ipv6_sock_mc_join(struct sock *sk, int ifindex,
                      const struct in6_addr *addr);
 int ipv6_sock_mc_drop(struct sock *sk, int ifindex,
                      const struct in6_addr *addr);
+void __ipv6_sock_mc_close(struct sock *sk);
 void ipv6_sock_mc_close(struct sock *sk);
 bool inet6_mc_check(struct sock *sk, const struct in6_addr *mc_addr,
                    const struct in6_addr *src_addr);