]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
frag6.c: move variables and sysctls into local file
authorbz <bz@FreeBSD.org>
Fri, 2 Aug 2019 10:29:53 +0000 (10:29 +0000)
committerbz <bz@FreeBSD.org>
Fri, 2 Aug 2019 10:29:53 +0000 (10:29 +0000)
commitcab85863a4859b249984dd122f16aec153d1b285
treeb411a500d8aba2b77316c901eff76033ea82ff1b
parent03a5c3ebefc01a4949f6fac08c9d28f65bd5ca3a
frag6.c: move variables and sysctls into local file

Move the sysctls and the related variables only used in frag6.c
into the file and out of in6_proto.c.  That way everything belonging
together is in one place.

Sort the variables into global and per-vnet scopes and make
them static.  No longer export the (helper) function
frag6_set_bucketsize() now also file-local only.

Should be no functional changes, only reduced public KPI/KBI surface.

MFC after: 3 months
Sponsored by: Netflix
sys/netinet6/frag6.c
sys/netinet6/in6_proto.c
sys/netinet6/ip6_var.h