require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_SCTP_H_)) {
    eval 'sub _NETINET_SCTP_H_ () {1;}' unless defined(&_NETINET_SCTP_H_);
    require 'sys/types.ph';
    eval 'sub SCTP_NODELAY () {0x1;}' unless defined(&SCTP_NODELAY);
    eval 'sub SCTP_MAXSEG () {0x2;}' unless defined(&SCTP_MAXSEG);
    eval 'sub SCTP_ASSOCINFO () {0x3;}' unless defined(&SCTP_ASSOCINFO);
    eval 'sub SCTP_INITMSG () {0x4;}' unless defined(&SCTP_INITMSG);
    eval 'sub SCTP_AUTOCLOSE () {0x5;}' unless defined(&SCTP_AUTOCLOSE);
    eval 'sub SCTP_SET_PEER_PRIMARY_ADDR () {0x6;}' unless defined(&SCTP_SET_PEER_PRIMARY_ADDR);
    eval 'sub SCTP_PRIMARY_ADDR () {0x7;}' unless defined(&SCTP_PRIMARY_ADDR);
    eval 'sub SCTP_STATUS () {0x8;}' unless defined(&SCTP_STATUS);
    eval 'sub SCTP_PCB_STATUS () {0x9;}' unless defined(&SCTP_PCB_STATUS);
    eval 'sub SCTP_EVENTS () {0xa;}' unless defined(&SCTP_EVENTS);
    eval 'sub SCTP_PEER_ADDR_PARAMS () {0xb;}' unless defined(&SCTP_PEER_ADDR_PARAMS);
    eval 'sub SCTP_GET_PEER_ADDR_INFO () {0xc;}' unless defined(&SCTP_GET_PEER_ADDR_INFO);
    eval 'sub SCTP_GET_PEER_ADDRESSES () {0xd;}' unless defined(&SCTP_GET_PEER_ADDRESSES);
    eval 'sub SCTP_GET_LOCAL_ADDRESSES () {0xe;}' unless defined(&SCTP_GET_LOCAL_ADDRESSES);
    eval 'sub SCTP_GET_SNDBUF_USE () {0xf;}' unless defined(&SCTP_GET_SNDBUF_USE);
    eval 'sub SCTP_ADAPTION_LAYER () {0x10;}' unless defined(&SCTP_ADAPTION_LAYER);
    eval 'sub SCTP_DISABLE_FRAGMENTS () {0x11;}' unless defined(&SCTP_DISABLE_FRAGMENTS);
    eval 'sub SCTP_BINDX_ADD_ADDR () {0x12;}' unless defined(&SCTP_BINDX_ADD_ADDR);
    eval 'sub SCTP_BINDX_REM_ADDR () {0x13;}' unless defined(&SCTP_BINDX_REM_ADDR);
    eval 'sub SCTP_GET_LOCAL_ADDR_SIZE () {0x14;}' unless defined(&SCTP_GET_LOCAL_ADDR_SIZE);
    eval 'sub SCTP_I_WANT_MAPPED_V4_ADDR () {0x15;}' unless defined(&SCTP_I_WANT_MAPPED_V4_ADDR);
    eval 'sub SCTP_GET_REMOTE_ADDR_SIZE () {0x16;}' unless defined(&SCTP_GET_REMOTE_ADDR_SIZE);
    eval 'sub SCTP_GET_PEGS () {0x17;}' unless defined(&SCTP_GET_PEGS);
    eval 'sub SCTP_DEFAULT_SEND_PARAM () {0x18;}' unless defined(&SCTP_DEFAULT_SEND_PARAM);
    eval 'sub SCTP_SET_DEBUG_LEVEL () {0x19;}' unless defined(&SCTP_SET_DEBUG_LEVEL);
    eval 'sub SCTP_RTOINFO () {0x1a;}' unless defined(&SCTP_RTOINFO);
    eval 'sub SCTP_AUTO_ASCONF () {0x1b;}' unless defined(&SCTP_AUTO_ASCONF);
    eval 'sub SCTP_MAXBURST () {0x1c;}' unless defined(&SCTP_MAXBURST);
    eval 'sub SCTP_GET_STAT_LOG () {0x1d;}' unless defined(&SCTP_GET_STAT_LOG);
    eval 'sub SCTP_CONNECT_X () {0x1e;}' unless defined(&SCTP_CONNECT_X);
    eval 'sub SCTP_RESET_STREAMS () {0x1f;}' unless defined(&SCTP_RESET_STREAMS);
    eval 'sub SCTP_CONNECT_X_DELAYED () {0x20;}' unless defined(&SCTP_CONNECT_X_DELAYED);
    eval 'sub SCTP_CONNECT_X_COMPLETE () {0x21;}' unless defined(&SCTP_CONNECT_X_COMPLETE);
    eval 'sub SCTP_GET_ASOC_ID_LIST () {0x22;}' unless defined(&SCTP_GET_ASOC_ID_LIST);
    eval 'sub SCTP_GET_NONCE_VALUES () {0x23;}' unless defined(&SCTP_GET_NONCE_VALUES);
    eval 'sub SCTP_DELAYED_ACK_TIME () {0x24;}' unless defined(&SCTP_DELAYED_ACK_TIME);
    eval 'sub SCTP_PEER_PUBLIC_KEY () {0x100;}' unless defined(&SCTP_PEER_PUBLIC_KEY);
    eval 'sub SCTP_MY_PUBLIC_KEY () {0x101;}' unless defined(&SCTP_MY_PUBLIC_KEY);
    eval 'sub SCTP_SET_AUTH_SECRET () {0x102;}' unless defined(&SCTP_SET_AUTH_SECRET);
    eval 'sub SCTP_SET_AUTH_CHUNKS () {0x103;}' unless defined(&SCTP_SET_AUTH_CHUNKS);
    eval 'sub SCTP_SET_INITIAL_DBG_SEQ () {0x1f00;}' unless defined(&SCTP_SET_INITIAL_DBG_SEQ);
    eval 'sub SCTP_RESET_PEGS () {0x2000;}' unless defined(&SCTP_RESET_PEGS);
    eval 'sub SCTP_CLR_STAT_LOG () {0x2100;}' unless defined(&SCTP_CLR_STAT_LOG);
    eval 'sub SCTP_CLOSED () {0x;}' unless defined(&SCTP_CLOSED);
    eval 'sub SCTP_BOUND () {0x1000;}' unless defined(&SCTP_BOUND);
    eval 'sub SCTP_LISTEN () {0x2000;}' unless defined(&SCTP_LISTEN);
    eval 'sub SCTP_COOKIE_WAIT () {0x2;}' unless defined(&SCTP_COOKIE_WAIT);
    eval 'sub SCTP_COOKIE_ECHOED () {0x4;}' unless defined(&SCTP_COOKIE_ECHOED);
    eval 'sub SCTP_ESTABLISHED () {0x8;}' unless defined(&SCTP_ESTABLISHED);
    eval 'sub SCTP_SHUTDOWN_SENT () {0x10;}' unless defined(&SCTP_SHUTDOWN_SENT);
    eval 'sub SCTP_SHUTDOWN_RECEIVED () {0x20;}' unless defined(&SCTP_SHUTDOWN_RECEIVED);
    eval 'sub SCTP_SHUTDOWN_ACK_SENT () {0x40;}' unless defined(&SCTP_SHUTDOWN_ACK_SENT);
    eval 'sub SCTP_SHUTDOWN_PENDING () {0x80;}' unless defined(&SCTP_SHUTDOWN_PENDING);
    eval 'sub SCTP_ERROR_NO_ERROR () {0x;}' unless defined(&SCTP_ERROR_NO_ERROR);
    eval 'sub SCTP_ERROR_INVALID_STREAM () {0x1;}' unless defined(&SCTP_ERROR_INVALID_STREAM);
    eval 'sub SCTP_ERROR_MISSING_PARAM () {0x2;}' unless defined(&SCTP_ERROR_MISSING_PARAM);
    eval 'sub SCTP_ERROR_STALE_COOKIE () {0x3;}' unless defined(&SCTP_ERROR_STALE_COOKIE);
    eval 'sub SCTP_ERROR_OUT_OF_RESOURCES () {0x4;}' unless defined(&SCTP_ERROR_OUT_OF_RESOURCES);
    eval 'sub SCTP_ERROR_UNRESOLVABLE_ADDR () {0x5;}' unless defined(&SCTP_ERROR_UNRESOLVABLE_ADDR);
    eval 'sub SCTP_ERROR_UNRECOG_CHUNK () {0x6;}' unless defined(&SCTP_ERROR_UNRECOG_CHUNK);
    eval 'sub SCTP_ERROR_INVALID_PARAM () {0x7;}' unless defined(&SCTP_ERROR_INVALID_PARAM);
    eval 'sub SCTP_ERROR_UNRECOG_PARAM () {0x8;}' unless defined(&SCTP_ERROR_UNRECOG_PARAM);
    eval 'sub SCTP_ERROR_NO_USER_DATA () {0x9;}' unless defined(&SCTP_ERROR_NO_USER_DATA);
    eval 'sub SCTP_ERROR_COOKIE_IN_SHUTDOWN () {0xa;}' unless defined(&SCTP_ERROR_COOKIE_IN_SHUTDOWN);
    eval 'sub SCTP_ERROR_RESTART_NEWADDRS () {0xb;}' unless defined(&SCTP_ERROR_RESTART_NEWADDRS);
    eval 'sub SCTP_ERROR_DELETE_LAST_ADDR () {0x100;}' unless defined(&SCTP_ERROR_DELETE_LAST_ADDR);
    eval 'sub SCTP_ERROR_RESOURCE_SHORTAGE () {0x101;}' unless defined(&SCTP_ERROR_RESOURCE_SHORTAGE);
    eval 'sub SCTP_ERROR_DELETE_SOURCE_ADDR () {0x102;}' unless defined(&SCTP_ERROR_DELETE_SOURCE_ADDR);
    eval 'sub SCTP_ERROR_ILLEGAL_ASCONF_ACK () {0x103;}' unless defined(&SCTP_ERROR_ILLEGAL_ASCONF_ACK);
    eval 'sub HAVE_SCTP () {1;}' unless defined(&HAVE_SCTP);
    eval 'sub HAVE_KERNEL_SCTP () {1;}' unless defined(&HAVE_KERNEL_SCTP);
    eval 'sub HAVE_SCTP_PRSCTP () {1;}' unless defined(&HAVE_SCTP_PRSCTP);
    eval 'sub HAVE_SCTP_ADDIP () {1;}' unless defined(&HAVE_SCTP_ADDIP);
    eval 'sub HAVE_SCTP_CANSET_PRIMARY () {1;}' unless defined(&HAVE_SCTP_CANSET_PRIMARY);
    eval 'sub HAVE_SCTP_SAT_NETWORK_CAPABILITY1 () {1;}' unless defined(&HAVE_SCTP_SAT_NETWORK_CAPABILITY1);
    eval 'sub HAVE_SCTP_MULTIBUF () {1;}' unless defined(&HAVE_SCTP_MULTIBUF);
    eval 'sub HAVE_SCTP_NOCONNECT () {0;}' unless defined(&HAVE_SCTP_NOCONNECT);
    eval 'sub HAVE_SCTP_ECN_NONCE () {1;}' unless defined(&HAVE_SCTP_ECN_NONCE);
    eval 'sub SCTP_DATA () {0x;}' unless defined(&SCTP_DATA);
    eval 'sub SCTP_INITIATION () {0x1;}' unless defined(&SCTP_INITIATION);
    eval 'sub SCTP_INITIATION_ACK () {0x2;}' unless defined(&SCTP_INITIATION_ACK);
    eval 'sub SCTP_SELECTIVE_ACK () {0x3;}' unless defined(&SCTP_SELECTIVE_ACK);
    eval 'sub SCTP_HEARTBEAT_REQUEST () {0x4;}' unless defined(&SCTP_HEARTBEAT_REQUEST);
    eval 'sub SCTP_HEARTBEAT_ACK () {0x5;}' unless defined(&SCTP_HEARTBEAT_ACK);
    eval 'sub SCTP_ABORT_ASSOCIATION () {0x6;}' unless defined(&SCTP_ABORT_ASSOCIATION);
    eval 'sub SCTP_SHUTDOWN () {0x7;}' unless defined(&SCTP_SHUTDOWN);
    eval 'sub SCTP_SHUTDOWN_ACK () {0x8;}' unless defined(&SCTP_SHUTDOWN_ACK);
    eval 'sub SCTP_OPERATION_ERROR () {0x9;}' unless defined(&SCTP_OPERATION_ERROR);
    eval 'sub SCTP_COOKIE_ECHO () {0xa;}' unless defined(&SCTP_COOKIE_ECHO);
    eval 'sub SCTP_COOKIE_ACK () {0xb;}' unless defined(&SCTP_COOKIE_ACK);
    eval 'sub SCTP_ECN_ECHO () {0xc;}' unless defined(&SCTP_ECN_ECHO);
    eval 'sub SCTP_ECN_CWR () {0xd;}' unless defined(&SCTP_ECN_CWR);
    eval 'sub SCTP_SHUTDOWN_COMPLETE () {0xe;}' unless defined(&SCTP_SHUTDOWN_COMPLETE);
    eval 'sub SCTP_ASCONF () {0xc1;}' unless defined(&SCTP_ASCONF);
    eval 'sub SCTP_ASCONF_ACK () {0x80;}' unless defined(&SCTP_ASCONF_ACK);
    eval 'sub SCTP_FORWARD_CUM_TSN () {0xc0;}' unless defined(&SCTP_FORWARD_CUM_TSN);
    eval 'sub SCTP_PACKET_DROPPED () {0x81;}' unless defined(&SCTP_PACKET_DROPPED);
    eval 'sub SCTP_STREAM_RESET () {0x82;}' unless defined(&SCTP_STREAM_RESET);
    eval 'sub SCTP_HAD_NO_TCB () {0x1;}' unless defined(&SCTP_HAD_NO_TCB);
    eval 'sub SCTP_FROM_MIDDLE_BOX () { &SCTP_HAD_NO_TCB;}' unless defined(&SCTP_FROM_MIDDLE_BOX);
    eval 'sub SCTP_BADCRC () {0x2;}' unless defined(&SCTP_BADCRC);
    eval 'sub SCTP_PACKET_TRUNCATED () {0x4;}' unless defined(&SCTP_PACKET_TRUNCATED);
    eval 'sub SCTP_SAT_NETWORK_MIN () {400;}' unless defined(&SCTP_SAT_NETWORK_MIN);
    eval 'sub SCTP_SAT_NETWORK_BURST_INCR () {2;}' unless defined(&SCTP_SAT_NETWORK_BURST_INCR);
    eval 'sub SCTP_DATA_FRAG_MASK () {0x3;}' unless defined(&SCTP_DATA_FRAG_MASK);
    eval 'sub SCTP_DATA_MIDDLE_FRAG () {0x;}' unless defined(&SCTP_DATA_MIDDLE_FRAG);
    eval 'sub SCTP_DATA_LAST_FRAG () {0x1;}' unless defined(&SCTP_DATA_LAST_FRAG);
    eval 'sub SCTP_DATA_FIRST_FRAG () {0x2;}' unless defined(&SCTP_DATA_FIRST_FRAG);
    eval 'sub SCTP_DATA_NOT_FRAG () {0x3;}' unless defined(&SCTP_DATA_NOT_FRAG);
    eval 'sub SCTP_DATA_UNORDERED () {0x4;}' unless defined(&SCTP_DATA_UNORDERED);
    eval 'sub SCTP_SACK_NONCE_SUM () {0x1;}' unless defined(&SCTP_SACK_NONCE_SUM);
    require 'netinet/sctp_uio.ph';
}
1;
