opnsense-src/sys/dev/netmap
Michael Tuexen 3077532b1b vtnet, ptnet: include opt_*.h files early
Include opt_inet.h and opt_inet6.h early in the files including
virtio_net.h, since they use INET and/or INET6.
While there, remove redundant inclusion of sys/types.h, since it is
included already by sys/param.h.

There was a discussion to include opt_inet.h and opt_inet6.h also
in virtio_net.h. glebius suggested to add a mechanism for files
to check, if required opt_*.h files were included. virtio_net.h
will be the first consumer of this mechanism.

Reviewed by:		glebius, Peter Lei
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D52046
2025-08-21 17:18:07 +02:00
..
if_ptnet.c vtnet, ptnet: include opt_*.h files early 2025-08-21 17:18:07 +02:00
if_re_netmap.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
if_vtnet_netmap.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
netmap.c netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
netmap_bdg.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netmap_bdg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
netmap_freebsd.c netmap: Add a cdev_pg_path hook that returns the name of the cdev 2025-03-27 16:45:06 -04:00
netmap_generic.c netmap: Address errors on memory free in netmap_generic 2024-03-26 09:55:55 +00:00
netmap_kern.h netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
netmap_kloop.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
netmap_legacy.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
netmap_mbq.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
netmap_mbq.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
netmap_mem2.c netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
netmap_mem2.h netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
netmap_monitor.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
netmap_null.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
netmap_offloadings.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
netmap_pipe.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
netmap_vale.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00