#include #include #include #include #include #include #include #include #define C(x) \ printf("%lx\t%s\n", (x), #x); int main () { C(SIOCSHIWAT ); C(SIOCGHIWAT ); C(SIOCSLOWAT ); C(SIOCGLOWAT ); C(SIOCATMARK ); C(SIOCSPGRP ); C(SIOCGPGRP ); C(SIOCADDRT ); C(SIOCDELRT ); C(SIOCGETVIFCNT ); C(SIOCGETSGCNT ); C(SIOCSIFADDR ); C(OSIOCGIFADDR ); C(SIOCGIFADDR ); C(SIOCSIFDSTADDR ); C(OSIOCGIFDSTADDR ); C(SIOCGIFDSTADDR ); C(SIOCSIFFLAGS ); C(SIOCGIFFLAGS ); C(OSIOCGIFBRDADDR ); C(SIOCGIFBRDADDR ); C(SIOCSIFBRDADDR ); C(OSIOCGIFCONF ); C(SIOCGIFCONF ); C(OSIOCGIFNETMASK ); C(SIOCGIFNETMASK ); C(SIOCSIFNETMASK ); C(SIOCGIFMETRIC ); C(SIOCSIFMETRIC ); C(SIOCDIFADDR ); C(SIOCAIFADDR ); C(SIOCALIFADDR ); C(SIOCGLIFADDR ); C(SIOCDLIFADDR ); C(SIOCSIFCAP ); C(SIOCGIFCAP ); C(SIOCGIFINDEX ); C(SIOCGIFMAC ); C(SIOCSIFMAC ); C(SIOCSIFNAME ); C(SIOCADDMULTI ); C(SIOCDELMULTI ); C(SIOCGIFMTU ); C(SIOCSIFMTU ); C(SIOCGIFPHYS ); C(SIOCSIFPHYS ); C(SIOCSIFMEDIA ); C(SIOCGIFMEDIA ); C(SIOCSIFGENERIC ); C(SIOCGIFGENERIC ); C(SIOCGIFSTATUS ); C(SIOCSIFLLADDR ); C(SIOCSIFPHYADDR ); C(SIOCGIFPSRCADDR ); C(SIOCGIFPDSTADDR ); C(SIOCDIFPHYADDR ); C(SIOCSLIFPHYADDR ); C(SIOCGLIFPHYADDR ); C(SIOCGPRIVATE_0 ); C(SIOCGPRIVATE_1 ); C(SIOCSDRVSPEC ); C(SIOCGDRVSPEC ); C(SIOCIFCREATE ); C(SIOCIFDESTROY ); C(SIOCIFGCLONERS ); C(SIOCAIFGROUP ); C(SIOCGIFGROUP ); C(SIOCDIFGROUP ); C(SIOCGIFGMEMB ); }