require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NETINET_IP_MROUTE_H_)) {
    eval 'sub _NETINET_IP_MROUTE_H_ () {1;}' unless defined(&_NETINET_IP_MROUTE_H_);
    require 'sys/queue.ph';
    require 'sys/timeout.ph';
    eval 'sub MRT_INIT () {100;}' unless defined(&MRT_INIT);
    eval 'sub MRT_DONE () {101;}' unless defined(&MRT_DONE);
    eval 'sub MRT_ADD_VIF () {102;}' unless defined(&MRT_ADD_VIF);
    eval 'sub MRT_DEL_VIF () {103;}' unless defined(&MRT_DEL_VIF);
    eval 'sub MRT_ADD_MFC () {104;}' unless defined(&MRT_ADD_MFC);
    eval 'sub MRT_DEL_MFC () {105;}' unless defined(&MRT_DEL_MFC);
    eval 'sub MRT_VERSION () {106;}' unless defined(&MRT_VERSION);
    eval 'sub MRT_ASSERT () {107;}' unless defined(&MRT_ASSERT);
    eval 'sub MRT_PIM () { &MRT_ASSERT;}' unless defined(&MRT_PIM);
    eval 'sub MRT_API_SUPPORT () {109;}' unless defined(&MRT_API_SUPPORT);
    eval 'sub MRT_API_CONFIG () {110;}' unless defined(&MRT_API_CONFIG);
    eval 'sub MRT_ADD_BW_UPCALL () {111;}' unless defined(&MRT_ADD_BW_UPCALL);
    eval 'sub MRT_DEL_BW_UPCALL () {112;}' unless defined(&MRT_DEL_BW_UPCALL);
    eval 'sub MAXVIFS () {32;}' unless defined(&MAXVIFS);
    eval 'sub VIFM_SET {
        my($n, $m) = @_;
	    eval q((($m) |= (1<< ($n))));
    }' unless defined(&VIFM_SET);
    eval 'sub VIFM_CLR {
        my($n, $m) = @_;
	    eval q((($m) &= ~(1<< ($n))));
    }' unless defined(&VIFM_CLR);
    eval 'sub VIFM_ISSET {
        my($n, $m) = @_;
	    eval q((($m) & (1<< ($n))));
    }' unless defined(&VIFM_ISSET);
    eval 'sub VIFM_SETALL {
        my($m) = @_;
	    eval q((($m) = 0xffffffff));
    }' unless defined(&VIFM_SETALL);
    eval 'sub VIFM_CLRALL {
        my($m) = @_;
	    eval q((($m) = 0x));
    }' unless defined(&VIFM_CLRALL);
    eval 'sub VIFM_COPY {
        my($mfrom, $mto) = @_;
	    eval q((($mto) = ($mfrom)));
    }' unless defined(&VIFM_COPY);
    eval 'sub VIFM_SAME {
        my($m1, $m2) = @_;
	    eval q((($m1) == ($m2)));
    }' unless defined(&VIFM_SAME);
    eval 'sub VIFF_TUNNEL () {0x1;}' unless defined(&VIFF_TUNNEL);
    eval 'sub VIFF_SRCRT () {0x2;}' unless defined(&VIFF_SRCRT);
    eval 'sub VIFF_REGISTER () {0x4;}' unless defined(&VIFF_REGISTER);
    eval 'sub MRT_MFC_FLAGS_DISABLE_WRONGVIF () {(1<< 0);}' unless defined(&MRT_MFC_FLAGS_DISABLE_WRONGVIF);
    eval 'sub MRT_MFC_FLAGS_BORDER_VIF () {(1<< 1);}' unless defined(&MRT_MFC_FLAGS_BORDER_VIF);
    eval 'sub MRT_MFC_RP () {(1<< 8);}' unless defined(&MRT_MFC_RP);
    eval 'sub MRT_MFC_BW_UPCALL () {(1<< 9);}' unless defined(&MRT_MFC_BW_UPCALL);
    eval 'sub MRT_MFC_FLAGS_ALL () {( &MRT_MFC_FLAGS_DISABLE_WRONGVIF |  &MRT_MFC_FLAGS_BORDER_VIF);}' unless defined(&MRT_MFC_FLAGS_ALL);
    eval 'sub MRT_API_FLAGS_ALL () {( &MRT_MFC_FLAGS_ALL |  &MRT_MFC_RP |  &MRT_MFC_BW_UPCALL);}' unless defined(&MRT_API_FLAGS_ALL);
    eval 'sub BW_UPCALL_UNIT_PACKETS () {(1<< 0);}' unless defined(&BW_UPCALL_UNIT_PACKETS);
    eval 'sub BW_UPCALL_UNIT_BYTES () {(1<< 1);}' unless defined(&BW_UPCALL_UNIT_BYTES);
    eval 'sub BW_UPCALL_GEQ () {(1<< 2);}' unless defined(&BW_UPCALL_GEQ);
    eval 'sub BW_UPCALL_LEQ () {(1<< 3);}' unless defined(&BW_UPCALL_LEQ);
    eval 'sub BW_UPCALL_DELETE_ALL () {(1<< 4);}' unless defined(&BW_UPCALL_DELETE_ALL);
    eval 'sub BW_UPCALLS_MAX () {128;}' unless defined(&BW_UPCALLS_MAX);
    eval 'sub BW_UPCALL_THRESHOLD_INTERVAL_MIN_SEC () {3;}' unless defined(&BW_UPCALL_THRESHOLD_INTERVAL_MIN_SEC);
    eval 'sub BW_UPCALL_THRESHOLD_INTERVAL_MIN_USEC () {0;}' unless defined(&BW_UPCALL_THRESHOLD_INTERVAL_MIN_USEC);
    if(defined(&_KERNEL)) {
	if(defined(&RSVP_ISI)) {
	}
	eval 'sub IGMPMSG_NOCACHE () {1;}' unless defined(&IGMPMSG_NOCACHE);
	eval 'sub IGMPMSG_WRONGVIF () {2;}' unless defined(&IGMPMSG_WRONGVIF);
	eval 'sub IGMPMSG_WHOLEPKT () {3;}' unless defined(&IGMPMSG_WHOLEPKT);
	eval 'sub IGMPMSG_BW_UPCALL () {4;}' unless defined(&IGMPMSG_BW_UPCALL);
	if(defined(&UPCALL_TIMING)) {
	}
	eval 'sub MFCTBLSIZ () {256;}' unless defined(&MFCTBLSIZ);
	eval 'sub MAX_UPQ () {4;}' unless defined(&MAX_UPQ);
	eval 'sub MAX_BKT_SIZE () {10000;}' unless defined(&MAX_BKT_SIZE);
	eval 'sub MAXQSIZE () {10;}' unless defined(&MAXQSIZE);
	eval 'sub BW_METER_UNIT_PACKETS () {(1<< 0);}' unless defined(&BW_METER_UNIT_PACKETS);
	eval 'sub BW_METER_UNIT_BYTES () {(1<< 1);}' unless defined(&BW_METER_UNIT_BYTES);
	eval 'sub BW_METER_GEQ () {(1<< 2);}' unless defined(&BW_METER_GEQ);
	eval 'sub BW_METER_LEQ () {(1<< 3);}' unless defined(&BW_METER_LEQ);
	eval 'sub BW_METER_USER_FLAGS () {( &BW_METER_UNIT_PACKETS |  &BW_METER_UNIT_BYTES |  &BW_METER_GEQ |  &BW_METER_LEQ);}' unless defined(&BW_METER_USER_FLAGS);
	eval 'sub BW_METER_UPCALL_DELIVERED () {(1<< 24);}' unless defined(&BW_METER_UPCALL_DELIVERED);
	if(defined(&RSVP_ISI)) {
	} else {
	}
    }
}
1;
