require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NETINET_IF_FDDI_H_)) {
    eval 'sub _NETINET_IF_FDDI_H_ () {1;}' unless defined(&_NETINET_IF_FDDI_H_);
    eval 'sub FDDIMTU () {4470;}' unless defined(&FDDIMTU);
    eval 'sub FDDIIPMTU () {4352;}' unless defined(&FDDIIPMTU);
    eval 'sub FDDIMIN () {3;}' unless defined(&FDDIMIN);
    eval 'sub FDDIFC_C () {0x80;}' unless defined(&FDDIFC_C);
    eval 'sub FDDIFC_L () {0x40;}' unless defined(&FDDIFC_L);
    eval 'sub FDDIFC_F () {0x30;}' unless defined(&FDDIFC_F);
    eval 'sub FDDIFC_Z () {0xf;}' unless defined(&FDDIFC_Z);
    eval 'sub FDDIFC_LLC_ASYNC () {0x50;}' unless defined(&FDDIFC_LLC_ASYNC);
    eval 'sub FDDIFC_LLC_PRIO0 () {0;}' unless defined(&FDDIFC_LLC_PRIO0);
    eval 'sub FDDIFC_LLC_PRIO1 () {1;}' unless defined(&FDDIFC_LLC_PRIO1);
    eval 'sub FDDIFC_LLC_PRIO2 () {2;}' unless defined(&FDDIFC_LLC_PRIO2);
    eval 'sub FDDIFC_LLC_PRIO3 () {3;}' unless defined(&FDDIFC_LLC_PRIO3);
    eval 'sub FDDIFC_LLC_PRIO4 () {4;}' unless defined(&FDDIFC_LLC_PRIO4);
    eval 'sub FDDIFC_LLC_PRIO5 () {5;}' unless defined(&FDDIFC_LLC_PRIO5);
    eval 'sub FDDIFC_LLC_PRIO6 () {6;}' unless defined(&FDDIFC_LLC_PRIO6);
    eval 'sub FDDIFC_LLC_PRIO7 () {7;}' unless defined(&FDDIFC_LLC_PRIO7);
    eval 'sub FDDIFC_LLC_SYNC () {0xd0;}' unless defined(&FDDIFC_LLC_SYNC);
    eval 'sub FDDIFC_SMT () {0x40;}' unless defined(&FDDIFC_SMT);
    if(defined( &_KERNEL)) {
	eval 'sub fddibroadcastaddr () { &etherbroadcastaddr;}' unless defined(&fddibroadcastaddr);
	eval 'sub fddi_ipmulticast_min () { &ether_ipmulticast_min;}' unless defined(&fddi_ipmulticast_min);
	eval 'sub fddi_ipmulticast_max () { &ether_ipmulticast_max;}' unless defined(&fddi_ipmulticast_max);
	eval 'sub fddi_addmulti () { &ether_addmulti;}' unless defined(&fddi_addmulti);
	eval 'sub fddi_delmulti () { &ether_delmulti;}' unless defined(&fddi_delmulti);
	eval 'sub fddi_sprintf () { &ether_sprintf;}' unless defined(&fddi_sprintf);
    }
}
1;
