mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
headers: make a few more headers self-contained
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
9d406e088e
commit
aa70361d86
|
@ -35,8 +35,11 @@
|
|||
#ifndef _NETINET_IP_VAR_H_
|
||||
#define _NETINET_IP_VAR_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <sys/epoch.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
/*
|
||||
* Overlay for ip header used by other protocols (tcp, udp).
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#ifndef _NETINET_UDP_H_
|
||||
#define _NETINET_UDP_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
* UDP protocol header.
|
||||
* Per RFC 768, September, 1981.
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
#ifndef _NETINET_UDP_VAR_H_
|
||||
#define _NETINET_UDP_VAR_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <netinet/ip_var.h>
|
||||
#include <netinet/udp.h>
|
||||
|
||||
/*
|
||||
* UDP kernel structures and variables.
|
||||
*/
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
#ifndef _SYS_EPOCH_H_
|
||||
#define _SYS_EPOCH_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
struct epoch_context {
|
||||
void *data[2];
|
||||
} __aligned(sizeof(void *));
|
||||
|
|
|
@ -35,7 +35,6 @@ BADHDRS= \
|
|||
sys/elf64.h \
|
||||
sys/elf_common.h \
|
||||
sys/elf_generic.h \
|
||||
sys/epoch.h \
|
||||
sys/eui64.h \
|
||||
sys/eventhandler.h \
|
||||
sys/eventvar.h \
|
||||
|
@ -267,7 +266,6 @@ BADHDRS= \
|
|||
netinet/ip_icmp.h \
|
||||
netinet/ip_mroute.h \
|
||||
netinet/ip_options.h \
|
||||
netinet/ip_var.h \
|
||||
netinet/pim_var.h \
|
||||
netinet/sctp_auth.h \
|
||||
netinet/sctp_bsd_addr.h \
|
||||
|
@ -287,8 +285,6 @@ BADHDRS= \
|
|||
netinet/tcp_var.h \
|
||||
netinet/tcpip.h \
|
||||
netinet/toecore.h \
|
||||
netinet/udp.h \
|
||||
netinet/udp_var.h \
|
||||
netinet/udplite.h \
|
||||
netinet6/icmp6.h \
|
||||
netinet6/in6.h \
|
||||
|
|
Loading…
Reference in a new issue