git: 4d0c95384f9b - main - net: Include private header in more needed places
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Nov 2024 19:29:36 UTC
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=4d0c95384f9b2c2691459f22d68f0a2c8b2383c9 commit 4d0c95384f9b2c2691459f22d68f0a2c8b2383c9 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2024-11-08 20:22:49 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2024-11-13 19:30:59 +0000 net: Include private header in more needed places sys/netinet and sys/netipsec are both part of the 'blessed' netstack, so can access struct ifnet directly. With this structure becoming private very soon, the necessary files need to get direct access. Sponsored by: Juniper Networks, Inc. --- sys/netinet/tcp_lro_hpts.c | 1 + sys/netipsec/ipsec_offload.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/netinet/tcp_lro_hpts.c b/sys/netinet/tcp_lro_hpts.c index cd757d5a6164..d56967a12809 100644 --- a/sys/netinet/tcp_lro_hpts.c +++ b/sys/netinet/tcp_lro_hpts.c @@ -39,6 +39,7 @@ #include <net/if.h> #include <net/if_var.h> +#include <net/if_private.h> #include <net/ethernet.h> #include <net/bpf.h> #include <net/vnet.h> diff --git a/sys/netipsec/ipsec_offload.c b/sys/netipsec/ipsec_offload.c index 19719a8f171b..d57ac3826012 100644 --- a/sys/netipsec/ipsec_offload.c +++ b/sys/netipsec/ipsec_offload.c @@ -44,6 +44,7 @@ #include <net/if.h> #include <net/if_var.h> +#include <net/if_private.h> #include <net/vnet.h> #include <netinet/in.h> #include <netinet/ip.h>