]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/net/ip6_fib.h
inet: constify ip headers and in6_addr
[mirror_ubuntu-bionic-kernel.git] / include / net / ip6_fib.h
index 98348d53b2b6088dd770833c3a9f1a658cb1ff11..aca8ef4dd67c1dd1c39a80f5d8e08f4a0293fbcb 100644 (file)
@@ -198,12 +198,12 @@ extern struct dst_entry         *fib6_rule_lookup(struct net *net,
                                                  pol_lookup_t lookup);
 
 extern struct fib6_node                *fib6_lookup(struct fib6_node *root,
-                                            struct in6_addr *daddr,
-                                            struct in6_addr *saddr);
+                                            const struct in6_addr *daddr,
+                                            const struct in6_addr *saddr);
 
 struct fib6_node               *fib6_locate(struct fib6_node *root,
-                                            struct in6_addr *daddr, int dst_len,
-                                            struct in6_addr *saddr, int src_len);
+                                            const struct in6_addr *daddr, int dst_len,
+                                            const struct in6_addr *saddr, int src_len);
 
 extern void                    fib6_clean_all(struct net *net,
                                               int (*func)(struct rt6_info *, void *arg),