HomeFreeBSD

ifnet: make V_if_index static to if.c

Description

ifnet: make V_if_index static to if.c

This requires moving net.link.generic sysctl declaration from if_mib.c
to if.c. Ideally if_mib.c needs just to be merged to if.c, but they
have different license texts.

Differential revision: https://reviews.freebsd.org/D33263

Details

Provenance
glebiusAuthored on Dec 4 2021, 5:49 PM
Differential Revision
D33263: ifnet_byindex() actually requires network epoch
Parents
rGd74b7baeb0d4: ifnet_byindex() actually requires network epoch
Branches
Unknown
Tags
Unknown