require '_h2ph_pre.ph';

unless(defined(&_NET_IF_HDLC_H_)) {
    eval 'sub _NET_IF_HDLC_H_ () {1;}' unless defined(&_NET_IF_HDLC_H_);
    eval 'sub IDX_LCP () {0;}' unless defined(&IDX_LCP);
    eval 'sub IDX_IPCP () {1;}' unless defined(&IDX_IPCP);
    eval 'sub IPCP_HISADDR_SEEN () {1;}' unless defined(&IPCP_HISADDR_SEEN);
    eval 'sub IPCP_MYADDR_DYN () {2;}' unless defined(&IPCP_MYADDR_DYN);
    eval 'sub IPCP_MYADDR_SEEN () {4;}' unless defined(&IPCP_MYADDR_SEEN);
    eval 'sub AUTHNAMELEN () {32;}' unless defined(&AUTHNAMELEN);
    eval 'sub AUTHKEYLEN () {16;}' unless defined(&AUTHKEYLEN);
    eval 'sub AUTHFLAG_NOCALLOUT () {1;}' unless defined(&AUTHFLAG_NOCALLOUT);
    eval 'sub AUTHFLAG_NORECHALLENGE () {2;}' unless defined(&AUTHFLAG_NORECHALLENGE);
    eval 'sub IDX_PAP () {2;}' unless defined(&IDX_PAP);
    eval 'sub IDX_CHAP () {3;}' unless defined(&IDX_CHAP);
    eval 'sub IDX_COUNT () {( &IDX_CHAP + 1);}' unless defined(&IDX_COUNT);
    eval("sub PHASE_DEAD () { 0; }") unless defined(&PHASE_DEAD);
    eval("sub PHASE_ESTABLISH () { 1; }") unless defined(&PHASE_ESTABLISH);
    eval("sub PHASE_TERMINATE () { 2; }") unless defined(&PHASE_TERMINATE);
    eval("sub PHASE_AUTHENTICATE () { 3; }") unless defined(&PHASE_AUTHENTICATE);
    eval("sub PHASE_NETWORK () { 4; }") unless defined(&PHASE_NETWORK);
    if(defined( &__FreeBSD__)  && (defined(&__FreeBSD__) ? &__FreeBSD__ : 0) >= 3) {
    }
    eval 'sub PP_KEEPALIVE () {0x01;}' unless defined(&PP_KEEPALIVE);
    eval 'sub PP_CISCO () {0x02;}' unless defined(&PP_CISCO);
    eval 'sub PP_CALLIN () {0x08;}' unless defined(&PP_CALLIN);
    eval 'sub PP_NEEDAUTH () {0x10;}' unless defined(&PP_NEEDAUTH);
    eval 'sub PP_MTU () {1500;}' unless defined(&PP_MTU);
    eval 'sub PP_MAX_MRU () {2048;}' unless defined(&PP_MAX_MRU);
    eval 'sub SPPPIOGDEFS () {(((ord(\'S\') << 24) + (1<< 16) + $sizeof{\'struct sppp\'}));}' unless defined(&SPPPIOGDEFS);
    eval 'sub SPPPIOSDEFS () {(((ord(\'S\') << 24) + (2<< 16) + $sizeof{\'struct sppp\'}));}' unless defined(&SPPPIOSDEFS);
    if((defined( &__FreeBSD_version)  && (defined(&__FreeBSD_version) ? &__FreeBSD_version : 0) < 300000) || (defined( &__FreeBSD__)  && (defined(&__FreeBSD__) ? &__FreeBSD__ : 0) < 3) || defined( &__NetBSD__) || defined ( &__OpenBSD__)) {
	eval 'sub SIOCSIFGENERIC () { &_IOW(ord(\'i\'), 57, \'struct ifreq\');}' unless defined(&SIOCSIFGENERIC);
	eval 'sub SIOCGIFGENERIC () { &_IOWR(ord(\'i\'), 58, \'struct ifreq\');}' unless defined(&SIOCGIFGENERIC);
    }
    if(defined( &KERNEL) || defined( &_KERNEL)) {
	if(defined( &__OpenBSD__)) {
	}
	if((defined( &__FreeBSD_version)  && (defined(&__FreeBSD_version) ? &__FreeBSD_version : 0) >= 300003)) {
	} else {
	}
    }
}
1;
