HomeFreeBSD

ifnet/API: Move struct ifnet definition to a <net/if_private.h>

Description

ifnet/API: Move struct ifnet definition to a <net/if_private.h>

Hide the ifnet structure definition, no user serviceable parts inside,
it's a netstack implementation detail. Include it temporarily in
<net/if_var.h> until all drivers are updated to use the accessors
exclusively.

Reviewed by: glebius
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D38046

Details

Provenance
jhibbitsAuthored on Jan 13 2023, 3:43 PM
Reviewer
glebius
Differential Revision
D38046: ifnet/API: Move struct ifnet definition to a <net/if_private.h>
Parents
rGfa25dbfd98ff: ifnet API: Change if_init() to take context argument
Branches
Unknown
Tags
Unknown