[IPV6]: Consolidate common SNMP code
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 25 Apr 2007 04:54:09 +0000 (21:54 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:52 +0000 (22:29 -0700)
commit7f7d9a6b96c5708c5184cbed61bbc15b163a0f08
treef6841ff1239e80c3083b1e41eb343b811dc92afc
parent5e0f04351d11e07a23b5ab4914282cbb78027e50
[IPV6]: Consolidate common SNMP code

This patch moves the non-proc SNMP code into addrconf.c and reuses
IPv4 SNMP code where applicable.

As a result we can skip proc.o if /proc is disabled.

Note that I've made a number of functions static since they're only
used by addrconf.c for now.  If they ever get used elsewhere we can
always remove the static.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/Makefile
net/ipv6/addrconf.c
net/ipv6/af_inet6.c
net/ipv6/proc.c