summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet2017-11-04 16:53:27 +0100
committerDavid S. Miller2017-11-05 01:17:27 +0100
commit27c565ae9d554fa1c00c799754cff43476c8d3b5 (patch)
tree91a10204e5f8ccb06b8b1fea22fcfe9d0649656b /include
parentpktgen: do not abuse IN6_ADDR_HSIZE (diff)
downloadkernel-qcow2-linux-27c565ae9d554fa1c00c799754cff43476c8d3b5.tar.gz
kernel-qcow2-linux-27c565ae9d554fa1c00c799754cff43476c8d3b5.tar.xz
kernel-qcow2-linux-27c565ae9d554fa1c00c799754cff43476c8d3b5.zip
ipv6: remove IN6_ADDR_HSIZE from addrconf.h
IN6_ADDR_HSIZE is private to addrconf.c, move it here to avoid confusion. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/addrconf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 3357332ea375..b623b65a79d1 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -59,9 +59,6 @@ struct in6_validator_info {
struct netlink_ext_ack *extack;
};
-#define IN6_ADDR_HSIZE_SHIFT 8
-#define IN6_ADDR_HSIZE (1 << IN6_ADDR_HSIZE_SHIFT)
-
int addrconf_init(void);
void addrconf_cleanup(void);