require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__AT_HEADER__)) {
    eval 'sub __AT_HEADER__ () {1;}' unless defined(&__AT_HEADER__);
    eval 'sub ATPROTO_DDP () {0;}' unless defined(&ATPROTO_DDP);
    eval 'sub ATPROTO_AARP () {254;}' unless defined(&ATPROTO_AARP);
    require 'net/ethertypes.ph';
    eval 'sub DDP_MAXSZ () {587;}' unless defined(&DDP_MAXSZ);
    eval 'sub AT_LLC_SIZE () {8;}' unless defined(&AT_LLC_SIZE);
    eval 'sub ATPORT_FIRST () {1;}' unless defined(&ATPORT_FIRST);
    eval 'sub ATPORT_RESERVED () {128;}' unless defined(&ATPORT_RESERVED);
    eval 'sub ATPORT_LAST () {255;}' unless defined(&ATPORT_LAST);
    eval 'sub ATADDR_ANYNET () {( &u_int16_t)0x;}' unless defined(&ATADDR_ANYNET);
    eval 'sub ATADDR_ANYNODE () {( &u_int8_t)0x;}' unless defined(&ATADDR_ANYNODE);
    eval 'sub ATADDR_ANYPORT () {( &u_int8_t)0x;}' unless defined(&ATADDR_ANYPORT);
    eval 'sub ATADDR_BCAST () {( &u_int8_t)0xff;}' unless defined(&ATADDR_BCAST);
    eval 'sub sat_zero () { ($sat_range->{r_zero});}' unless defined(&sat_zero);
    if(defined(&_KERNEL)) {
    }
}
1;
