require '_h2ph_pre.ph';

unless(defined(&_LINUX_IF_TR_H)) {
    eval 'sub _LINUX_IF_TR_H () {1;}' unless defined(&_LINUX_IF_TR_H);
    eval 'sub TR_ALEN () {6;}' unless defined(&TR_ALEN);
    eval 'sub TR_HLEN () {($sizeof{\'struct trh_hdr\'}+$sizeof{\'struct trllc\'});}' unless defined(&TR_HLEN);
    eval 'sub AC () {0x10;}' unless defined(&AC);
    eval 'sub LLC_FRAME () {0x40;}' unless defined(&LLC_FRAME);
    if(0) {
	eval 'sub ETH_HLEN () {14;}' unless defined(&ETH_HLEN);
	eval 'sub ETH_ZLEN () {60;}' unless defined(&ETH_ZLEN);
	eval 'sub ETH_DATA_LEN () {1500;}' unless defined(&ETH_DATA_LEN);
	eval 'sub ETH_FRAME_LEN () {1514;}' unless defined(&ETH_FRAME_LEN);
    }
    eval 'sub EXTENDED_SAP () {0xaa;}' unless defined(&EXTENDED_SAP);
    eval 'sub UI_CMD () {0x3;}' unless defined(&UI_CMD);
    eval 'sub TR_RII () {0x80;}' unless defined(&TR_RII);
    eval 'sub TR_RCF_DIR_BIT () {0x80;}' unless defined(&TR_RCF_DIR_BIT);
    eval 'sub TR_RCF_LEN_MASK () {0x1f00;}' unless defined(&TR_RCF_LEN_MASK);
    eval 'sub TR_RCF_BROADCAST () {0x8000;}' unless defined(&TR_RCF_BROADCAST);
    eval 'sub TR_RCF_LIMITED_BROADCAST () {0xc000;}' unless defined(&TR_RCF_LIMITED_BROADCAST);
    eval 'sub TR_RCF_FRAME2K () {0x20;}' unless defined(&TR_RCF_FRAME2K);
    eval 'sub TR_RCF_BROADCAST_MASK () {0xc000;}' unless defined(&TR_RCF_BROADCAST_MASK);
    eval 'sub TR_MAXRIFLEN () {18;}' unless defined(&TR_MAXRIFLEN);
}
1;
