require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_SOCKIO_H_)) {
    eval 'sub _SYS_SOCKIO_H_ () {1;}' unless defined(&_SYS_SOCKIO_H_);
    require 'sys/ioccom.ph';
    eval 'sub SIOCSHIWAT () { &_IOW(ord(\'s\'), 0, \'int\');}' unless defined(&SIOCSHIWAT);
    eval 'sub SIOCGHIWAT () { &_IOR(ord(\'s\'), 1, \'int\');}' unless defined(&SIOCGHIWAT);
    eval 'sub SIOCSLOWAT () { &_IOW(ord(\'s\'), 2, \'int\');}' unless defined(&SIOCSLOWAT);
    eval 'sub SIOCGLOWAT () { &_IOR(ord(\'s\'), 3, \'int\');}' unless defined(&SIOCGLOWAT);
    eval 'sub SIOCATMARK () { &_IOR(ord(\'s\'), 7, \'int\');}' unless defined(&SIOCATMARK);
    eval 'sub SIOCSPGRP () { &_IOW(ord(\'s\'), 8, \'int\');}' unless defined(&SIOCSPGRP);
    eval 'sub SIOCGPGRP () { &_IOR(ord(\'s\'), 9, \'int\');}' unless defined(&SIOCGPGRP);
    eval 'sub SIOCPEELOFF () { &_IOWR(ord(\'s\'), 10, \'int\');}' unless defined(&SIOCPEELOFF);
    eval 'sub SIOCADDRT () { &_IOW(ord(\'r\'), 10, \'struct ortentry\');}' unless defined(&SIOCADDRT);
    eval 'sub SIOCDELRT () { &_IOW(ord(\'r\'), 11, \'struct ortentry\');}' unless defined(&SIOCDELRT);
    eval 'sub SIOCSIFADDR () { &_IOW(ord(\'i\'), 12, \'struct ifreq\');}' unless defined(&SIOCSIFADDR);
    eval 'sub SIOCGIFADDR () { &_IOWR(ord(\'i\'), 33, \'struct ifreq\');}' unless defined(&SIOCGIFADDR);
    eval 'sub SIOCSIFDSTADDR () { &_IOW(ord(\'i\'), 14, \'struct ifreq\');}' unless defined(&SIOCSIFDSTADDR);
    eval 'sub SIOCGIFDSTADDR () { &_IOWR(ord(\'i\'), 34, \'struct ifreq\');}' unless defined(&SIOCGIFDSTADDR);
    eval 'sub SIOCSIFFLAGS () { &_IOW(ord(\'i\'), 16, \'struct ifreq\');}' unless defined(&SIOCSIFFLAGS);
    eval 'sub SIOCGIFFLAGS () { &_IOWR(ord(\'i\'), 17, \'struct ifreq\');}' unless defined(&SIOCGIFFLAGS);
    eval 'sub SIOCGIFBRDADDR () { &_IOWR(ord(\'i\'), 35, \'struct ifreq\');}' unless defined(&SIOCGIFBRDADDR);
    eval 'sub SIOCSIFBRDADDR () { &_IOW(ord(\'i\'), 19, \'struct ifreq\');}' unless defined(&SIOCSIFBRDADDR);
    eval 'sub SIOCGIFCONF () { &_IOWR(ord(\'i\'), 38, \'struct ifconf\');}' unless defined(&SIOCGIFCONF);
    eval 'sub SIOCGIFNETMASK () { &_IOWR(ord(\'i\'), 37, \'struct ifreq\');}' unless defined(&SIOCGIFNETMASK);
    eval 'sub SIOCSIFNETMASK () { &_IOW(ord(\'i\'), 22, \'struct ifreq\');}' unless defined(&SIOCSIFNETMASK);
    eval 'sub SIOCGIFMETRIC () { &_IOWR(ord(\'i\'), 23, \'struct ifreq\');}' unless defined(&SIOCGIFMETRIC);
    eval 'sub SIOCSIFMETRIC () { &_IOW(ord(\'i\'), 24, \'struct ifreq\');}' unless defined(&SIOCSIFMETRIC);
    eval 'sub SIOCDIFADDR () { &_IOW(ord(\'i\'), 25, \'struct ifreq\');}' unless defined(&SIOCDIFADDR);
    eval 'sub SIOCAIFADDR () { &_IOW(ord(\'i\'), 26, \'struct ifaliasreq\');}' unless defined(&SIOCAIFADDR);
    eval 'sub SIOCGIFALIAS () { &_IOWR(ord(\'i\'), 27, \'struct ifaliasreq\');}' unless defined(&SIOCGIFALIAS);
    eval 'sub SIOCGIFAFLAG_IN () { &_IOWR(ord(\'i\'), 39, \'struct ifreq\');}' unless defined(&SIOCGIFAFLAG_IN);
    eval 'sub SIOCALIFADDR () { &_IOW(ord(\'i\'), 28, \'struct if_laddrreq\');}' unless defined(&SIOCALIFADDR);
    eval 'sub SIOCGLIFADDR () { &_IOWR(ord(\'i\'), 29, \'struct if_laddrreq\');}' unless defined(&SIOCGLIFADDR);
    eval 'sub SIOCDLIFADDR () { &_IOW(ord(\'i\'), 30, \'struct if_laddrreq\');}' unless defined(&SIOCDLIFADDR);
    eval 'sub SIOCSIFADDRPREF () { &_IOW(ord(\'i\'), 31, \'struct if_addrprefreq\');}' unless defined(&SIOCSIFADDRPREF);
    eval 'sub SIOCGIFADDRPREF () { &_IOWR(ord(\'i\'), 32, \'struct if_addrprefreq\');}' unless defined(&SIOCGIFADDRPREF);
    eval 'sub SIOCADDMULTI () { &_IOW(ord(\'i\'), 49, \'struct ifreq\');}' unless defined(&SIOCADDMULTI);
    eval 'sub SIOCDELMULTI () { &_IOW(ord(\'i\'), 50, \'struct ifreq\');}' unless defined(&SIOCDELMULTI);
    eval 'sub SIOCGETVIFCNT () { &_IOWR(ord(\'u\'), 51, \'struct sioc_vif_req\');}' unless defined(&SIOCGETVIFCNT);
    eval 'sub SIOCGETSGCNT () { &_IOWR(ord(\'u\'), 52, \'struct sioc_sg_req\');}' unless defined(&SIOCGETSGCNT);
    eval 'sub SIOCSIFMEDIA () { &_IOWR(ord(\'i\'), 55, \'struct ifreq\');}' unless defined(&SIOCSIFMEDIA);
    eval 'sub SIOCGIFMEDIA () { &_IOWR(ord(\'i\'), 56, \'struct ifmediareq\');}' unless defined(&SIOCGIFMEDIA);
    eval 'sub SIOCSIFGENERIC () { &_IOW(ord(\'i\'), 57, \'struct ifreq\');}' unless defined(&SIOCSIFGENERIC);
    eval 'sub SIOCGIFGENERIC () { &_IOWR(ord(\'i\'), 58, \'struct ifreq\');}' unless defined(&SIOCGIFGENERIC);
    eval 'sub SIOCSIFPHYADDR () { &_IOW(ord(\'i\'), 70, \'struct ifaliasreq\');}' unless defined(&SIOCSIFPHYADDR);
    eval 'sub SIOCGIFPSRCADDR () { &_IOWR(ord(\'i\'), 71, \'struct ifreq\');}' unless defined(&SIOCGIFPSRCADDR);
    eval 'sub SIOCGIFPDSTADDR () { &_IOWR(ord(\'i\'), 72, \'struct ifreq\');}' unless defined(&SIOCGIFPDSTADDR);
    eval 'sub SIOCDIFPHYADDR () { &_IOW(ord(\'i\'), 73, \'struct ifreq\');}' unless defined(&SIOCDIFPHYADDR);
    eval 'sub SIOCSLIFPHYADDR () { &_IOW(ord(\'i\'), 74, \'struct if_laddrreq\');}' unless defined(&SIOCSLIFPHYADDR);
    eval 'sub SIOCGLIFPHYADDR () { &_IOWR(ord(\'i\'), 75, \'struct if_laddrreq\');}' unless defined(&SIOCGLIFPHYADDR);
    eval 'sub SIOCSIFMTU () { &_IOW(ord(\'i\'), 127, \'struct ifreq\');}' unless defined(&SIOCSIFMTU);
    eval 'sub SIOCGIFMTU () { &_IOWR(ord(\'i\'), 126, \'struct ifreq\');}' unless defined(&SIOCGIFMTU);
    eval 'sub SIOCSDRVSPEC () { &_IOW(ord(\'i\'), 123, \'struct ifdrv\');}' unless defined(&SIOCSDRVSPEC);
    eval 'sub SIOCGDRVSPEC () { &_IOWR(ord(\'i\'), 123, \'struct ifdrv\');}' unless defined(&SIOCGDRVSPEC);
    eval 'sub SIOCIFCREATE () { &_IOW(ord(\'i\'), 122, \'struct ifreq\');}' unless defined(&SIOCIFCREATE);
    eval 'sub SIOCIFDESTROY () { &_IOW(ord(\'i\'), 121, \'struct ifreq\');}' unless defined(&SIOCIFDESTROY);
    eval 'sub SIOCIFGCLONERS () { &_IOWR(ord(\'i\'), 120, \'struct if_clonereq\');}' unless defined(&SIOCIFGCLONERS);
    eval 'sub SIOCGIFDLT () { &_IOWR(ord(\'i\'), 119, \'struct ifreq\');}' unless defined(&SIOCGIFDLT);
    eval 'sub SIOCGIFCAP () { &_IOWR(ord(\'i\'), 118, \'struct ifcapreq\');}' unless defined(&SIOCGIFCAP);
    eval 'sub SIOCSIFCAP () { &_IOW(ord(\'i\'), 117, \'struct ifcapreq\');}' unless defined(&SIOCSIFCAP);
    eval 'sub SIOCSVH () { &_IOWR(ord(\'i\'), 130, \'struct ifreq\');}' unless defined(&SIOCSVH);
    eval 'sub SIOCGVH () { &_IOWR(ord(\'i\'), 131, \'struct ifreq\');}' unless defined(&SIOCGVH);
    eval 'sub SIOCINITIFADDR () { &_IOWR(ord(\'i\'), 132, \'struct ifaddr\');}' unless defined(&SIOCINITIFADDR);
    eval 'sub SIOCGIFDATA () { &_IOWR(ord(\'i\'), 133, \'struct ifdatareq\');}' unless defined(&SIOCGIFDATA);
    eval 'sub SIOCZIFDATA () { &_IOWR(ord(\'i\'), 134, \'struct ifdatareq\');}' unless defined(&SIOCZIFDATA);
    eval 'sub SIOCGLINKSTR () { &_IOWR(ord(\'i\'), 135, \'struct ifdrv\');}' unless defined(&SIOCGLINKSTR);
    eval 'sub SIOCSLINKSTR () { &_IOW(ord(\'i\'), 136, \'struct ifdrv\');}' unless defined(&SIOCSLINKSTR);
    eval 'sub SIOCGETHERCAP () { &_IOWR(ord(\'i\'), 139, \'struct eccapreq\');}' unless defined(&SIOCGETHERCAP);
    eval 'sub SIOCGIFINDEX () { &_IOWR(ord(\'i\'), 140, \'struct ifreq\');}' unless defined(&SIOCGIFINDEX);
    eval 'sub SIOCSETHERCAP () { &_IOW(ord(\'i\'), 141, \'struct eccapreq\');}' unless defined(&SIOCSETHERCAP);
    eval 'sub SIOCSIFDESCR () { &_IOW(ord(\'i\'), 142, \'struct ifreq\');}' unless defined(&SIOCSIFDESCR);
    eval 'sub SIOCGIFDESCR () { &_IOWR(ord(\'i\'), 143, \'struct ifreq\');}' unless defined(&SIOCGIFDESCR);
    eval 'sub SIOCGUMBINFO () { &_IOWR(ord(\'i\'), 190, \'struct ifreq\');}' unless defined(&SIOCGUMBINFO);
    eval 'sub SIOCSUMBPARAM () { &_IOW(ord(\'i\'), 191, \'struct ifreq\');}' unless defined(&SIOCSUMBPARAM);
    eval 'sub SIOCGUMBPARAM () { &_IOWR(ord(\'i\'), 192, \'struct ifreq\');}' unless defined(&SIOCGUMBPARAM);
    eval 'sub SIOCSETPFSYNC () { &_IOW(ord(\'i\'), 247, \'struct ifreq\');}' unless defined(&SIOCSETPFSYNC);
    eval 'sub SIOCGETPFSYNC () { &_IOWR(ord(\'i\'), 248, \'struct ifreq\');}' unless defined(&SIOCGETPFSYNC);
    eval 'sub SIOCGNBRINFO () { &_IOWR(ord(\'i\'), 249, \'struct in_nbrinfo\');}' unless defined(&SIOCGNBRINFO);
}
1;
