require '_h2ph_pre.ph';

unless(defined(&LINUX_ATM_NICSTAR_H)) {
    eval 'sub LINUX_ATM_NICSTAR_H () {1;}' unless defined(&LINUX_ATM_NICSTAR_H);
    require 'linux/atmapi.ph';
    require 'linux/atmioc.ph';
    eval 'sub NS_GETPSTAT () { &_IOWR(ord(\'a\'), &ATMIOC_SARPRV+1,\'struct atmif_sioc\');}' unless defined(&NS_GETPSTAT);
    eval 'sub NS_SETBUFLEV () { &_IOW(ord(\'a\'), &ATMIOC_SARPRV+2,\'struct atmif_sioc\');}' unless defined(&NS_SETBUFLEV);
    eval 'sub NS_ADJBUFLEV () { &_IO(ord(\'a\'), &ATMIOC_SARPRV+3);}' unless defined(&NS_ADJBUFLEV);
    eval 'sub NS_BUFTYPE_SMALL () {1;}' unless defined(&NS_BUFTYPE_SMALL);
    eval 'sub NS_BUFTYPE_LARGE () {2;}' unless defined(&NS_BUFTYPE_LARGE);
    eval 'sub NS_BUFTYPE_HUGE () {3;}' unless defined(&NS_BUFTYPE_HUGE);
    eval 'sub NS_BUFTYPE_IOVEC () {4;}' unless defined(&NS_BUFTYPE_IOVEC);
}
1;
