require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_PPP_DEFS_H_)) {
    eval 'sub _PPP_DEFS_H_ () {1;}' unless defined(&_PPP_DEFS_H_);
    eval 'sub PPP_HDRLEN () {4;}' unless defined(&PPP_HDRLEN);
    eval 'sub PPP_FCSLEN () {2;}' unless defined(&PPP_FCSLEN);
    eval 'sub PPP_MRU () {1500;}' unless defined(&PPP_MRU);
    eval 'sub PPP_ADDRESS {
        my($p) = @_;
	    eval q(((($p))[0]));
    }' unless defined(&PPP_ADDRESS);
    eval 'sub PPP_CONTROL {
        my($p) = @_;
	    eval q(((($p))[1]));
    }' unless defined(&PPP_CONTROL);
    eval 'sub PPP_PROTOCOL {
        my($p) = @_;
	    eval q(((()[2] << 8) + (($p))[3]));
    }' unless defined(&PPP_PROTOCOL);
    eval 'sub PPP_ALLSTATIONS () {0xff;}' unless defined(&PPP_ALLSTATIONS);
    eval 'sub PPP_UI () {0x3;}' unless defined(&PPP_UI);
    eval 'sub PPP_FLAG () {0x7e;}' unless defined(&PPP_FLAG);
    eval 'sub PPP_ESCAPE () {0x7d;}' unless defined(&PPP_ESCAPE);
    eval 'sub PPP_TRANS () {0x20;}' unless defined(&PPP_TRANS);
    eval 'sub PPP_IP () {0x21;}' unless defined(&PPP_IP);
    eval 'sub PPP_XNS () {0x25;}' unless defined(&PPP_XNS);
    eval 'sub PPP_AT () {0x29;}' unless defined(&PPP_AT);
    eval 'sub PPP_IPX () {0x2b;}' unless defined(&PPP_IPX);
    eval 'sub PPP_VJC_COMP () {0x2d;}' unless defined(&PPP_VJC_COMP);
    eval 'sub PPP_VJC_UNCOMP () {0x2f;}' unless defined(&PPP_VJC_UNCOMP);
    eval 'sub PPP_IPV6 () {0x57;}' unless defined(&PPP_IPV6);
    eval 'sub PPP_COMP () {0xfd;}' unless defined(&PPP_COMP);
    eval 'sub PPP_IPCP () {0x8021;}' unless defined(&PPP_IPCP);
    eval 'sub PPP_ATCP () {0x8029;}' unless defined(&PPP_ATCP);
    eval 'sub PPP_IPXCP () {0x802b;}' unless defined(&PPP_IPXCP);
    eval 'sub PPP_IPV6CP () {0x8057;}' unless defined(&PPP_IPV6CP);
    eval 'sub PPP_CCP () {0x80fd;}' unless defined(&PPP_CCP);
    eval 'sub PPP_LCP () {0xc021;}' unless defined(&PPP_LCP);
    eval 'sub PPP_PAP () {0xc023;}' unless defined(&PPP_PAP);
    eval 'sub PPP_LQR () {0xc025;}' unless defined(&PPP_LQR);
    eval 'sub PPP_CHAP () {0xc223;}' unless defined(&PPP_CHAP);
    eval 'sub PPP_CBCP () {0xc029;}' unless defined(&PPP_CBCP);
    eval 'sub PPP_INITFCS () {0xffff;}' unless defined(&PPP_INITFCS);
    eval 'sub PPP_GOODFCS () {0xf0b8;}' unless defined(&PPP_GOODFCS);
    eval 'sub PPP_FCS {
        my($fcs, $c) = @_;
	    eval q(((($fcs) >> 8) ^  $fcstab[(($fcs) ^ ($c)) & 0xff]));
    }' unless defined(&PPP_FCS);
    unless(defined(&__BIT_TYPES_DEFINED__)) {
	if(defined(&UINT32_T)) {
	} else {
	}
    }
    eval("sub NPMODE_PASS () { 0; }") unless defined(&NPMODE_PASS);
    eval("sub NPMODE_DROP () { 1; }") unless defined(&NPMODE_DROP);
    eval("sub NPMODE_ERROR () { 2; }") unless defined(&NPMODE_ERROR);
    eval("sub NPMODE_QUEUE () { 3; }") unless defined(&NPMODE_QUEUE);
}
1;
