require '_h2ph_pre.ph';

require 'machine/endian.ph';
unless(defined(&SNPAC_AGE)) {
    sub SNPAC_AGE () {	60;}
}
unless(defined(&ESIS_CONFIG)) {
    sub ESIS_CONFIG () {	60;}
}
unless(defined(&ESIS_HT)) {
    sub ESIS_HT () {	( &ESIS_CONFIG * 2);}
}
unless(defined(&ESIS_ESH)) {
    sub ESIS_ESH () {	0x2;}
}
unless(defined(&ESIS_ISH)) {
    sub ESIS_ISH () {	0x4;}
}
unless(defined(&ESIS_RD)) {
    sub ESIS_RD () {	0x6;}
}
unless(defined(&ESISOVAL_NETMASK)) {
    sub ESISOVAL_NETMASK () {	0xe1;}
}
unless(defined(&ESISOVAL_SNPAMASK)) {
    sub ESISOVAL_SNPAMASK () {	0xe2;}
}
unless(defined(&ESISOVAL_ESCT)) {
    sub ESISOVAL_ESCT () {	0xc6;}
}
unless(defined(&ESIS_CKSUM_OFF)) {
    sub ESIS_CKSUM_OFF () {	0x7;}
}
unless(defined(&ESIS_CKSUM_REQUIRED)) {
    sub ESIS_CKSUM_REQUIRED {
	local($pdu) = @_;
	eval q((( ($pdu->{esis_cksum_msb}) != 0) || ( ($pdu->{esis_cksum_lsb}) != 0)));
    }
}
unless(defined(&ESIS_VERSION)) {
    sub ESIS_VERSION () {	1;}
}
if(defined(&_KERNEL)) {
}
1;
