Created
November 8, 2017 19:04
-
-
Save khanzf/371113443c6a7d8d2a350156f9b5b9f3 to your computer and use it in GitHub Desktop.
Ugly code prints network ioctl values for tracing the kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile as follows: | |
// cc -Wno-everything ioctls.c -o ~/ioctls && echo Wow it actually compiled! | |
#include <net/if.h> | |
#include <sys/types.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <net/if_var.h> | |
#include <netinet/in.h> | |
#include <netinet/ip_mroute.h> | |
#include <net/if.h> | |
#include <sys/sockio.h> | |
#include <net80211/ieee80211_ioctl.h> | |
int main() { | |
// printf("_SYS_SOCKIO_H_\t0x%x\n",_SYS_SOCKIO_H_); | |
printf("SIOCSHIWAT\t0x%x\n",SIOCSHIWAT); | |
printf("SIOCGHIWAT\t0x%x\n",SIOCGHIWAT); | |
printf("SIOCSLOWAT\t0x%x\n",SIOCSLOWAT); | |
printf("SIOCGLOWAT\t0x%x\n",SIOCGLOWAT); | |
printf("SIOCATMARK\t0x%x\n",SIOCATMARK); | |
printf("SIOCSPGRP\t0x%x\n",SIOCSPGRP); | |
printf("SIOCGPGRP\t0x%x\n",SIOCGPGRP); | |
printf("SIOCGETVIFCNT\t0x%x\n",SIOCGETVIFCNT); | |
printf("SIOCGETSGCNT\t0x%x\n",SIOCGETSGCNT); | |
printf("SIOCSIFADDR\t0x%x\n",SIOCSIFADDR); | |
printf("SIOCGIFADDR\t0x%x\n",SIOCGIFADDR); | |
printf("SIOCSIFDSTADDR\t0x%x\n",SIOCSIFDSTADDR); | |
printf("SIOCGIFDSTADDR\t0x%x\n",SIOCGIFDSTADDR); | |
printf("SIOCSIFFLAGS\t0x%x\n",SIOCSIFFLAGS); | |
printf("SIOCGIFFLAGS\t0x%x\n",SIOCGIFFLAGS); | |
printf("SIOCGIFBRDADDR\t0x%x\n",SIOCGIFBRDADDR); | |
printf("SIOCSIFBRDADDR\t0x%x\n",SIOCSIFBRDADDR); | |
printf("SIOCGIFCONF\t0x%x\n",SIOCGIFCONF); | |
printf("SIOCGIFNETMASK\t0x%x\n",SIOCGIFNETMASK); | |
printf("SIOCSIFNETMASK\t0x%x\n",SIOCSIFNETMASK); | |
printf("SIOCGIFMETRIC\t0x%x\n",SIOCGIFMETRIC); | |
printf("SIOCSIFMETRIC\t0x%x\n",SIOCSIFMETRIC); | |
printf("SIOCDIFADDR\t0x%x\n",SIOCDIFADDR); | |
printf("OSIOCAIFADDR\t0x%x\n",OSIOCAIFADDR); | |
printf("SIOCSIFCAP\t0x%x\n",SIOCSIFCAP); | |
printf("SIOCGIFCAP\t0x%x\n",SIOCGIFCAP); | |
printf("SIOCGIFINDEX\t0x%x\n",SIOCGIFINDEX); | |
printf("SIOCGIFMAC\t0x%x\n",SIOCGIFMAC); | |
printf("SIOCSIFMAC\t0x%x\n",SIOCSIFMAC); | |
printf("SIOCSIFNAME\t0x%x\n",SIOCSIFNAME); | |
printf("SIOCSIFDESCR\t0x%x\n",SIOCSIFDESCR); | |
printf("SIOCGIFDESCR\t0x%x\n",SIOCGIFDESCR); | |
printf("SIOCAIFADDR\t0x%x\n",SIOCAIFADDR); | |
printf("SIOCADDMULTI\t0x%x\n",SIOCADDMULTI); | |
printf("SIOCDELMULTI\t0x%x\n",SIOCDELMULTI); | |
printf("SIOCGIFMTU\t0x%x\n",SIOCGIFMTU); | |
printf("SIOCSIFMTU\t0x%x\n",SIOCSIFMTU); | |
printf("SIOCGIFPHYS\t0x%x\n",SIOCGIFPHYS); | |
printf("SIOCSIFPHYS\t0x%x\n",SIOCSIFPHYS); | |
printf("SIOCSIFMEDIA\t0x%x\n",SIOCSIFMEDIA); | |
printf("SIOCGIFMEDIA\t0x%x\n",SIOCGIFMEDIA); | |
printf("SIOCSIFGENERIC\t0x%x\n",SIOCSIFGENERIC); | |
printf("SIOCGIFGENERIC\t0x%x\n",SIOCGIFGENERIC); | |
printf("SIOCGIFSTATUS\t0x%x\n",SIOCGIFSTATUS); | |
printf("SIOCSIFLLADDR\t0x%x\n",SIOCSIFLLADDR); | |
printf("SIOCGI2C\t0x%x\n",SIOCGI2C); | |
printf("SIOCGHWADDR\t0x%x\n",SIOCGHWADDR); | |
printf("SIOCSIFPHYADDR\t0x%x\n",SIOCSIFPHYADDR); | |
printf("SIOCGIFPSRCADDR\t0x%x\n",SIOCGIFPSRCADDR); | |
printf("SIOCGIFPDSTADDR\t0x%x\n",SIOCGIFPDSTADDR); | |
printf("SIOCDIFPHYADDR\t0x%x\n",SIOCDIFPHYADDR); | |
printf("SIOCGPRIVATE_0\t0x%x\n",SIOCGPRIVATE_0); | |
printf("SIOCGPRIVATE_1\t0x%x\n",SIOCGPRIVATE_1); | |
printf("SIOCSIFVNET\t0x%x\n",SIOCSIFVNET); | |
printf("SIOCSIFRVNET\t0x%x\n",SIOCSIFRVNET); | |
printf("SIOCGIFFIB\t0x%x\n",SIOCGIFFIB); | |
printf("SIOCSIFFIB\t0x%x\n",SIOCSIFFIB); | |
printf("SIOCGTUNFIB\t0x%x\n",SIOCGTUNFIB); | |
printf("SIOCSTUNFIB\t0x%x\n",SIOCSTUNFIB); | |
printf("SIOCSDRVSPEC\t0x%x\n",SIOCSDRVSPEC); | |
printf("SIOCGDRVSPEC\t0x%x\n",SIOCGDRVSPEC); | |
printf("SIOCIFCREATE\t0x%x\n",SIOCIFCREATE); | |
printf("SIOCIFCREATE2\t0x%x\n",SIOCIFCREATE2); | |
printf("SIOCIFDESTROY\t0x%x\n",SIOCIFDESTROY); | |
printf("SIOCIFGCLONERS\t0x%x\n",SIOCIFGCLONERS); | |
printf("SIOCAIFGROUP\t0x%x\n",SIOCAIFGROUP); | |
printf("SIOCGIFGROUP\t0x%x\n",SIOCGIFGROUP); | |
printf("SIOCDIFGROUP\t0x%x\n",SIOCDIFGROUP); | |
printf("SIOCGIFGMEMB\t0x%x\n",SIOCGIFGMEMB); | |
printf("SIOCGIFXMEDIA\t0x%x\n",SIOCGIFXMEDIA); | |
printf("SIOCGIFRSSKEY\t0x%x\n",SIOCGIFRSSKEY); | |
printf("SIOCGIFRSSHASH\t0x%x\n",SIOCGIFRSSHASH); | |
//printf("_NET80211_IEEE80211_IOCTL_H_\t0x%x\n", _NET80211_IEEE80211_IOCTL_H_); | |
printf("IEEE80211_MAX_OPT_IE\t0x%x\n", IEEE80211_MAX_OPT_IE); | |
printf("IEEE80211_KEY_DEFAULT\t0x%x\n", IEEE80211_KEY_DEFAULT); | |
printf("IEEE80211_MLME_ASSOC\t0x%x\n", IEEE80211_MLME_ASSOC); | |
printf("IEEE80211_MLME_DISASSOC\t0x%x\n", IEEE80211_MLME_DISASSOC); | |
printf("IEEE80211_MLME_DEAUTH\t0x%x\n", IEEE80211_MLME_DEAUTH); | |
printf("IEEE80211_MLME_AUTHORIZE\t0x%x\n", IEEE80211_MLME_AUTHORIZE); | |
printf("IEEE80211_MLME_UNAUTHORIZE\t0x%x\n", IEEE80211_MLME_UNAUTHORIZE); | |
printf("IEEE80211_MLME_AUTH\t0x%x\n", IEEE80211_MLME_AUTH); | |
printf("IEEE80211_MESHRT_FLAGS_DISCOVER\t0x%x\n", IEEE80211_MESHRT_FLAGS_DISCOVER); | |
printf("IEEE80211_MESHRT_FLAGS_VALID\t0x%x\n", IEEE80211_MESHRT_FLAGS_VALID); | |
printf("IEEE80211_MESHRT_FLAGS_PROXY\t0x%x\n", IEEE80211_MESHRT_FLAGS_PROXY); | |
printf("IEEE80211_MESHRT_FLAGS_GATE\t0x%x\n", IEEE80211_MESHRT_FLAGS_GATE); | |
//printf("IEEE80211_CHANINFO_SIZE(_nchan)\t0x%x\n", IEEE80211_CHANINFO_SIZE(_nchan)); | |
//printf("IEEE80211_CHANINFO_SPACE(_ci)\t0x%x\n", IEEE80211_CHANINFO_SPACE(_ci)); | |
printf("IEEE80211_WMEPARAM_SELF\t0x%x\n", IEEE80211_WMEPARAM_SELF); | |
printf("IEEE80211_WMEPARAM_BSS\t0x%x\n", IEEE80211_WMEPARAM_BSS); | |
printf("IEEE80211_WMEPARAM_VAL\t0x%x\n", IEEE80211_WMEPARAM_VAL); | |
printf("IEEE80211_MAX_APPIE\t0x%x\n", IEEE80211_MAX_APPIE); | |
printf("IEEE80211_APPIE_WPA\t0x%x\n", IEEE80211_APPIE_WPA); | |
//printf("IEEE80211_REGDOMAIN_SIZE(_nchan)\t0x%x\n", IEEE80211_REGDOMAIN_SIZE(_nchan)); | |
//printf("IEEE80211_REGDOMAIN_SPACE(_req)\t0x%x\n", IEEE80211_REGDOMAIN_SPACE(_req)); | |
//printf("IEEE80211_DEVCAPS_SIZE(_nchan)\t0x%x\n", IEEE80211_DEVCAPS_SIZE(_nchan)); | |
//printf("IEEE80211_DEVCAPS_SPACE(_dc)\t0x%x\n", IEEE80211_DEVCAPS_SPACE(_dc)); | |
printf("SIOCS80211\t0x%x\n", SIOCS80211); | |
printf("SIOCG80211\t0x%x\n", SIOCG80211); | |
printf("SIOCG80211STATS\t0x%x\n", SIOCG80211STATS); | |
printf("IEEE80211_IOC_SSID\t0x%x\n", IEEE80211_IOC_SSID); | |
printf("IEEE80211_IOC_NUMSSIDS\t0x%x\n", IEEE80211_IOC_NUMSSIDS); | |
printf("IEEE80211_IOC_WEP\t0x%x\n", IEEE80211_IOC_WEP); | |
printf("IEEE80211_WEP_NOSUP\t0x%x\n", IEEE80211_WEP_NOSUP); | |
printf("IEEE80211_WEP_OFF\t0x%x\n", IEEE80211_WEP_OFF); | |
printf("IEEE80211_WEP_ON\t0x%x\n", IEEE80211_WEP_ON); | |
printf("IEEE80211_WEP_MIXED\t0x%x\n", IEEE80211_WEP_MIXED); | |
printf("IEEE80211_IOC_WEPKEY\t0x%x\n", IEEE80211_IOC_WEPKEY); | |
printf("IEEE80211_IOC_NUMWEPKEYS\t0x%x\n", IEEE80211_IOC_NUMWEPKEYS); | |
printf("IEEE80211_IOC_WEPTXKEY\t0x%x\n", IEEE80211_IOC_WEPTXKEY); | |
printf("IEEE80211_IOC_AUTHMODE\t0x%x\n", IEEE80211_IOC_AUTHMODE); | |
printf("IEEE80211_IOC_STATIONNAME\t0x%x\n", IEEE80211_IOC_STATIONNAME); | |
printf("IEEE80211_IOC_CHANNEL\t0x%x\n", IEEE80211_IOC_CHANNEL); | |
printf("IEEE80211_IOC_POWERSAVE\t0x%x\n", IEEE80211_IOC_POWERSAVE); | |
printf("IEEE80211_POWERSAVE_NOSUP\t0x%x\n", IEEE80211_POWERSAVE_NOSUP); | |
printf("IEEE80211_POWERSAVE_OFF\t0x%x\n", IEEE80211_POWERSAVE_OFF); | |
printf("IEEE80211_POWERSAVE_CAM\t0x%x\n", IEEE80211_POWERSAVE_CAM); | |
printf("IEEE80211_POWERSAVE_PSP\t0x%x\n", IEEE80211_POWERSAVE_PSP); | |
printf("IEEE80211_POWERSAVE_PSP_CAM\t0x%x\n", IEEE80211_POWERSAVE_PSP_CAM); | |
printf("IEEE80211_POWERSAVE_ON\t0x%x\n", IEEE80211_POWERSAVE_ON); | |
printf("IEEE80211_IOC_POWERSAVESLEEP\t0x%x\n", IEEE80211_IOC_POWERSAVESLEEP); | |
printf("IEEE80211_IOC_RTSTHRESHOLD\t0x%x\n", IEEE80211_IOC_RTSTHRESHOLD); | |
printf("IEEE80211_IOC_PROTMODE\t0x%x\n", IEEE80211_IOC_PROTMODE); | |
printf("IEEE80211_PROTMODE_OFF\t0x%x\n", IEEE80211_PROTMODE_OFF); | |
printf("IEEE80211_PROTMODE_CTS\t0x%x\n", IEEE80211_PROTMODE_CTS); | |
printf("IEEE80211_PROTMODE_RTSCTS\t0x%x\n", IEEE80211_PROTMODE_RTSCTS); | |
printf("IEEE80211_IOC_TXPOWER\t0x%x\n", IEEE80211_IOC_TXPOWER); | |
printf("IEEE80211_IOC_BSSID\t0x%x\n", IEEE80211_IOC_BSSID); | |
printf("IEEE80211_IOC_ROAMING\t0x%x\n", IEEE80211_IOC_ROAMING); | |
printf("IEEE80211_IOC_PRIVACY\t0x%x\n", IEEE80211_IOC_PRIVACY); | |
printf("IEEE80211_IOC_DROPUNENCRYPTED\t0x%x\n", IEEE80211_IOC_DROPUNENCRYPTED); | |
printf("IEEE80211_IOC_WPAKEY\t0x%x\n", IEEE80211_IOC_WPAKEY); | |
printf("IEEE80211_IOC_DELKEY\t0x%x\n", IEEE80211_IOC_DELKEY); | |
printf("IEEE80211_IOC_MLME\t0x%x\n", IEEE80211_IOC_MLME); | |
printf("IEEE80211_IOC_COUNTERMEASURES\t0x%x\n", IEEE80211_IOC_COUNTERMEASURES); | |
printf("IEEE80211_IOC_WPA\t0x%x\n", IEEE80211_IOC_WPA); | |
printf("IEEE80211_IOC_CHANLIST\t0x%x\n", IEEE80211_IOC_CHANLIST); | |
printf("IEEE80211_IOC_WME\t0x%x\n", IEEE80211_IOC_WME); | |
printf("IEEE80211_IOC_HIDESSID\t0x%x\n", IEEE80211_IOC_HIDESSID); | |
printf("IEEE80211_IOC_APBRIDGE\t0x%x\n", IEEE80211_IOC_APBRIDGE); | |
printf("IEEE80211_IOC_WPAIE\t0x%x\n", IEEE80211_IOC_WPAIE); | |
printf("IEEE80211_IOC_STA_STATS\t0x%x\n", IEEE80211_IOC_STA_STATS); | |
printf("IEEE80211_IOC_MACCMD\t0x%x\n", IEEE80211_IOC_MACCMD); | |
printf("IEEE80211_IOC_CHANINFO\t0x%x\n", IEEE80211_IOC_CHANINFO); | |
printf("IEEE80211_IOC_TXPOWMAX\t0x%x\n", IEEE80211_IOC_TXPOWMAX); | |
printf("IEEE80211_IOC_STA_TXPOW\t0x%x\n", IEEE80211_IOC_STA_TXPOW); | |
printf("IEEE80211_IOC_WME_CWMIN\t0x%x\n", IEEE80211_IOC_WME_CWMIN); | |
printf("IEEE80211_IOC_WME_CWMAX\t0x%x\n", IEEE80211_IOC_WME_CWMAX); | |
printf("IEEE80211_IOC_WME_AIFS\t0x%x\n", IEEE80211_IOC_WME_AIFS); | |
printf("IEEE80211_IOC_WME_TXOPLIMIT\t0x%x\n", IEEE80211_IOC_WME_TXOPLIMIT); | |
printf("IEEE80211_IOC_WME_ACM\t0x%x\n", IEEE80211_IOC_WME_ACM); | |
printf("IEEE80211_IOC_WME_ACKPOLICY\t0x%x\n", IEEE80211_IOC_WME_ACKPOLICY); | |
printf("IEEE80211_IOC_DTIM_PERIOD\t0x%x\n", IEEE80211_IOC_DTIM_PERIOD); | |
printf("IEEE80211_IOC_BEACON_INTERVAL\t0x%x\n", IEEE80211_IOC_BEACON_INTERVAL); | |
printf("IEEE80211_IOC_ADDMAC\t0x%x\n", IEEE80211_IOC_ADDMAC); | |
printf("IEEE80211_IOC_DELMAC\t0x%x\n", IEEE80211_IOC_DELMAC); | |
printf("IEEE80211_IOC_PUREG\t0x%x\n", IEEE80211_IOC_PUREG); | |
printf("IEEE80211_IOC_FF\t0x%x\n", IEEE80211_IOC_FF); | |
printf("IEEE80211_IOC_TURBOP\t0x%x\n", IEEE80211_IOC_TURBOP); | |
printf("IEEE80211_IOC_BGSCAN\t0x%x\n", IEEE80211_IOC_BGSCAN); | |
printf("IEEE80211_IOC_BGSCAN_IDLE\t0x%x\n", IEEE80211_IOC_BGSCAN_IDLE); | |
printf("IEEE80211_IOC_BGSCAN_INTERVAL\t0x%x\n", IEEE80211_IOC_BGSCAN_INTERVAL); | |
printf("IEEE80211_IOC_SCANVALID\t0x%x\n", IEEE80211_IOC_SCANVALID); | |
printf("IEEE80211_IOC_FRAGTHRESHOLD\t0x%x\n", IEEE80211_IOC_FRAGTHRESHOLD); | |
printf("IEEE80211_IOC_BURST\t0x%x\n", IEEE80211_IOC_BURST); | |
printf("IEEE80211_IOC_SCAN_RESULTS\t0x%x\n", IEEE80211_IOC_SCAN_RESULTS); | |
printf("IEEE80211_IOC_BMISSTHRESHOLD\t0x%x\n", IEEE80211_IOC_BMISSTHRESHOLD); | |
printf("IEEE80211_IOC_STA_INFO\t0x%x\n", IEEE80211_IOC_STA_INFO); | |
printf("IEEE80211_IOC_WPAIE2\t0x%x\n", IEEE80211_IOC_WPAIE2); | |
printf("IEEE80211_IOC_CURCHAN\t0x%x\n", IEEE80211_IOC_CURCHAN); | |
printf("IEEE80211_IOC_SHORTGI\t0x%x\n", IEEE80211_IOC_SHORTGI); | |
printf("IEEE80211_IOC_AMPDU\t0x%x\n", IEEE80211_IOC_AMPDU); | |
printf("IEEE80211_IOC_AMPDU_LIMIT\t0x%x\n", IEEE80211_IOC_AMPDU_LIMIT); | |
printf("IEEE80211_IOC_AMPDU_DENSITY\t0x%x\n", IEEE80211_IOC_AMPDU_DENSITY); | |
printf("IEEE80211_IOC_AMSDU\t0x%x\n", IEEE80211_IOC_AMSDU); | |
printf("IEEE80211_IOC_AMSDU_LIMIT\t0x%x\n", IEEE80211_IOC_AMSDU_LIMIT); | |
printf("IEEE80211_IOC_PUREN\t0x%x\n", IEEE80211_IOC_PUREN); | |
printf("IEEE80211_IOC_DOTH\t0x%x\n", IEEE80211_IOC_DOTH); | |
printf("IEEE80211_IOC_HTCOMPAT\t0x%x\n", IEEE80211_IOC_HTCOMPAT); | |
printf("IEEE80211_IOC_DWDS\t0x%x\n", IEEE80211_IOC_DWDS); | |
printf("IEEE80211_IOC_INACTIVITY\t0x%x\n", IEEE80211_IOC_INACTIVITY); | |
printf("IEEE80211_IOC_APPIE\t0x%x\n", IEEE80211_IOC_APPIE); | |
printf("IEEE80211_IOC_WPS\t0x%x\n", IEEE80211_IOC_WPS); | |
printf("IEEE80211_IOC_TSN\t0x%x\n", IEEE80211_IOC_TSN); | |
printf("IEEE80211_IOC_DEVCAPS\t0x%x\n", IEEE80211_IOC_DEVCAPS); | |
printf("IEEE80211_IOC_CHANSWITCH\t0x%x\n", IEEE80211_IOC_CHANSWITCH); | |
printf("IEEE80211_IOC_DFS\t0x%x\n", IEEE80211_IOC_DFS); | |
printf("IEEE80211_IOC_DOTD\t0x%x\n", IEEE80211_IOC_DOTD); | |
printf("IEEE80211_IOC_HTPROTMODE\t0x%x\n", IEEE80211_IOC_HTPROTMODE); | |
printf("IEEE80211_IOC_SCAN_REQ\t0x%x\n", IEEE80211_IOC_SCAN_REQ); | |
printf("IEEE80211_IOC_SCAN_CANCEL\t0x%x\n", IEEE80211_IOC_SCAN_CANCEL); | |
printf("IEEE80211_IOC_HTCONF\t0x%x\n", IEEE80211_IOC_HTCONF); | |
printf("IEEE80211_IOC_REGDOMAIN\t0x%x\n", IEEE80211_IOC_REGDOMAIN); | |
printf("IEEE80211_IOC_ROAM\t0x%x\n", IEEE80211_IOC_ROAM); | |
printf("IEEE80211_IOC_TXPARAMS\t0x%x\n", IEEE80211_IOC_TXPARAMS); | |
printf("IEEE80211_IOC_STA_VLAN\t0x%x\n", IEEE80211_IOC_STA_VLAN); | |
printf("IEEE80211_IOC_SMPS\t0x%x\n", IEEE80211_IOC_SMPS); | |
printf("IEEE80211_IOC_RIFS\t0x%x\n", IEEE80211_IOC_RIFS); | |
printf("IEEE80211_IOC_GREENFIELD\t0x%x\n", IEEE80211_IOC_GREENFIELD); | |
printf("IEEE80211_IOC_STBC\t0x%x\n", IEEE80211_IOC_STBC); | |
printf("IEEE80211_IOC_LDPC\t0x%x\n", IEEE80211_IOC_LDPC); | |
printf("IEEE80211_IOC_MESH_ID\t0x%x\n", IEEE80211_IOC_MESH_ID); | |
printf("IEEE80211_IOC_MESH_AP\t0x%x\n", IEEE80211_IOC_MESH_AP); | |
printf("IEEE80211_IOC_MESH_FWRD\t0x%x\n", IEEE80211_IOC_MESH_FWRD); | |
printf("IEEE80211_IOC_MESH_PROTO\t0x%x\n", IEEE80211_IOC_MESH_PROTO); | |
printf("IEEE80211_IOC_MESH_TTL\t0x%x\n", IEEE80211_IOC_MESH_TTL); | |
printf("IEEE80211_IOC_MESH_RTCMD\t0x%x\n", IEEE80211_IOC_MESH_RTCMD); | |
printf("IEEE80211_IOC_MESH_PR_METRIC\t0x%x\n", IEEE80211_IOC_MESH_PR_METRIC); | |
printf("IEEE80211_IOC_MESH_PR_PATH\t0x%x\n", IEEE80211_IOC_MESH_PR_PATH); | |
printf("IEEE80211_IOC_MESH_PR_SIG\t0x%x\n", IEEE80211_IOC_MESH_PR_SIG); | |
printf("IEEE80211_IOC_MESH_PR_CC\t0x%x\n", IEEE80211_IOC_MESH_PR_CC); | |
printf("IEEE80211_IOC_MESH_PR_AUTH\t0x%x\n", IEEE80211_IOC_MESH_PR_AUTH); | |
printf("IEEE80211_IOC_MESH_GATE\t0x%x\n", IEEE80211_IOC_MESH_GATE); | |
printf("IEEE80211_IOC_HWMP_ROOTMODE\t0x%x\n", IEEE80211_IOC_HWMP_ROOTMODE); | |
printf("IEEE80211_IOC_HWMP_MAXHOPS\t0x%x\n", IEEE80211_IOC_HWMP_MAXHOPS); | |
printf("IEEE80211_IOC_HWMP_TTL\t0x%x\n", IEEE80211_IOC_HWMP_TTL); | |
printf("IEEE80211_IOC_TDMA_SLOT\t0x%x\n", IEEE80211_IOC_TDMA_SLOT); | |
printf("IEEE80211_IOC_TDMA_SLOTCNT\t0x%x\n", IEEE80211_IOC_TDMA_SLOTCNT); | |
printf("IEEE80211_IOC_TDMA_SLOTLEN\t0x%x\n", IEEE80211_IOC_TDMA_SLOTLEN); | |
printf("IEEE80211_IOC_TDMA_BINTERVAL\t0x%x\n", IEEE80211_IOC_TDMA_BINTERVAL); | |
printf("IEEE80211_IOC_QUIET\t0x%x\n", IEEE80211_IOC_QUIET); | |
printf("IEEE80211_IOC_QUIET_PERIOD\t0x%x\n", IEEE80211_IOC_QUIET_PERIOD); | |
printf("IEEE80211_IOC_QUIET_OFFSET\t0x%x\n", IEEE80211_IOC_QUIET_OFFSET); | |
printf("IEEE80211_IOC_QUIET_DUR\t0x%x\n", IEEE80211_IOC_QUIET_DUR); | |
printf("IEEE80211_IOC_QUIET_COUNT\t0x%x\n", IEEE80211_IOC_QUIET_COUNT); | |
printf("IEEE80211_IOC_SCAN_NOPICK\t0x%x\n", IEEE80211_IOC_SCAN_NOPICK); | |
printf("IEEE80211_IOC_SCAN_ACTIVE\t0x%x\n", IEEE80211_IOC_SCAN_ACTIVE); | |
printf("IEEE80211_IOC_SCAN_PICK1ST\t0x%x\n", IEEE80211_IOC_SCAN_PICK1ST); | |
printf("IEEE80211_IOC_SCAN_BGSCAN\t0x%x\n", IEEE80211_IOC_SCAN_BGSCAN); | |
printf("IEEE80211_IOC_SCAN_ONCE\t0x%x\n", IEEE80211_IOC_SCAN_ONCE); | |
printf("IEEE80211_IOC_SCAN_NOBCAST\t0x%x\n", IEEE80211_IOC_SCAN_NOBCAST); | |
printf("IEEE80211_IOC_SCAN_NOJOIN\t0x%x\n", IEEE80211_IOC_SCAN_NOJOIN); | |
printf("IEEE80211_IOC_SCAN_FLUSH\t0x%x\n", IEEE80211_IOC_SCAN_FLUSH); | |
printf("IEEE80211_IOC_SCAN_CHECK\t0x%x\n", IEEE80211_IOC_SCAN_CHECK); | |
printf("IEEE80211_IOC_SCAN_DURATION_MIN\t0x%x\n", IEEE80211_IOC_SCAN_DURATION_MIN); | |
printf("IEEE80211_IOC_SCAN_DURATION_MAX\t0x%x\n", IEEE80211_IOC_SCAN_DURATION_MAX); | |
printf("IEEE80211_IOC_SCAN_FOREVER\t0x%x\n", IEEE80211_IOC_SCAN_FOREVER); | |
printf("IEEE80211_IOC_SCAN_MAX_SSID\t0x%x\n", IEEE80211_IOC_SCAN_MAX_SSID); | |
printf("IEEE80211_CLONE_BSSID\t0x%x\n", IEEE80211_CLONE_BSSID); | |
printf("IEEE80211_CLONE_NOBEACONS\t0x%x\n", IEEE80211_CLONE_NOBEACONS); | |
printf("IEEE80211_CLONE_WDSLEGACY\t0x%x\n", IEEE80211_CLONE_WDSLEGACY); | |
printf("IEEE80211_CLONE_MACADDR\t0x%x\n", IEEE80211_CLONE_MACADDR); | |
printf("IEEE80211_CLONE_TDMA\t0x%x\n", IEEE80211_CLONE_TDMA); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment