require '_h2ph_pre.ph';

unless(defined(&_NETINET_IP_MROUTE_H_)) {
    eval 'sub _NETINET_IP_MROUTE_H_ () {1;}' unless defined(&_NETINET_IP_MROUTE_H_);
    require 'sys/queue.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 MAXVIFS () {32;}' unless defined(&MAXVIFS);
    eval 'sub VIFM_SET {
        local($n, $m) = @_;
	    eval q((($m) |= (1<< ($n))));
    }' unless defined(&VIFM_SET);
    eval 'sub VIFM_CLR {
        local($n, $m) = @_;
	    eval q((($m) &= ~(1<< ($n))));
    }' unless defined(&VIFM_CLR);
    eval 'sub VIFM_ISSET {
        local($n, $m) = @_;
	    eval q((($m) & (1<< ($n))));
    }' unless defined(&VIFM_ISSET);
    eval 'sub VIFM_SETALL {
        local($m) = @_;
	    eval q((($m) = 0xffffffff));
    }' unless defined(&VIFM_SETALL);
    eval 'sub VIFM_CLRALL {
        local($m) = @_;
	    eval q((($m) = 0x));
    }' unless defined(&VIFM_CLRALL);
    eval 'sub VIFM_COPY {
        local($mfrom, $mto) = @_;
	    eval q((($mto) = ($mfrom)));
    }' unless defined(&VIFM_COPY);
    eval 'sub VIFM_SAME {
        local($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);
    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);
	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);
	if(defined(&RSVP_ISI)) {
	} else {
	}
    }
}
1;
