require '_h2ph_pre.ph';

unless(defined(&_LINUX_ATMARP_H)) {
    eval 'sub _LINUX_ATMARP_H () {1;}' unless defined(&_LINUX_ATMARP_H);
    require 'linux/atmapi.ph';
    require 'linux/atmioc.ph';
    eval 'sub ATMARP_RETRY_DELAY () {30;}' unless defined(&ATMARP_RETRY_DELAY);
    eval 'sub ATMARP_MAX_UNRES_PACKETS () {5;}' unless defined(&ATMARP_MAX_UNRES_PACKETS);
    eval 'sub ATMARPD_CTRL () { &_IO(ord(\'a\'), &ATMIOC_CLIP+1);}' unless defined(&ATMARPD_CTRL);
    eval 'sub ATMARP_MKIP () { &_IO(ord(\'a\'), &ATMIOC_CLIP+2);}' unless defined(&ATMARP_MKIP);
    eval 'sub ATMARP_SETENTRY () { &_IO(ord(\'a\'), &ATMIOC_CLIP+3);}' unless defined(&ATMARP_SETENTRY);
    eval 'sub ATMARP_ENCAP () { &_IO(ord(\'a\'), &ATMIOC_CLIP+5);}' unless defined(&ATMARP_ENCAP);
    eval("sub act_invalid () { 0; }") unless defined(&act_invalid);
    eval("sub act_need () { 1; }") unless defined(&act_need);
    eval("sub act_up () { 2; }") unless defined(&act_up);
    eval("sub act_down () { 3; }") unless defined(&act_down);
    eval("sub act_change () { 4; }") unless defined(&act_change);
}
1;
