require '_h2ph_pre.ph';

unless(defined(&_ATMLEC_H_)) {
    eval 'sub _ATMLEC_H_ () {1;}' unless defined(&_ATMLEC_H_);
    require 'linux/atmapi.ph';
    require 'linux/atmioc.ph';
    require 'linux/atm.ph';
    require 'linux/if_ether.ph';
    eval 'sub ATMLEC_CTRL () { &_IO(ord(\'a\'), &ATMIOC_LANE);}' unless defined(&ATMLEC_CTRL);
    eval 'sub ATMLEC_DATA () { &_IO(ord(\'a\'), &ATMIOC_LANE+1);}' unless defined(&ATMLEC_DATA);
    eval 'sub ATMLEC_MCAST () { &_IO(ord(\'a\'), &ATMIOC_LANE+2);}' unless defined(&ATMLEC_MCAST);
    eval 'sub MAX_LEC_ITF () {48;}' unless defined(&MAX_LEC_ITF);
    eval 'sub NUM_TR_DEVS () {8;}' unless defined(&NUM_TR_DEVS);
    eval("sub l_set_mac_addr () { 0; }") unless defined(&l_set_mac_addr);
    eval("sub l_del_mac_addr () { 1; }") unless defined(&l_del_mac_addr);
    eval("sub l_svc_setup () { 2; }") unless defined(&l_svc_setup);
    eval("sub l_addr_delete () { 3; }") unless defined(&l_addr_delete);
    eval("sub l_topology_change () { 4; }") unless defined(&l_topology_change);
    eval("sub l_flush_complete () { 5; }") unless defined(&l_flush_complete);
    eval("sub l_arp_update () { 6; }") unless defined(&l_arp_update);
    eval("sub l_narp_req () { 7; }") unless defined(&l_narp_req);
    eval("sub l_config () { 8; }") unless defined(&l_config);
    eval("sub l_flush_tran_id () { 9; }") unless defined(&l_flush_tran_id);
    eval("sub l_set_lecid () { 10; }") unless defined(&l_set_lecid);
    eval("sub l_arp_xmt () { 11; }") unless defined(&l_arp_xmt);
    eval("sub l_rdesc_arp_xmt () { 12; }") unless defined(&l_rdesc_arp_xmt);
    eval("sub l_associate_req () { 13; }") unless defined(&l_associate_req);
    eval("sub l_should_bridge () { 14; }") unless defined(&l_should_bridge);
    eval 'sub ATMLEC_MSG_TYPE_MAX () { &l_should_bridge;}' unless defined(&ATMLEC_MSG_TYPE_MAX);
}
1;
