forked from Imagelibrary/rtems
Make self-contained.
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#ifndef _NET_BPF_H_
|
||||
#define _NET_BPF_H_
|
||||
|
||||
#include <sys/time.h> /* struct timeval */
|
||||
|
||||
/* BSD style release date */
|
||||
#define BPF_RELEASE 199606
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#define __BSD_VISIBLE 1
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
#include <sys/socket.h> /* struct sockaddr */
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
#ifndef _IF_PPP_H_
|
||||
#define _IF_PPP_H_
|
||||
|
||||
#include <net/ppp_defs.h> /* NPmode */
|
||||
#include <net/if.h> /* IFNAMSIZ */
|
||||
|
||||
/*
|
||||
* Packet sizes
|
||||
*/
|
||||
|
||||
@@ -42,16 +42,22 @@
|
||||
* $FreeBSD: src/sys/net/if_pppvar.h,v 1.26 2006/12/05 18:54:21 ume Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef _NET_IF_PPPVAR_H_
|
||||
#define _NET_IF_PPPVAR_H_
|
||||
|
||||
#include <net/if_var.h> /* struct ifnet */
|
||||
#include <net/ppp_defs.h> /* struct pppstat */
|
||||
#include <rtems/rtems/types.h> /* rtems_id */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
struct proc;
|
||||
|
||||
/*
|
||||
* Supported network protocols. These values are used for
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
#ifndef _NET_IF_VAR_H_
|
||||
#define _NET_IF_VAR_H_
|
||||
|
||||
#include <net/if.h> /* struct if_data */
|
||||
#include <sys/ioccom.h> /* ioctl_command_t */
|
||||
|
||||
/*
|
||||
* Structures defining a network interface, providing a packet
|
||||
* transport mechanism (ala level 0 of the PUP protocols).
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
#ifndef _NET_RAW_CB_H_
|
||||
#define _NET_RAW_CB_H_
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
#ifndef _NET_SLCOMPRESS_H_
|
||||
#define _NET_SLCOMPRESS_H_
|
||||
|
||||
#include <netinet/ip.h> /* struct ip */
|
||||
|
||||
struct mbuf;
|
||||
|
||||
#define MAX_STATES 16 /* must be > 2 and < 256 */
|
||||
#define MAX_HDR 128
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
#ifndef _NETINET_ICMP_VAR_H_
|
||||
#define _NETINET_ICMP_VAR_H_
|
||||
|
||||
#include <netinet/ip_icmp.h> /* ICMP_MAXTYPE */
|
||||
|
||||
/*
|
||||
* Variables related to this implementation
|
||||
* of the internet control message protocol.
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#ifndef _NETINET_IF_ETHER_H_
|
||||
#define _NETINET_IF_ETHER_H_
|
||||
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_arp.h>
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
#ifndef _NETINET_IGMP_H_
|
||||
#define _NETINET_IGMP_H_
|
||||
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
/*
|
||||
* Internet Group Management Protocol (IGMP) definitions.
|
||||
*
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
#define _NETINET_IN_PCB_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <net/route.h> /* struct route */
|
||||
|
||||
/*
|
||||
* Common structure pcb for internet protocol implementation.
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
#define _NETINET_IN_VAR_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <net/if_var.h> /* struct ifaddr */
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
#if !defined(__rtems__)
|
||||
#include <sys/fnv_hash.h>
|
||||
#endif
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
#define _NETINET_IP_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <netinet/in_systm.h> /* n_long */
|
||||
|
||||
/*
|
||||
* Definitions for internet protocol version 4.
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
#ifndef _IP_FW_H
|
||||
#define _IP_FW_H
|
||||
|
||||
#include <sys/queue.h> /* LIST_ENTRY */
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
/*
|
||||
* This union structure identifies an interface, either explicitly
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
#ifndef _NETINET_IP_ICMP_H_
|
||||
#define _NETINET_IP_ICMP_H_
|
||||
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <netinet/ip.h> /* struct ip */
|
||||
|
||||
/*
|
||||
* Interface Control Message Protocol Definitions.
|
||||
* Per RFC 792, September 1981.
|
||||
|
||||
@@ -41,6 +41,9 @@
|
||||
#ifndef _NETINET_IP_MROUTE_H_
|
||||
#define _NETINET_IP_MROUTE_H_
|
||||
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <net/route.h> /* struct route */
|
||||
|
||||
/*
|
||||
* Definitions for IP multicast forwarding.
|
||||
*
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
#ifndef _NETINET_IP_VAR_H_
|
||||
#define _NETINET_IP_VAR_H_
|
||||
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
/*
|
||||
* Overlay for ip header used by other protocols (tcp, udp).
|
||||
*/
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
#include <machine/endian.h> /* BYTE_ORDER */
|
||||
|
||||
typedef u_int32_t tcp_seq;
|
||||
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
#ifndef _NETINET_TCP_DEBUG_H_
|
||||
#define _NETINET_TCP_DEBUG_H_
|
||||
|
||||
#include <netinet/tcpip.h> /* struct tcpiphdr */
|
||||
#include <netinet/tcp_var.h> /* struct tcpcb */
|
||||
|
||||
struct tcp_debug {
|
||||
uint32_t td_time; /* network format */
|
||||
short td_act;
|
||||
|
||||
@@ -37,6 +37,10 @@
|
||||
#ifndef _NETINET_TCPIP_H_
|
||||
#define _NETINET_TCPIP_H_
|
||||
|
||||
#ifdef __BSD_VISIBLE
|
||||
#include <netinet/tcp.h> /* struct tcphdr */
|
||||
#include <netinet/ip_var.h> /* struct ipovly */
|
||||
|
||||
/*
|
||||
* Tcp+ip header, after ip options removed.
|
||||
*/
|
||||
@@ -61,5 +65,6 @@ struct tcpiphdr {
|
||||
#define ti_win ti_t.th_win
|
||||
#define ti_sum ti_t.th_sum
|
||||
#define ti_urp ti_t.th_urp
|
||||
#endif /* __BSD_VISIBLE */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
#ifndef _NETINET_UDP_VAR_H_
|
||||
#define _NETINET_UDP_VAR_H_
|
||||
|
||||
#include <netinet/ip_var.h> /* struct ipovly */
|
||||
#include <netinet/udp.h> /* struct udphdr */
|
||||
|
||||
/*
|
||||
* UDP kernel structures and variables.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user