Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
include /
linux /
[ HOME SHELL ]
Name
Size
Permission
Action
byteorder
[ DIR ]
drwxr-xr-x
can
[ DIR ]
drwxr-xr-x
dvb
[ DIR ]
drwxr-xr-x
hdlc
[ DIR ]
drwxr-xr-x
isdn
[ DIR ]
drwxr-xr-x
netfilter
[ DIR ]
drwxr-xr-x
netfilter_arp
[ DIR ]
drwxr-xr-x
netfilter_bridge
[ DIR ]
drwxr-xr-x
netfilter_ipv4
[ DIR ]
drwxr-xr-x
netfilter_ipv6
[ DIR ]
drwxr-xr-x
nfsd
[ DIR ]
drwxr-xr-x
raid
[ DIR ]
drwxr-xr-x
spi
[ DIR ]
drwxr-xr-x
sunrpc
[ DIR ]
drwxr-xr-x
tc_act
[ DIR ]
drwxr-xr-x
tc_ematch
[ DIR ]
drwxr-xr-x
usb
[ DIR ]
drwxr-xr-x
wimax
[ DIR ]
drwxr-xr-x
a.out.h
7.15
KB
-rw-r--r--
acct.h
3.41
KB
-rw-r--r--
adb.h
1.05
KB
-rw-r--r--
adfs_fs.h
856
B
-rw-r--r--
affs_hardblocks.h
1.45
KB
-rw-r--r--
agpgart.h
3.83
KB
-rw-r--r--
aio_abi.h
2.99
KB
-rw-r--r--
apm_bios.h
3.46
KB
-rw-r--r--
arcfb.h
150
B
-rw-r--r--
atalk.h
927
B
-rw-r--r--
atm.h
7.62
KB
-rw-r--r--
atm_eni.h
585
B
-rw-r--r--
atm_he.h
343
B
-rw-r--r--
atm_idt77105.h
892
B
-rw-r--r--
atm_nicstar.h
1.19
KB
-rw-r--r--
atm_tcp.h
1.5
KB
-rw-r--r--
atm_zatm.h
1.57
KB
-rw-r--r--
atmapi.h
889
B
-rw-r--r--
atmarp.h
1.2
KB
-rw-r--r--
atmbr2684.h
3.13
KB
-rw-r--r--
atmclip.h
513
B
-rw-r--r--
atmdev.h
7.42
KB
-rw-r--r--
atmioc.h
1.55
KB
-rw-r--r--
atmlec.h
2.5
KB
-rw-r--r--
atmmpc.h
4.07
KB
-rw-r--r--
atmppp.h
576
B
-rw-r--r--
atmsap.h
4.79
KB
-rw-r--r--
atmsvc.h
1.75
KB
-rw-r--r--
audit.h
15.51
KB
-rw-r--r--
auto_fs.h
2.29
KB
-rw-r--r--
auto_fs4.h
4.03
KB
-rw-r--r--
auxvec.h
1.35
KB
-rw-r--r--
ax25.h
2.69
KB
-rw-r--r--
b1lli.h
1.62
KB
-rw-r--r--
baycom.h
820
B
-rw-r--r--
bfs_fs.h
1.79
KB
-rw-r--r--
binfmts.h
565
B
-rw-r--r--
blk_types.h
6.94
KB
-rw-r--r--
blkpg.h
1.5
KB
-rw-r--r--
blktrace_api.h
4.37
KB
-rw-r--r--
bpqether.h
952
B
-rw-r--r--
bsg.h
2.33
KB
-rw-r--r--
can.h
3.25
KB
-rw-r--r--
capability.h
10.68
KB
-rw-r--r--
capi.h
2.99
KB
-rw-r--r--
cciss_ioctl.h
5.69
KB
-rw-r--r--
cdk.h
12.47
KB
-rw-r--r--
cdrom.h
27.47
KB
-rw-r--r--
cgroupstats.h
2.1
KB
-rw-r--r--
chio.h
5.16
KB
-rw-r--r--
cm4000_cs.h
1.68
KB
-rw-r--r--
cn_proc.h
2.65
KB
-rw-r--r--
coda.h
17.08
KB
-rw-r--r--
coda_psdev.h
679
B
-rw-r--r--
coff.h
12.12
KB
-rw-r--r--
comstats.h
3.05
KB
-rw-r--r--
connector.h
2.08
KB
-rw-r--r--
const.h
673
B
-rw-r--r--
cramfs_fs.h
2.86
KB
-rw-r--r--
cuda.h
769
B
-rw-r--r--
cyclades.h
16.65
KB
-rw-r--r--
cycx_cfm.h
2.86
KB
-rw-r--r--
dcbnl.h
21.6
KB
-rw-r--r--
dccp.h
5.66
KB
-rw-r--r--
dlm.h
2.47
KB
-rw-r--r--
dlm_device.h
2.42
KB
-rw-r--r--
dlm_netlink.h
1.04
KB
-rw-r--r--
dlm_plock.h
806
B
-rw-r--r--
dlmconstants.h
4.9
KB
-rw-r--r--
dm-ioctl.h
10.42
KB
-rw-r--r--
dm-log-userspace.h
14.82
KB
-rw-r--r--
dn.h
4.42
KB
-rw-r--r--
dqblk_xfs.h
6.79
KB
-rw-r--r--
edd.h
5.41
KB
-rw-r--r--
efs_fs_sb.h
2.11
KB
-rw-r--r--
elf-em.h
1.79
KB
-rw-r--r--
elf-fdpic.h
2.5
KB
-rw-r--r--
elf.h
10.97
KB
-rw-r--r--
elfcore.h
2.86
KB
-rw-r--r--
errno.h
79
B
-rw-r--r--
errqueue.h
443
B
-rw-r--r--
ethtool.h
33.37
KB
-rw-r--r--
eventpoll.h
1.3
KB
-rw-r--r--
ext2_fs.h
18.36
KB
-rw-r--r--
fadvise.h
779
B
-rw-r--r--
falloc.h
186
B
-rw-r--r--
fb.h
15.64
KB
-rw-r--r--
fcntl.h
1.5
KB
-rw-r--r--
fd.h
11.29
KB
-rw-r--r--
fdreg.h
5.23
KB
-rw-r--r--
fib_rules.h
1.42
KB
-rw-r--r--
fiemap.h
2.49
KB
-rw-r--r--
filter.h
3.45
KB
-rw-r--r--
firewire-cdev.h
24.47
KB
-rw-r--r--
firewire-constants.h
1.93
KB
-rw-r--r--
flat.h
2.04
KB
-rw-r--r--
fs.h
16.37
KB
-rw-r--r--
fuse.h
11.09
KB
-rw-r--r--
futex.h
4.79
KB
-rw-r--r--
gameport.h
816
B
-rw-r--r--
gen_stats.h
1.27
KB
-rw-r--r--
generic_serial.h
895
B
-rw-r--r--
genetlink.h
1.64
KB
-rw-r--r--
gfs2_ondisk.h
11.54
KB
-rw-r--r--
gigaset_dev.h
981
B
-rw-r--r--
hayesesp.h
230
B
-rw-r--r--
hdlc.h
574
B
-rw-r--r--
hdlcdrv.h
2.78
KB
-rw-r--r--
hdreg.h
22.11
KB
-rw-r--r--
hid.h
1.78
KB
-rw-r--r--
hiddev.h
6.12
KB
-rw-r--r--
hidraw.h
1.19
KB
-rw-r--r--
hpet.h
686
B
-rw-r--r--
hysdn_if.h
1.29
KB
-rw-r--r--
i2c-dev.h
2.35
KB
-rw-r--r--
i2c.h
6.48
KB
-rw-r--r--
i2o-dev.h
11.22
KB
-rw-r--r--
i8k.h
1.4
KB
-rw-r--r--
icmp.h
2.82
KB
-rw-r--r--
icmpv6.h
3.74
KB
-rw-r--r--
if.h
8.47
KB
-rw-r--r--
if_addr.h
1.42
KB
-rw-r--r--
if_addrlabel.h
658
B
-rw-r--r--
if_arcnet.h
3.63
KB
-rw-r--r--
if_arp.h
5.97
KB
-rw-r--r--
if_bonding.h
3.98
KB
-rw-r--r--
if_bridge.h
3.67
KB
-rw-r--r--
if_cablemodem.h
910
B
-rw-r--r--
if_ec.h
901
B
-rw-r--r--
if_eql.h
1.25
KB
-rw-r--r--
if_ether.h
6.39
KB
-rw-r--r--
if_fc.h
1.63
KB
-rw-r--r--
if_fddi.h
3.61
KB
-rw-r--r--
if_frad.h
2.87
KB
-rw-r--r--
if_hippi.h
4.08
KB
-rw-r--r--
if_infiniband.h
1.12
KB
-rw-r--r--
if_link.h
11.79
KB
-rw-r--r--
if_ltalk.h
125
B
-rw-r--r--
if_packet.h
3.45
KB
-rw-r--r--
if_phonet.h
337
B
-rw-r--r--
if_plip.h
596
B
-rw-r--r--
if_ppp.h
6.78
KB
-rw-r--r--
if_pppol2tp.h
1.94
KB
-rw-r--r--
if_pppox.h
3.68
KB
-rw-r--r--
if_slip.h
809
B
-rw-r--r--
if_strip.h
700
B
-rw-r--r--
if_tr.h
3.12
KB
-rw-r--r--
if_tun.h
2.94
KB
-rw-r--r--
if_tunnel.h
1.42
KB
-rw-r--r--
if_vlan.h
1.67
KB
-rw-r--r--
igmp.h
2.86
KB
-rw-r--r--
in.h
8.99
KB
-rw-r--r--
in6.h
7.32
KB
-rw-r--r--
in_route.h
873
B
-rw-r--r--
inet_diag.h
2.4
KB
-rw-r--r--
inotify.h
2.77
KB
-rw-r--r--
input.h
26.95
KB
-rw-r--r--
ioctl.h
100
B
-rw-r--r--
ip.h
3.47
KB
-rw-r--r--
ip6_tunnel.h
1.05
KB
-rw-r--r--
ip_vs.h
12.29
KB
-rw-r--r--
ipc.h
1.99
KB
-rw-r--r--
ipmi.h
16.16
KB
-rw-r--r--
ipmi_msgdefs.h
4.37
KB
-rw-r--r--
ipsec.h
884
B
-rw-r--r--
ipv6.h
2.82
KB
-rw-r--r--
ipv6_route.h
1.58
KB
-rw-r--r--
ipx.h
1.78
KB
-rw-r--r--
irda.h
7.47
KB
-rw-r--r--
irqnr.h
93
B
-rw-r--r--
isdn.h
5.55
KB
-rw-r--r--
isdn_divertif.h
1.01
KB
-rw-r--r--
isdn_ppp.h
1.82
KB
-rw-r--r--
isdnif.h
2.25
KB
-rw-r--r--
iso_fs.h
6.29
KB
-rw-r--r--
ivtv.h
2.66
KB
-rw-r--r--
ivtvfb.h
1.12
KB
-rw-r--r--
ixjuser.h
24.53
KB
-rw-r--r--
jffs2.h
6.79
KB
-rw-r--r--
joystick.h
3.5
KB
-rw-r--r--
kd.h
6.02
KB
-rw-r--r--
kdev_t.h
298
B
-rw-r--r--
kernel.h
2.4
KB
-rw-r--r--
kernelcapi.h
959
B
-rw-r--r--
keyboard.h
12.4
KB
-rw-r--r--
keyctl.h
2.91
KB
-rw-r--r--
kvm.h
20.2
KB
-rw-r--r--
kvm_para.h
564
B
-rw-r--r--
libc-compat.h
3.46
KB
-rw-r--r--
limits.h
874
B
-rw-r--r--
llc.h
2.77
KB
-rw-r--r--
loop.h
2.14
KB
-rw-r--r--
lp.h
3.71
KB
-rw-r--r--
magic.h
2.24
KB
-rw-r--r--
major.h
4.48
KB
-rw-r--r--
map_to_7segment.h
7.02
KB
-rw-r--r--
matroxfb.h
1.4
KB
-rw-r--r--
mempolicy.h
2
KB
-rw-r--r--
meye.h
2.48
KB
-rw-r--r--
mii.h
7.76
KB
-rw-r--r--
minix_fs.h
2.01
KB
-rw-r--r--
mman.h
230
B
-rw-r--r--
mmtimer.h
2.01
KB
-rw-r--r--
mqueue.h
2.01
KB
-rw-r--r--
mroute.h
3.72
KB
-rw-r--r--
mroute6.h
3.9
KB
-rw-r--r--
msdos_fs.h
5.7
KB
-rw-r--r--
msg.h
2.48
KB
-rw-r--r--
mtio.h
7.89
KB
-rw-r--r--
n_r3964.h
2.29
KB
-rw-r--r--
nbd.h
1.91
KB
-rw-r--r--
ncp.h
4.94
KB
-rw-r--r--
ncp_fs.h
3.28
KB
-rw-r--r--
ncp_mount.h
2.06
KB
-rw-r--r--
ncp_no.h
651
B
-rw-r--r--
neighbour.h
3.96
KB
-rw-r--r--
net.h
1.97
KB
-rw-r--r--
net_dropmon.h
1.07
KB
-rw-r--r--
net_tstamp.h
3.39
KB
-rw-r--r--
netdevice.h
1.73
KB
-rw-r--r--
netfilter.h
1.51
KB
-rw-r--r--
netfilter_arp.h
380
B
-rw-r--r--
netfilter_bridge.h
735
B
-rw-r--r--
netfilter_decnet.h
1.83
KB
-rw-r--r--
netfilter_ipv4.h
1.98
KB
-rw-r--r--
netfilter_ipv6.h
2
KB
-rw-r--r--
netlink.h
4.85
KB
-rw-r--r--
netrom.h
719
B
-rw-r--r--
nfs.h
4.25
KB
-rw-r--r--
nfs2.h
1.37
KB
-rw-r--r--
nfs3.h
2.16
KB
-rw-r--r--
nfs4.h
5.63
KB
-rw-r--r--
nfs4_mount.h
1.83
KB
-rw-r--r--
nfs_fs.h
1.49
KB
-rw-r--r--
nfs_idmap.h
2.19
KB
-rw-r--r--
nfs_mount.h
2.25
KB
-rw-r--r--
nfsacl.h
577
B
-rw-r--r--
nl80211.h
187.85
KB
-rw-r--r--
nubus.h
8.17
KB
-rw-r--r--
nvram.h
470
B
-rw-r--r--
oom.h
423
B
-rw-r--r--
param.h
78
B
-rw-r--r--
parport.h
3.56
KB
-rw-r--r--
patchkey.h
831
B
-rw-r--r--
pci.h
1.45
KB
-rw-r--r--
pci_regs.h
37.08
KB
-rw-r--r--
perf_event.h
21.34
KB
-rw-r--r--
personality.h
1.95
KB
-rw-r--r--
pfkeyv2.h
9.91
KB
-rw-r--r--
pg.h
2.23
KB
-rw-r--r--
phantom.h
1.55
KB
-rw-r--r--
phonet.h
4.25
KB
-rw-r--r--
pkt_cls.h
9.08
KB
-rw-r--r--
pkt_sched.h
10.63
KB
-rw-r--r--
pktcdvd.h
2.56
KB
-rw-r--r--
pmu.h
5.07
KB
-rw-r--r--
poll.h
96
B
-rw-r--r--
posix_types.h
1.24
KB
-rw-r--r--
ppdev.h
3.07
KB
-rw-r--r--
ppp-comp.h
6.36
KB
-rw-r--r--
ppp_defs.h
6.31
KB
-rw-r--r--
pps.h
3.85
KB
-rw-r--r--
prctl.h
4.7
KB
-rw-r--r--
ptp_clock.h
3.41
KB
-rw-r--r--
ptrace.h
2.24
KB
-rw-r--r--
qnx4_fs.h
2.21
KB
-rw-r--r--
qnxtypes.h
561
B
-rw-r--r--
quota.h
5.59
KB
-rw-r--r--
radeonfb.h
297
B
-rw-r--r--
random.h
1.06
KB
-rw-r--r--
raw.h
302
B
-rw-r--r--
reboot.h
1.25
KB
-rw-r--r--
reiserfs_fs.h
907
B
-rw-r--r--
reiserfs_xattr.h
465
B
-rw-r--r--
resource.h
2.04
KB
-rw-r--r--
rfkill.h
3.3
KB
-rw-r--r--
romfs_fs.h
1.1
KB
-rw-r--r--
rose.h
2.05
KB
-rw-r--r--
route.h
2.22
KB
-rw-r--r--
rtc.h
3.61
KB
-rw-r--r--
rtnetlink.h
14.98
KB
-rw-r--r--
scc.h
4.44
KB
-rw-r--r--
sched.h
2.05
KB
-rw-r--r--
screen_info.h
2.15
KB
-rw-r--r--
sdla.h
2.77
KB
-rw-r--r--
selinux_netlink.h
1.11
KB
-rw-r--r--
sem.h
2.52
KB
-rw-r--r--
serial.h
6.62
KB
-rw-r--r--
serial_core.h
3.93
KB
-rw-r--r--
serial_reg.h
12.93
KB
-rw-r--r--
serio.h
1.65
KB
-rw-r--r--
shm.h
2.14
KB
-rw-r--r--
signal.h
129
B
-rw-r--r--
signalfd.h
1.07
KB
-rw-r--r--
smb.h
1.18
KB
-rw-r--r--
smb_fs.h
535
B
-rw-r--r--
smb_mount.h
468
B
-rw-r--r--
smbno.h
14.18
KB
-rw-r--r--
snmp.h
10.86
KB
-rw-r--r--
socket.h
738
B
-rw-r--r--
sockios.h
5.83
KB
-rw-r--r--
som.h
5.35
KB
-rw-r--r--
sonet.h
2.16
KB
-rw-r--r--
sonypi.h
5.02
KB
-rw-r--r--
sound.h
1.07
KB
-rw-r--r--
soundcard.h
44.94
KB
-rw-r--r--
stat.h
1005
B
-rw-r--r--
stddef.h
388
B
-rw-r--r--
string.h
175
B
-rw-r--r--
suspend_ioctls.h
1.34
KB
-rw-r--r--
swab.h
6.14
KB
-rw-r--r--
synclink.h
8.49
KB
-rw-r--r--
sysctl.h
25.87
KB
-rw-r--r--
taskstats.h
6.78
KB
-rw-r--r--
tcp.h
5.07
KB
-rw-r--r--
telephony.h
8.84
KB
-rw-r--r--
termios.h
544
B
-rw-r--r--
time.h
1.67
KB
-rw-r--r--
times.h
215
B
-rw-r--r--
timex.h
6.08
KB
-rw-r--r--
tiocl.h
1.63
KB
-rw-r--r--
tipc.h
5.77
KB
-rw-r--r--
tipc_config.h
15.01
KB
-rw-r--r--
toshiba.h
1.25
KB
-rw-r--r--
tty.h
128
B
-rw-r--r--
types.h
991
B
-rw-r--r--
udf_fs_i.h
634
B
-rw-r--r--
udp.h
1.14
KB
-rw-r--r--
uinput.h
5
KB
-rw-r--r--
uio.h
648
B
-rw-r--r--
ultrasound.h
4.39
KB
-rw-r--r--
un.h
203
B
-rw-r--r--
unistd.h
157
B
-rw-r--r--
usbdevice_fs.h
5.21
KB
-rw-r--r--
utime.h
152
B
-rw-r--r--
utsname.h
606
B
-rw-r--r--
uuid.h
1.73
KB
-rw-r--r--
version.h
281
B
-rw-r--r--
veth.h
161
B
-rw-r--r--
vhost.h
4.46
KB
-rw-r--r--
videodev.h
10.27
KB
-rw-r--r--
videodev2.h
64.52
KB
-rw-r--r--
videotext.h
4.14
KB
-rw-r--r--
virtio_9p.h
351
B
-rw-r--r--
virtio_balloon.h
1.23
KB
-rw-r--r--
virtio_blk.h
2.91
KB
-rw-r--r--
virtio_config.h
1.25
KB
-rw-r--r--
virtio_console.h
1.37
KB
-rw-r--r--
virtio_ids.h
545
B
-rw-r--r--
virtio_net.h
6.86
KB
-rw-r--r--
virtio_pci.h
2.21
KB
-rw-r--r--
virtio_ring.h
4.38
KB
-rw-r--r--
virtio_rng.h
265
B
-rw-r--r--
vt.h
3
KB
-rw-r--r--
wait.h
580
B
-rw-r--r--
wanrouter.h
17.42
KB
-rw-r--r--
watchdog.h
2.34
KB
-rw-r--r--
wimax.h
8.17
KB
-rw-r--r--
wireless.h
41.65
KB
-rw-r--r--
x25.h
3.34
KB
-rw-r--r--
xattr.h
494
B
-rw-r--r--
xfrm.h
10.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : wimax.h
/* * Linux WiMax * API for user space * * * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * Neither the name of Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * * Intel Corporation <linux-wimax@intel.com> * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> * - Initial implementation * * * This file declares the user/kernel protocol that is spoken over * Generic Netlink, as well as any type declaration that is to be used * by kernel and user space. * * It is intended for user space to clone it verbatim to use it as a * primary reference for definitions. * * Stuff intended for kernel usage as well as full protocol and stack * documentation is rooted in include/net/wimax.h. */ #ifndef __LINUX__WIMAX_H__ #define __LINUX__WIMAX_H__ #include <linux/types.h> enum { /** * Version of the interface (unsigned decimal, MMm, max 25.5) * M - Major: change if removing or modifying an existing call. * m - minor: change when adding a new call */ WIMAX_GNL_VERSION = 01, /* Generic NetLink attributes */ WIMAX_GNL_ATTR_INVALID = 0x00, WIMAX_GNL_ATTR_MAX = 10, }; /* * Generic NetLink operations * * Most of these map to an API call; _OP_ stands for operation, _RP_ * for reply and _RE_ for report (aka: signal). */ enum { WIMAX_GNL_OP_MSG_FROM_USER, /* User to kernel message */ WIMAX_GNL_OP_MSG_TO_USER, /* Kernel to user message */ WIMAX_GNL_OP_RFKILL, /* Run wimax_rfkill() */ WIMAX_GNL_OP_RESET, /* Run wimax_rfkill() */ WIMAX_GNL_RE_STATE_CHANGE, /* Report: status change */ WIMAX_GNL_OP_STATE_GET, /* Request for current state */ }; /* Message from user / to user */ enum { WIMAX_GNL_MSG_IFIDX = 1, WIMAX_GNL_MSG_PIPE_NAME, WIMAX_GNL_MSG_DATA, }; /* * wimax_rfkill() * * The state of the radio (ON/OFF) is mapped to the rfkill subsystem's * switch state (DISABLED/ENABLED). */ enum wimax_rf_state { WIMAX_RF_OFF = 0, /* Radio is off, rfkill on/enabled */ WIMAX_RF_ON = 1, /* Radio is on, rfkill off/disabled */ WIMAX_RF_QUERY = 2, }; /* Attributes */ enum { WIMAX_GNL_RFKILL_IFIDX = 1, WIMAX_GNL_RFKILL_STATE, }; /* Attributes for wimax_reset() */ enum { WIMAX_GNL_RESET_IFIDX = 1, }; /* Atributes for wimax_state_get() */ enum { WIMAX_GNL_STGET_IFIDX = 1, }; /* * Attributes for the Report State Change * * For now we just have the old and new states; new attributes might * be added later on. */ enum { WIMAX_GNL_STCH_IFIDX = 1, WIMAX_GNL_STCH_STATE_OLD, WIMAX_GNL_STCH_STATE_NEW, }; /** * enum wimax_st - The different states of a WiMAX device * @__WIMAX_ST_NULL: The device structure has been allocated and zeroed, * but still wimax_dev_add() hasn't been called. There is no state. * * @WIMAX_ST_DOWN: The device has been registered with the WiMAX and * networking stacks, but it is not initialized (normally that is * done with 'ifconfig DEV up' [or equivalent], which can upload * firmware and enable communications with the device). * In this state, the device is powered down and using as less * power as possible. * This state is the default after a call to wimax_dev_add(). It * is ok to have drivers move directly to %WIMAX_ST_UNINITIALIZED * or %WIMAX_ST_RADIO_OFF in _probe() after the call to * wimax_dev_add(). * It is recommended that the driver leaves this state when * calling 'ifconfig DEV up' and enters it back on 'ifconfig DEV * down'. * * @__WIMAX_ST_QUIESCING: The device is being torn down, so no API * operations are allowed to proceed except the ones needed to * complete the device clean up process. * * @WIMAX_ST_UNINITIALIZED: [optional] Communication with the device * is setup, but the device still requires some configuration * before being operational. * Some WiMAX API calls might work. * * @WIMAX_ST_RADIO_OFF: The device is fully up; radio is off (wether * by hardware or software switches). * It is recommended to always leave the device in this state * after initialization. * * @WIMAX_ST_READY: The device is fully up and radio is on. * * @WIMAX_ST_SCANNING: [optional] The device has been instructed to * scan. In this state, the device cannot be actively connected to * a network. * * @WIMAX_ST_CONNECTING: The device is connecting to a network. This * state exists because in some devices, the connect process can * include a number of negotiations between user space, kernel * space and the device. User space needs to know what the device * is doing. If the connect sequence in a device is atomic and * fast, the device can transition directly to CONNECTED * * @WIMAX_ST_CONNECTED: The device is connected to a network. * * @__WIMAX_ST_INVALID: This is an invalid state used to mark the * maximum numeric value of states. * * Description: * * Transitions from one state to another one are atomic and can only * be caused in kernel space with wimax_state_change(). To read the * state, use wimax_state_get(). * * States starting with __ are internal and shall not be used or * referred to by drivers or userspace. They look ugly, but that's the * point -- if any use is made non-internal to the stack, it is easier * to catch on review. * * All API operations [with well defined exceptions] will take the * device mutex before starting and then check the state. If the state * is %__WIMAX_ST_NULL, %WIMAX_ST_DOWN, %WIMAX_ST_UNINITIALIZED or * %__WIMAX_ST_QUIESCING, it will drop the lock and quit with * -%EINVAL, -%ENOMEDIUM, -%ENOTCONN or -%ESHUTDOWN. * * The order of the definitions is important, so we can do numerical * comparisons (eg: < %WIMAX_ST_RADIO_OFF means the device is not ready * to operate). */ /* * The allowed state transitions are described in the table below * (states in rows can go to states in columns where there is an X): * * UNINI RADIO READY SCAN CONNEC CONNEC * NULL DOWN QUIESCING TIALIZED OFF NING TING TED * NULL - x * DOWN - x x x * QUIESCING x - * UNINITIALIZED x - x * RADIO_OFF x - x * READY x x - x x x * SCANNING x x x - x x * CONNECTING x x x x - x * CONNECTED x x x - * * This table not available in kernel-doc because the formatting messes it up. */ enum wimax_st { __WIMAX_ST_NULL = 0, WIMAX_ST_DOWN, __WIMAX_ST_QUIESCING, WIMAX_ST_UNINITIALIZED, WIMAX_ST_RADIO_OFF, WIMAX_ST_READY, WIMAX_ST_SCANNING, WIMAX_ST_CONNECTING, WIMAX_ST_CONNECTED, __WIMAX_ST_INVALID /* Always keep last */ }; #endif /* #ifndef __LINUX__WIMAX_H__ */
Close