require '_h2ph_pre.ph';

unless(defined(&EON_986_VERSION)) {
    sub EON_986_VERSION () {	0x3;}
}
unless(defined(&EON_VERSION)) {
    sub EON_VERSION () {	0x1;}
}
unless(defined(&EON_CACHESIZE)) {
    sub EON_CACHESIZE () {	30;}
}
unless(defined(&E_FREE)) {
    sub E_FREE () {	1;}
}
unless(defined(&E_LINK)) {
    sub E_LINK () {	2;}
}
unless(defined(&E_ES)) {
    sub E_ES () {	3;}
}
unless(defined(&E_IS)) {
    sub E_IS () {	4;}
}
unless(defined(&EON_ESLINK_UP)) {
    sub EON_ESLINK_UP () {	0x1;}
}
unless(defined(&EON_ESLINK_DOWN)) {
    sub EON_ESLINK_DOWN () {	0x2;}
}
unless(defined(&EON_ISLINK_UP)) {
    sub EON_ISLINK_UP () {	0x10;}
}
unless(defined(&EON_ISLINK_DOWN)) {
    sub EON_ISLINK_DOWN () {	0x20;}
}
if(defined(&EON_TEMPLATE)) {
}
unless(defined(&DOWNBITS)) {
    sub DOWNBITS () {	(  &EON_ESLINK_DOWN |  &EON_ISLINK_DOWN );}
}
unless(defined(&UPBITS)) {
    sub UPBITS () {	(  &EON_ESLINK_UP |  &EON_ISLINK_UP );}
}
unless(defined(&SIOCSEONCORE)) {
    sub SIOCSEONCORE () {	 &_IOWR(ord('i'),10, 'struct iso_ifreq');}
}
unless(defined(&SIOCGEONCORE)) {
    sub SIOCGEONCORE () {	 &_IOWR(ord('i'),11, 'struct iso_ifreq');}
}
unless(defined(&EON_NORMAL_ADDR)) {
    sub EON_NORMAL_ADDR () {	0x0;}
}
unless(defined(&EON_MULTICAST_ES)) {
    sub EON_MULTICAST_ES () {	0x1;}
}
unless(defined(&EON_MULTICAST_IS)) {
    sub EON_MULTICAST_IS () {	0x2;}
}
unless(defined(&EON_BROADCAST)) {
    sub EON_BROADCAST () {	0x3;}
}
unless(defined(&EONIPLEN)) {
    sub EONIPLEN () {	($sizeof{'struct eon_hdr'} + $sizeof{'struct ip'});}
}
unless(defined(&IFF_ES)) {
    sub IFF_ES () {	0x400;}
}
unless(defined(&IFF_IS)) {
    sub IFF_IS () {	0x800;}
}
undef(&IncStat) if defined(&IncStat);
unless(defined(&IncStat)) {
    sub IncStat {
	local($xxx) = @_;
	eval q( ($eonstat->{xxx})++);
    }
}
unless(defined(&el_iphdr)) {
    sub el_iphdr () {	 ($el_ei->{ei_ip});}
}
unless(defined(&el_eonhdr)) {
    sub el_eonhdr () {	 ($el_ei->{ei_eh});}
}
if(defined(&_KERNEL)) {
}
1;
