/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1996-1998 Sun Microsystems, Inc. */
/* All Rights Reserved */
/*
* This is a private header file. Applications should not directly include
* this file. Instead they should include <xti_inet.h>
*/
#ifndef _SYS_XTI_INET_H
#define _SYS_XTI_INET_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* This is a private header file. Applications should not directly include
* this file. Instead they should include <xti_inet.h>
*/
#if !defined(_XPG5)
/*
* INTERNET SPECIFIC ENVIRONMENT
*
* Note:
* Unfortunately, XTI specification test assertions require exposing in
* headers options that are not implemented. They also require exposing
* Internet and OSI related options as part of inclusion of <xti.h>
*
* and sometimes redefines the semantics or types of some options with a
* different history in that namespace. The name and binary value are exposed
* but option semantics may be different from what is in XTI spec and we defer
*
* New applications should not use these constants. These are meant
* for compatibility with older applications.
*/
/*
* TCP level
*/
/*
* TCP level options
*/
#ifndef TCP_NODELAY
#endif
#ifndef TCP_MAXSEG
#endif
#ifndef TCP_KEEPALIVE
#endif
#endif /* !defined(_XPG5) */
/*
* New applications must not use the constants defined above. Instead
* they must use the constants with the T_ prefix defined below. The
* constants without the T_ prefix are meant for compatibility with
* older applications.
*/
/*
* TCP level
*/
/*
* Structure used with TCP_KEEPALIVE option.
*/
struct t_kpalive {
};
#if !defined(_XPG5)
/*
* New applications must not use the constants defined below. Instead they
* must use the corresponding T_prefix constants. The constants without the
* T_ prefix are supported for legacy applications.
*/
/*
* UDP level
*/
/*
* UDP level Options
*/
#ifndef UDP_CHECKSUM
#endif
/*
* IP level
*/
/*
* IP level Options
*/
#ifndef IP_OPTIONS
#endif
#ifndef IP_TOS
#endif
#ifndef IP_TTL
#endif
/*
* sane
*/
#ifndef IP_REUSEADDR
#endif
#ifndef IP_DONTROUTE
#endif
#ifndef IP_BROADCAST
#endif
#endif /* !defined(_XPG5) */
/*
* New applications should use the T_ prefix constants below
*/
/*
* UDP level
*/
/*
* UDP level Options
*/
/*
* IP level
*/
#define T_INET_IP 0
/*
* IP level Options
*/
/*
* IP_TOS precedence level
*/
#define T_ROUTINE 0
/*
* IP_TOS type of service
*/
#define T_NOTOS 0
#ifdef __cplusplus
}
#endif
#endif /* _SYS_XTI_INET_H */