/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:netinet/in.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_NETINET_IN_H
#define __TDF_UNIX95_NETINET_IN_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__netinet_in begin

#ifndef __TDF_UNIX95_SYS_SOCKET_H
#pragma extend interface "../../unix95.api/sys/socket.h"
#endif /* __TDF_UNIX95_SYS_SOCKET_H */
#ifndef __TDF_UNIX95_SYS_SOCKET_H_SA_FAMILY_T
#pragma extend interface "../../shared/unix95.api/sa_famil.h"
#endif /* __TDF_UNIX95_SYS_SOCKET_H_SA_FAMILY_T */
#ifndef __TDF_UNIX95_NETINET_IN_H_IN_T
#pragma extend interface "../../shared/unix95.api/in_t.h"
#endif /* __TDF_UNIX95_NETINET_IN_H_IN_T */
#pragma token STRUCT TAG in_addr # unix95.in.in_addr
#pragma token MEMBER in_addr_t : struct in_addr : s_addr # unix95.in.in_addr.s_addr
#pragma token STRUCT TAG sockaddr_in # unix95.in.sockaddr_in
#pragma token MEMBER sa_family_t : struct sockaddr_in : sin_family # unix95.in.sockaddr_in.sin_family
#pragma token MEMBER in_port_t : struct sockaddr_in : sin_port # unix95.in.sockaddr_in.sin_port
#pragma token MEMBER struct in_addr : struct sockaddr_in : sin_addr # unix95.in.sockaddr_in.sin_addr
#pragma token MEMBER unsigned char [8] : struct sockaddr_in : sin_zero # unix95.in.sockaddr_in.sin_zero
#pragma token EXP const : int : IPPROTO_IP # unix95.in.IPPROTO_IP
#pragma token EXP const : int : IPPROTO_ICMP # unix95.in.IPPROTO_ICMP
#pragma token EXP const : int : IPPROTO_TCP # unix95.in.IPPROTO_TCP
#pragma token EXP const : int : IPPROTO_UDP # unix95.in.IPPROTO_UDP
#pragma token EXP rvalue : const struct sockaddr * : INADDR_ANY # unix95.in.INADDR_ANY
#pragma token EXP rvalue : const struct sockaddr * : INADDR_BROADCAST # unix95.in.INADDR_BROADCAST

#pragma interface TAG in_addr TAG in_addr.s_addr TAG sockaddr_in
#pragma interface TAG sockaddr_in.sin_family TAG sockaddr_in.sin_port
#pragma interface TAG sockaddr_in.sin_addr TAG sockaddr_in.sin_zero
#pragma interface IPPROTO_IP IPPROTO_ICMP IPPROTO_TCP IPPROTO_UDP INADDR_ANY
#pragma interface INADDR_BROADCAST

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_NETINET_IN_H */
