HomeFreeBSD

debugnet: Add ifnet accessor to set debugnet methods

Description

debugnet: Add ifnet accessor to set debugnet methods

As part of the effort to hide the internals of the ifnet struct, convert
the DEBUGNET_SET() macro to use an accessor instead of directly touching
the methods member.

Reviewed by: glebius (older version)
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D38105

Details

Provenance
jhibbitsAuthored on Jan 13 2023, 4:30 PM
Reviewer
glebius
Differential Revision
D38105: debugnet: Add ifnet accessor to set debugnet methods
Parents
rG2c2b37ad251d: ifnet/API: Move struct ifnet definition to a <net/if_private.h>
Branches
Unknown
Tags
Unknown