require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NET_IF_SPPP_H_)) {
    eval 'sub _NET_IF_SPPP_H_ () {1;}' unless defined(&_NET_IF_SPPP_H_);
    require 'sys/ioccom.ph';
    eval 'sub SPPP_AUTHPROTO_NONE () {0;}' unless defined(&SPPP_AUTHPROTO_NONE);
    eval 'sub SPPP_AUTHPROTO_PAP () {1;}' unless defined(&SPPP_AUTHPROTO_PAP);
    eval 'sub SPPP_AUTHPROTO_CHAP () {2;}' unless defined(&SPPP_AUTHPROTO_CHAP);
    eval 'sub SPPP_AUTHPROTO_NOCHG () {3;}' unless defined(&SPPP_AUTHPROTO_NOCHG);
    eval 'sub SPPP_AUTHFLAG_NOCALLOUT () {1;}' unless defined(&SPPP_AUTHFLAG_NOCALLOUT);
    eval 'sub SPPP_AUTHFLAG_NORECHALLENGE () {2;}' unless defined(&SPPP_AUTHFLAG_NORECHALLENGE);
    eval 'sub SPPP_AUTHFLAG_PASSIVEAUTHPROTO () {4;}' unless defined(&SPPP_AUTHFLAG_PASSIVEAUTHPROTO);
    eval 'sub SPPPGETAUTHCFG () { &_IOWR(ord(\'i\'), 120, \'struct spppauthcfg\');}' unless defined(&SPPPGETAUTHCFG);
    eval 'sub SPPPSETAUTHCFG () { &_IOW(ord(\'i\'), 121, \'struct spppauthcfg\');}' unless defined(&SPPPSETAUTHCFG);
    eval 'sub SPPPGETLCPCFG () { &_IOWR(ord(\'i\'), 122, \'struct sppplcpcfg\');}' unless defined(&SPPPGETLCPCFG);
    eval 'sub SPPPSETLCPCFG () { &_IOW(ord(\'i\'), 123, \'struct sppplcpcfg\');}' unless defined(&SPPPSETLCPCFG);
    eval 'sub SPPP_PHASE_DEAD () {0;}' unless defined(&SPPP_PHASE_DEAD);
    eval 'sub SPPP_PHASE_ESTABLISH () {1;}' unless defined(&SPPP_PHASE_ESTABLISH);
    eval 'sub SPPP_PHASE_TERMINATE () {2;}' unless defined(&SPPP_PHASE_TERMINATE);
    eval 'sub SPPP_PHASE_AUTHENTICATE () {3;}' unless defined(&SPPP_PHASE_AUTHENTICATE);
    eval 'sub SPPP_PHASE_NETWORK () {4;}' unless defined(&SPPP_PHASE_NETWORK);
    eval 'sub SPPPGETSTATUS () { &_IOWR(ord(\'i\'), 124, \'struct spppstatus\');}' unless defined(&SPPPGETSTATUS);
    eval 'sub SPPPGETSTATUSNCP () { &_IOWR(ord(\'i\'), 134, \'struct spppstatusncp\');}' unless defined(&SPPPGETSTATUSNCP);
    eval 'sub SPPPGETIDLETO () { &_IOWR(ord(\'i\'), 125, \'struct spppidletimeout\');}' unless defined(&SPPPGETIDLETO);
    eval 'sub SPPPSETIDLETO () { &_IOW(ord(\'i\'), 126, \'struct spppidletimeout\');}' unless defined(&SPPPSETIDLETO);
    eval 'sub __SPPPGETIDLETO50 () { &_IOWR(ord(\'i\'), 125, \'struct spppidletimeout50\');}' unless defined(&__SPPPGETIDLETO50);
    eval 'sub __SPPPSETIDLETO50 () { &_IOW(ord(\'i\'), 126, \'struct spppidletimeout50\');}' unless defined(&__SPPPSETIDLETO50);
    eval 'sub SPPPGETAUTHFAILURES () { &_IOWR(ord(\'i\'), 127, \'struct spppauthfailurestats\');}' unless defined(&SPPPGETAUTHFAILURES);
    eval 'sub SPPPSETAUTHFAILURE () { &_IOW(ord(\'i\'), 128, \'struct spppauthfailuresettings\');}' unless defined(&SPPPSETAUTHFAILURE);
    eval 'sub SPPPSETDNSOPTS () { &_IOW(ord(\'i\'), 129, \'struct spppdnssettings\');}' unless defined(&SPPPSETDNSOPTS);
    eval 'sub SPPPGETDNSOPTS () { &_IOWR(ord(\'i\'), 130, \'struct spppdnssettings\');}' unless defined(&SPPPGETDNSOPTS);
    eval 'sub SPPPGETDNSADDRS () { &_IOWR(ord(\'i\'), 131, \'struct spppdnsaddrs\');}' unless defined(&SPPPGETDNSADDRS);
    eval 'sub SPPPSETKEEPALIVE () { &_IOW(ord(\'i\'), 132, \'struct spppkeepalivesettings\');}' unless defined(&SPPPSETKEEPALIVE);
    eval 'sub SPPPGETKEEPALIVE () { &_IOWR(ord(\'i\'), 133, \'struct spppkeepalivesettings\');}' unless defined(&SPPPGETKEEPALIVE);
    eval 'sub __SPPPSETKEEPALIVE50 () { &_IOW(ord(\'i\'), 132, \'struct spppkeepalivesettings50\');}' unless defined(&__SPPPSETKEEPALIVE50);
    eval 'sub __SPPPGETKEEPALIVE50 () { &_IOWR(ord(\'i\'), 133, \'struct spppkeepalivesettings50\');}' unless defined(&__SPPPGETKEEPALIVE50);
    eval 'sub SPPP_STATE_INITIAL () {0;}' unless defined(&SPPP_STATE_INITIAL);
    eval 'sub SPPP_STATE_STARTING () {1;}' unless defined(&SPPP_STATE_STARTING);
    eval 'sub SPPP_STATE_CLOSED () {2;}' unless defined(&SPPP_STATE_CLOSED);
    eval 'sub SPPP_STATE_STOPPED () {3;}' unless defined(&SPPP_STATE_STOPPED);
    eval 'sub SPPP_STATE_CLOSING () {4;}' unless defined(&SPPP_STATE_CLOSING);
    eval 'sub SPPP_STATE_STOPPING () {5;}' unless defined(&SPPP_STATE_STOPPING);
    eval 'sub SPPP_STATE_REQ_SENT () {6;}' unless defined(&SPPP_STATE_REQ_SENT);
    eval 'sub SPPP_STATE_ACK_RCVD () {7;}' unless defined(&SPPP_STATE_ACK_RCVD);
    eval 'sub SPPP_STATE_ACK_SENT () {8;}' unless defined(&SPPP_STATE_ACK_SENT);
    eval 'sub SPPP_STATE_OPENED () {9;}' unless defined(&SPPP_STATE_OPENED);
    eval 'sub SPPP_LCP_OPT_MRU () { &__BIT(1);}' unless defined(&SPPP_LCP_OPT_MRU);
    eval 'sub SPPP_LCP_OPT_ASYNC_MAP () { &__BIT(2);}' unless defined(&SPPP_LCP_OPT_ASYNC_MAP);
    eval 'sub SPPP_LCP_OPT_AUTH_PROTO () { &__BIT(3);}' unless defined(&SPPP_LCP_OPT_AUTH_PROTO);
    eval 'sub SPPP_LCP_OPT_QUAL_PROTO () { &__BIT(4);}' unless defined(&SPPP_LCP_OPT_QUAL_PROTO);
    eval 'sub SPPP_LCP_OPT_MAGIC () { &__BIT(5);}' unless defined(&SPPP_LCP_OPT_MAGIC);
    eval 'sub SPPP_LCP_OPT_RESERVED () { &__BIT(6);}' unless defined(&SPPP_LCP_OPT_RESERVED);
    eval 'sub SPPP_LCP_OPT_PROTO_COMP () { &__BIT(7);}' unless defined(&SPPP_LCP_OPT_PROTO_COMP);
    eval 'sub SPPP_LCP_OPT_ADDR_COMP () { &__BIT(8);}' unless defined(&SPPP_LCP_OPT_ADDR_COMP);
    eval 'sub SPPP_LCP_OPT_FCS_ALTS () { &__BIT(9);}' unless defined(&SPPP_LCP_OPT_FCS_ALTS);
    eval 'sub SPPP_LCP_OPT_SELF_DESC_PAD () { &__BIT(10);}' unless defined(&SPPP_LCP_OPT_SELF_DESC_PAD);
    eval 'sub SPPP_LCP_OPT_CALL_BACK () { &__BIT(13);}' unless defined(&SPPP_LCP_OPT_CALL_BACK);
    eval 'sub SPPP_LCP_OPT_COMPOUND_FRMS () { &__BIT(15);}' unless defined(&SPPP_LCP_OPT_COMPOUND_FRMS);
    eval 'sub SPPP_LCP_OPT_MP_MRRU () { &__BIT(17);}' unless defined(&SPPP_LCP_OPT_MP_MRRU);
    eval 'sub SPPP_LCP_OPT_MP_SSNHF () { &__BIT(18);}' unless defined(&SPPP_LCP_OPT_MP_SSNHF);
    eval 'sub SPPP_LCP_OPT_MP_EID () { &__BIT(19);}' unless defined(&SPPP_LCP_OPT_MP_EID);
    eval 'sub SPPP_IPCP_OPT_COMPRESSION () { &__BIT(1);}' unless defined(&SPPP_IPCP_OPT_COMPRESSION);
    eval 'sub SPPP_IPCP_OPT_ADDRESS () { &__BIT(2);}' unless defined(&SPPP_IPCP_OPT_ADDRESS);
    eval 'sub SPPP_IPCP_OPT_PRIMDNS () { &__BIT(3);}' unless defined(&SPPP_IPCP_OPT_PRIMDNS);
    eval 'sub SPPP_IPCP_OPT_SECDNS () { &__BIT(4);}' unless defined(&SPPP_IPCP_OPT_SECDNS);
    eval 'sub SPPP_IPV6CP_OPT_IFID () { &__BIT(1);}' unless defined(&SPPP_IPV6CP_OPT_IFID);
    eval 'sub SPPP_IPV6CP_OPT_COMPRESSION () { &__BIT(2);}' unless defined(&SPPP_IPV6CP_OPT_COMPRESSION);
    eval 'sub SPPPGETLCPSTATUS () { &_IOWR(ord(\'i\'), 135, \'struct sppplcpstatus\');}' unless defined(&SPPPGETLCPSTATUS);
    eval 'sub SPPPGETIPCPSTATUS () { &_IOWR(ord(\'i\'), 136, \'struct spppipcpstatus\');}' unless defined(&SPPPGETIPCPSTATUS);
    eval 'sub SPPPGETIPV6CPSTATUS () { &_IOWR(ord(\'i\'), 137, \'struct spppipv6cpstatus\');}' unless defined(&SPPPGETIPV6CPSTATUS);
    eval 'sub SPPP_NCP_IPCP () { &__BIT(0);}' unless defined(&SPPP_NCP_IPCP);
    eval 'sub SPPP_NCP_IPV6CP () { &__BIT(1);}' unless defined(&SPPP_NCP_IPV6CP);
    eval 'sub SPPPGETNCPCFG () { &_IOWR(ord(\'i\'), 138, \'struct spppncpcfg\');}' unless defined(&SPPPGETNCPCFG);
    eval 'sub SPPPSETNCPCFG () { &_IOW(ord(\'i\'), 139, \'struct spppncpcfg\');}' unless defined(&SPPPSETNCPCFG);
}
1;
