ifnet/DrvAPI: Move if_t typedef to a better place
authorJustin Hibbits <jhibbits@FreeBSD.org>
Wed, 21 Dec 2022 21:15:09 +0000 (16:15 -0500)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Wed, 4 Jan 2023 20:15:10 +0000 (15:15 -0500)
commitbe4315dcbb8c54b9965815c5152c2c0bcb6e52e8
treefb72347834d4f1efb3cac06bec4fd4ffdfb0c9f5
parent74abe47e3271594b8c6b60c9070806bf6ef8641c
ifnet/DrvAPI: Move if_t typedef to a better place

Summary:
<net/if_var.h> should really be used by the netstack only, not by
drivers.  Eventually all the accessors will be moved to <net/if.h> as
well, but for now just move the typedef while the KPI gets sorted and
drivers get converted.

Sponsored by: Juniper Networks, Inc.
Reviewed By: melifaro, glebius
Differential Revision: https://reviews.freebsd.org/D37784
sys/net/if.h
sys/net/if_var.h