require '_h2ph_pre.ph';

unless(defined(&_LINUX_IF_ARCNET_H)) {
    eval 'sub _LINUX_IF_ARCNET_H () {1;}' unless defined(&_LINUX_IF_ARCNET_H);
    require 'linux/if_ether.ph';
    eval 'sub ARC_P_IP () {212;}' unless defined(&ARC_P_IP);
    eval 'sub ARC_P_ARP () {213;}' unless defined(&ARC_P_ARP);
    eval 'sub ARC_P_RARP () {214;}' unless defined(&ARC_P_RARP);
    eval 'sub ARC_P_IPX () {250;}' unless defined(&ARC_P_IPX);
    eval 'sub ARC_P_NOVELL_EC () {236;}' unless defined(&ARC_P_NOVELL_EC);
    eval 'sub ARC_P_IP_RFC1051 () {240;}' unless defined(&ARC_P_IP_RFC1051);
    eval 'sub ARC_P_ARP_RFC1051 () {241;}' unless defined(&ARC_P_ARP_RFC1051);
    eval 'sub ARC_P_ETHER () {232;}' unless defined(&ARC_P_ETHER);
    eval 'sub ARC_P_DATAPOINT_BOOT () {0;}' unless defined(&ARC_P_DATAPOINT_BOOT);
    eval 'sub ARC_P_DATAPOINT_MOUNT () {1;}' unless defined(&ARC_P_DATAPOINT_MOUNT);
    eval 'sub ARC_P_POWERLAN_BEACON () {8;}' unless defined(&ARC_P_POWERLAN_BEACON);
    eval 'sub ARC_P_POWERLAN_BEACON2 () {243;}' unless defined(&ARC_P_POWERLAN_BEACON2);
    eval 'sub ARC_P_LANSOFT () {251;}' unless defined(&ARC_P_LANSOFT);
    eval 'sub ARC_P_ATALK () {0xdd;}' unless defined(&ARC_P_ATALK);
    eval 'sub RFC1201_HDR_SIZE () {4;}' unless defined(&RFC1201_HDR_SIZE);
    eval 'sub RFC1051_HDR_SIZE () {1;}' unless defined(&RFC1051_HDR_SIZE);
    eval 'sub ETH_ENCAP_HDR_SIZE () {14;}' unless defined(&ETH_ENCAP_HDR_SIZE);
    eval 'sub ARC_HDR_SIZE () {4;}' unless defined(&ARC_HDR_SIZE);
}
1;
