/*
* Copyright (c) 1997-2001 by Sun Microsystems, Inc.
* All rights reserved.
*/
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
/*
* Overlay for ip header used by other protocols (tcp, udp).
*/
#ifndef _NETINET_IP_VAR_H
#define _NETINET_IP_VAR_H
#pragma ident "%Z%%M% %I% %E% SMI"
/* ip_var.h 1.11 88/08/19 SMI; from UCB 7.1 6/5/86 */
#include <sys/isa_defs.h>
#ifdef __cplusplus
extern "C" {
#endif
struct ipovly {
#ifdef _LP64
#else
#endif
};
/*
* Ip reassembly queue structure. Each fragment
* being reassembled is attached to one of these structures.
* They are timed out after ipq_ttl drops to 0, and may also
* be reclaimed if memory becomes tight.
*/
struct ipq {
/* to ip headers of fragments */
};
/*
* Ip header, when holding a fragment.
*
* Note: ipf_next must be at same offset as ipq_next above
*/
struct ipasfrag {
#ifdef _BIT_FIELDS_LTOH
#else
ip_hl:4;
#endif
short ip_len;
short ip_off;
};
/*
* Structure stored in mbuf in inpcb.ip_options
* and passed to ip_output when ip options are in use.
* The actual length of the options (including ipopt_dst)
* is in m_len.
*/
struct ipoption {
};
struct ipstat {
};
#ifdef _KERNEL
/* flags passed to ip_output as last parameter */
#endif
#ifdef __cplusplus
}
#endif
#endif /* _NETINET_IP_VAR_H */