Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
android
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
byteorder
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
caif
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
can
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
cifs
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
dvb
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
genwqe
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
hdlc
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
hsi
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
iio
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
isdn
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
mmc
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
netfilter
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
netfilter_arp
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
netfilter_bridge
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
nfsd
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
raid
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
sched
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
spi
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
sunrpc
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
tc_act
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
tc_ematch
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
usb
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
wimax
[ DIR ]
drwxr-xr-x
2026-02-18 01:01
a.out.h
6.73
KB
-rw-r--r--
2026-02-17 10:35
acct.h
3.65
KB
-rw-r--r--
2026-02-17 10:35
adb.h
1.11
KB
-rw-r--r--
2026-02-17 10:35
adfs_fs.h
936
B
-rw-r--r--
2026-02-17 10:35
affs_hardblocks.h
1.51
KB
-rw-r--r--
2026-02-17 10:35
agpgart.h
3.85
KB
-rw-r--r--
2026-02-17 10:35
aio_abi.h
3.34
KB
-rw-r--r--
2026-02-17 10:35
am437x-vpfe.h
3.59
KB
-rw-r--r--
2026-02-17 10:35
apm_bios.h
3.6
KB
-rw-r--r--
2026-02-17 10:35
arcfb.h
213
B
-rw-r--r--
2026-02-17 10:35
arm_sdei.h
2.69
KB
-rw-r--r--
2026-02-17 10:35
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
2026-02-17 10:35
atalk.h
1023
B
-rw-r--r--
2026-02-17 10:35
atm.h
7.7
KB
-rw-r--r--
2026-02-17 10:35
atm_eni.h
648
B
-rw-r--r--
2026-02-17 10:35
atm_he.h
406
B
-rw-r--r--
2026-02-17 10:35
atm_idt77105.h
955
B
-rw-r--r--
2026-02-17 10:35
atm_nicstar.h
1.25
KB
-rw-r--r--
2026-02-17 10:35
atm_tcp.h
1.58
KB
-rw-r--r--
2026-02-17 10:35
atm_zatm.h
1.5
KB
-rw-r--r--
2026-02-17 10:35
atmapi.h
952
B
-rw-r--r--
2026-02-17 10:35
atmarp.h
1.27
KB
-rw-r--r--
2026-02-17 10:35
atmbr2684.h
3.19
KB
-rw-r--r--
2026-02-17 10:35
atmclip.h
576
B
-rw-r--r--
2026-02-17 10:35
atmdev.h
7.5
KB
-rw-r--r--
2026-02-17 10:35
atmioc.h
1.61
KB
-rw-r--r--
2026-02-17 10:35
atmlec.h
2.33
KB
-rw-r--r--
2026-02-17 10:35
atmmpc.h
4.13
KB
-rw-r--r--
2026-02-17 10:35
atmppp.h
639
B
-rw-r--r--
2026-02-17 10:35
atmsap.h
4.85
KB
-rw-r--r--
2026-02-17 10:35
atmsvc.h
1.81
KB
-rw-r--r--
2026-02-17 10:35
audit.h
19.92
KB
-rw-r--r--
2026-02-17 10:35
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
2026-02-17 10:35
auto_fs.h
6.28
KB
-rw-r--r--
2026-02-17 10:35
auto_fs4.h
451
B
-rw-r--r--
2026-02-17 10:35
auxvec.h
1.56
KB
-rw-r--r--
2026-02-17 10:35
ax25.h
2.76
KB
-rw-r--r--
2026-02-17 10:35
b1lli.h
1.68
KB
-rw-r--r--
2026-02-17 10:35
batadv_packet.h
20.01
KB
-rw-r--r--
2026-02-17 10:35
batman_adv.h
11.7
KB
-rw-r--r--
2026-02-17 10:35
baycom.h
883
B
-rw-r--r--
2026-02-17 10:35
bcache.h
8.17
KB
-rw-r--r--
2026-02-17 10:35
bcm933xx_hcs.h
419
B
-rw-r--r--
2026-02-17 10:35
bfs_fs.h
1.85
KB
-rw-r--r--
2026-02-17 10:35
binfmts.h
628
B
-rw-r--r--
2026-02-17 10:35
blkpg.h
904
B
-rw-r--r--
2026-02-17 10:35
blktrace_api.h
4.59
KB
-rw-r--r--
2026-02-17 10:35
blkzoned.h
6.45
KB
-rw-r--r--
2026-02-17 10:35
bpf.h
223.3
KB
-rw-r--r--
2026-02-17 10:35
bpf_common.h
1.33
KB
-rw-r--r--
2026-02-17 10:35
bpf_perf_event.h
529
B
-rw-r--r--
2026-02-17 10:35
bpfilter.h
465
B
-rw-r--r--
2026-02-17 10:35
bpqether.h
981
B
-rw-r--r--
2026-02-17 10:35
bsg.h
2.44
KB
-rw-r--r--
2026-02-17 10:35
bt-bmc.h
572
B
-rw-r--r--
2026-02-17 10:35
btf.h
4.68
KB
-rw-r--r--
2026-02-17 10:35
btrfs.h
28.24
KB
-rw-r--r--
2026-02-17 10:35
btrfs_tree.h
24.69
KB
-rw-r--r--
2026-02-17 10:35
can.h
7.7
KB
-rw-r--r--
2026-02-17 10:35
capability.h
13.2
KB
-rw-r--r--
2026-02-17 10:35
capi.h
3.05
KB
-rw-r--r--
2026-02-17 10:35
cciss_defs.h
3.2
KB
-rw-r--r--
2026-02-17 10:35
cciss_ioctl.h
2.7
KB
-rw-r--r--
2026-02-17 10:35
cdrom.h
28.18
KB
-rw-r--r--
2026-02-17 10:35
cec-funcs.h
52.64
KB
-rw-r--r--
2026-02-17 10:35
cec.h
36.81
KB
-rw-r--r--
2026-02-17 10:35
cfm_bridge.h
1.42
KB
-rw-r--r--
2026-02-17 10:35
cgroupstats.h
2.17
KB
-rw-r--r--
2026-02-17 10:35
chio.h
5.22
KB
-rw-r--r--
2026-02-17 10:35
close_range.h
377
B
-rw-r--r--
2026-02-17 10:35
cm4000_cs.h
1.76
KB
-rw-r--r--
2026-02-17 10:35
cn_proc.h
3.38
KB
-rw-r--r--
2026-02-17 10:35
coda.h
17.09
KB
-rw-r--r--
2026-02-17 10:35
coda_psdev.h
783
B
-rw-r--r--
2026-02-17 10:35
coff.h
12.18
KB
-rw-r--r--
2026-02-17 10:35
connector.h
2.2
KB
-rw-r--r--
2026-02-17 10:35
const.h
788
B
-rw-r--r--
2026-02-17 10:35
coresight-stm.h
674
B
-rw-r--r--
2026-02-17 10:35
cramfs_fs.h
3.47
KB
-rw-r--r--
2026-02-17 10:35
cryptouser.h
3.31
KB
-rw-r--r--
2026-02-17 10:35
cuda.h
905
B
-rw-r--r--
2026-02-17 10:35
cyclades.h
16.71
KB
-rw-r--r--
2026-02-17 10:35
cycx_cfm.h
2.92
KB
-rw-r--r--
2026-02-17 10:35
dcbnl.h
24.65
KB
-rw-r--r--
2026-02-17 10:35
dccp.h
6.29
KB
-rw-r--r--
2026-02-17 10:35
devlink.h
21.05
KB
-rw-r--r--
2026-02-17 10:35
dlm.h
2.49
KB
-rw-r--r--
2026-02-17 10:35
dlm_device.h
2.48
KB
-rw-r--r--
2026-02-17 10:35
dlm_netlink.h
1.13
KB
-rw-r--r--
2026-02-17 10:35
dlm_plock.h
894
B
-rw-r--r--
2026-02-17 10:35
dlmconstants.h
4.96
KB
-rw-r--r--
2026-02-17 10:35
dm-ioctl.h
11.13
KB
-rw-r--r--
2026-02-17 10:35
dm-log-userspace.h
14.83
KB
-rw-r--r--
2026-02-17 10:35
dma-buf.h
5.12
KB
-rw-r--r--
2026-02-17 10:35
dn.h
4.53
KB
-rw-r--r--
2026-02-17 10:35
dqblk_xfs.h
9.03
KB
-rw-r--r--
2026-02-17 10:35
edd.h
5.47
KB
-rw-r--r--
2026-02-17 10:35
efs_fs_sb.h
2.17
KB
-rw-r--r--
2026-02-17 10:35
elf-em.h
2.14
KB
-rw-r--r--
2026-02-17 10:35
elf-fdpic.h
1.1
KB
-rw-r--r--
2026-02-17 10:35
elf.h
13.16
KB
-rw-r--r--
2026-02-17 10:35
elfcore.h
2.92
KB
-rw-r--r--
2026-02-17 10:35
errno.h
23
B
-rw-r--r--
2026-02-17 10:35
errqueue.h
1.44
KB
-rw-r--r--
2026-02-17 10:35
erspan.h
1.03
KB
-rw-r--r--
2026-02-17 10:35
ethtool.h
81.89
KB
-rw-r--r--
2026-02-17 10:35
ethtool_netlink.h
22.29
KB
-rw-r--r--
2026-02-17 10:35
eventpoll.h
2.67
KB
-rw-r--r--
2026-02-17 10:35
fadvise.h
842
B
-rw-r--r--
2026-02-17 10:35
falloc.h
3.5
KB
-rw-r--r--
2026-02-17 10:35
fanotify.h
5.22
KB
-rw-r--r--
2026-02-17 10:35
fb.h
16.09
KB
-rw-r--r--
2026-02-17 10:35
fcntl.h
4.08
KB
-rw-r--r--
2026-02-17 10:35
fd.h
11.4
KB
-rw-r--r--
2026-02-17 10:35
fdreg.h
5.29
KB
-rw-r--r--
2026-02-17 10:35
fib_rules.h
1.99
KB
-rw-r--r--
2026-02-17 10:35
fiemap.h
2.71
KB
-rw-r--r--
2026-02-17 10:35
filter.h
2.16
KB
-rw-r--r--
2026-02-17 10:35
firewire-cdev.h
42.86
KB
-rw-r--r--
2026-02-17 10:35
firewire-constants.h
3.16
KB
-rw-r--r--
2026-02-17 10:35
flat.h
2.1
KB
-rw-r--r--
2026-02-17 10:35
fou.h
694
B
-rw-r--r--
2026-02-17 10:35
fpga-dfl.h
8.52
KB
-rw-r--r--
2026-02-17 10:35
fs.h
13.11
KB
-rw-r--r--
2026-02-17 10:35
fsl_hypervisor.h
7.13
KB
-rw-r--r--
2026-02-17 10:35
fsmap.h
4.29
KB
-rw-r--r--
2026-02-17 10:35
fuse.h
22.92
KB
-rw-r--r--
2026-02-17 10:35
futex.h
4.88
KB
-rw-r--r--
2026-02-17 10:35
gameport.h
897
B
-rw-r--r--
2026-02-17 10:35
gen_stats.h
1.49
KB
-rw-r--r--
2026-02-17 10:35
genetlink.h
2.12
KB
-rw-r--r--
2026-02-17 10:35
gfs2_ondisk.h
14.4
KB
-rw-r--r--
2026-02-17 10:35
gigaset_dev.h
1.41
KB
-rw-r--r--
2026-02-17 10:35
gpio.h
6.59
KB
-rw-r--r--
2026-02-17 10:35
gsmmux.h
1.02
KB
-rw-r--r--
2026-02-17 10:35
gtp.h
681
B
-rw-r--r--
2026-02-17 10:35
hash_info.h
921
B
-rw-r--r--
2026-02-17 10:35
hdlc.h
637
B
-rw-r--r--
2026-02-17 10:35
hdlcdrv.h
2.84
KB
-rw-r--r--
2026-02-17 10:35
hdreg.h
22.17
KB
-rw-r--r--
2026-02-17 10:35
hid.h
1.86
KB
-rw-r--r--
2026-02-17 10:35
hiddev.h
6.2
KB
-rw-r--r--
2026-02-17 10:35
hidraw.h
1.95
KB
-rw-r--r--
2026-02-17 10:35
hpet.h
743
B
-rw-r--r--
2026-02-17 10:35
hsr_netlink.h
1.06
KB
-rw-r--r--
2026-02-17 10:35
hw_breakpoint.h
742
B
-rw-r--r--
2026-02-17 10:35
hyperv.h
10.89
KB
-rw-r--r--
2026-02-17 10:35
hysdn_if.h
1.35
KB
-rw-r--r--
2026-02-17 10:35
i2c-dev.h
2.55
KB
-rw-r--r--
2026-02-17 10:35
i2c.h
6.96
KB
-rw-r--r--
2026-02-17 10:35
i2o-dev.h
11.28
KB
-rw-r--r--
2026-02-17 10:35
i8k.h
1.49
KB
-rw-r--r--
2026-02-17 10:35
icmp.h
2.91
KB
-rw-r--r--
2026-02-17 10:35
icmpv6.h
3.94
KB
-rw-r--r--
2026-02-17 10:35
idxd.h
8.22
KB
-rw-r--r--
2026-02-17 10:35
if.h
10.65
KB
-rw-r--r--
2026-02-17 10:35
if_addr.h
1.84
KB
-rw-r--r--
2026-02-17 10:35
if_addrlabel.h
721
B
-rw-r--r--
2026-02-17 10:35
if_alg.h
946
B
-rw-r--r--
2026-02-17 10:35
if_arcnet.h
3.63
KB
-rw-r--r--
2026-02-17 10:35
if_arp.h
6.42
KB
-rw-r--r--
2026-02-17 10:35
if_bonding.h
5.17
KB
-rw-r--r--
2026-02-17 10:35
if_bridge.h
19.06
KB
-rw-r--r--
2026-02-17 10:35
if_cablemodem.h
986
B
-rw-r--r--
2026-02-17 10:35
if_eql.h
1.32
KB
-rw-r--r--
2026-02-17 10:35
if_ether.h
8.05
KB
-rw-r--r--
2026-02-17 10:35
if_fc.h
1.7
KB
-rw-r--r--
2026-02-17 10:35
if_fddi.h
3.66
KB
-rw-r--r--
2026-02-17 10:35
if_frad.h
2.95
KB
-rw-r--r--
2026-02-17 10:35
if_hippi.h
4.14
KB
-rw-r--r--
2026-02-17 10:35
if_infiniband.h
1.22
KB
-rw-r--r--
2026-02-17 10:35
if_link.h
30.28
KB
-rw-r--r--
2026-02-17 10:35
if_ltalk.h
210
B
-rw-r--r--
2026-02-17 10:35
if_macsec.h
5.7
KB
-rw-r--r--
2026-02-17 10:35
if_packet.h
7.73
KB
-rw-r--r--
2026-02-17 10:35
if_phonet.h
424
B
-rw-r--r--
2026-02-17 10:35
if_plip.h
660
B
-rw-r--r--
2026-02-17 10:35
if_ppp.h
29
B
-rw-r--r--
2026-02-17 10:35
if_pppol2tp.h
3.21
KB
-rw-r--r--
2026-02-17 10:35
if_pppox.h
4.76
KB
-rw-r--r--
2026-02-17 10:35
if_slip.h
872
B
-rw-r--r--
2026-02-17 10:35
if_team.h
2.54
KB
-rw-r--r--
2026-02-17 10:35
if_tun.h
4
KB
-rw-r--r--
2026-02-17 10:35
if_tunnel.h
4.41
KB
-rw-r--r--
2026-02-17 10:35
if_vlan.h
1.79
KB
-rw-r--r--
2026-02-17 10:35
if_x25.h
881
B
-rw-r--r--
2026-02-17 10:35
if_xdp.h
2.94
KB
-rw-r--r--
2026-02-17 10:35
ife.h
351
B
-rw-r--r--
2026-02-17 10:35
igmp.h
2.99
KB
-rw-r--r--
2026-02-17 10:35
ila.h
1.22
KB
-rw-r--r--
2026-02-17 10:35
in.h
9.78
KB
-rw-r--r--
2026-02-17 10:35
in6.h
7.26
KB
-rw-r--r--
2026-02-17 10:35
in_route.h
936
B
-rw-r--r--
2026-02-17 10:35
inet_diag.h
4.56
KB
-rw-r--r--
2026-02-17 10:35
inotify.h
3.21
KB
-rw-r--r--
2026-02-17 10:35
input-event-codes.h
27.94
KB
-rw-r--r--
2026-02-17 10:35
input.h
15.61
KB
-rw-r--r--
2026-02-17 10:35
io_uring.h
6.06
KB
-rw-r--r--
2026-02-17 10:35
ioctl.h
163
B
-rw-r--r--
2026-02-17 10:35
iommu.h
4.79
KB
-rw-r--r--
2026-02-17 10:35
ip.h
4.62
KB
-rw-r--r--
2026-02-17 10:35
ip6_tunnel.h
1.91
KB
-rw-r--r--
2026-02-17 10:35
ip_vs.h
13.31
KB
-rw-r--r--
2026-02-17 10:35
ipc.h
2.05
KB
-rw-r--r--
2026-02-17 10:35
ipmi.h
15.08
KB
-rw-r--r--
2026-02-17 10:35
ipmi_bmc.h
464
B
-rw-r--r--
2026-02-17 10:35
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
2026-02-17 10:35
ipmi_ssif_bmc.h
441
B
-rw-r--r--
2026-02-17 10:35
ipsec.h
947
B
-rw-r--r--
2026-02-17 10:35
ipv6.h
3.87
KB
-rw-r--r--
2026-02-17 10:35
ipv6_route.h
1.86
KB
-rw-r--r--
2026-02-17 10:35
ipx.h
2.29
KB
-rw-r--r--
2026-02-17 10:35
irqnr.h
104
B
-rw-r--r--
2026-02-17 10:35
isdn.h
5.64
KB
-rw-r--r--
2026-02-17 10:35
isdn_divertif.h
1.17
KB
-rw-r--r--
2026-02-17 10:35
isdn_ppp.h
1.88
KB
-rw-r--r--
2026-02-17 10:35
isdnif.h
2.31
KB
-rw-r--r--
2026-02-17 10:35
iso_fs.h
6.33
KB
-rw-r--r--
2026-02-17 10:35
isst_if.h
5.26
KB
-rw-r--r--
2026-02-17 10:35
ivtv.h
2.95
KB
-rw-r--r--
2026-02-17 10:35
ivtvfb.h
1.18
KB
-rw-r--r--
2026-02-17 10:35
jffs2.h
6.85
KB
-rw-r--r--
2026-02-17 10:35
joystick.h
3.35
KB
-rw-r--r--
2026-02-17 10:35
kcm.h
822
B
-rw-r--r--
2026-02-17 10:35
kcmp.h
522
B
-rw-r--r--
2026-02-17 10:35
kcov.h
1.07
KB
-rw-r--r--
2026-02-17 10:35
kd.h
6.11
KB
-rw-r--r--
2026-02-17 10:35
kdev_t.h
383
B
-rw-r--r--
2026-02-17 10:35
kernel-page-flags.h
900
B
-rw-r--r--
2026-02-17 10:35
kernel.h
438
B
-rw-r--r--
2026-02-17 10:35
kernelcapi.h
1019
B
-rw-r--r--
2026-02-17 10:35
kexec.h
1.79
KB
-rw-r--r--
2026-02-17 10:35
keyboard.h
12.48
KB
-rw-r--r--
2026-02-17 10:35
keyctl.h
3.42
KB
-rw-r--r--
2026-02-17 10:35
kfd_ioctl.h
28.14
KB
-rw-r--r--
2026-02-17 10:35
kfd_sysfs.h
4.25
KB
-rw-r--r--
2026-02-17 10:35
kvm.h
60.12
KB
-rw-r--r--
2026-02-17 10:35
kvm_para.h
1001
B
-rw-r--r--
2026-02-17 10:35
l2tp.h
5.46
KB
-rw-r--r--
2026-02-17 10:35
libc-compat.h
8.09
KB
-rw-r--r--
2026-02-17 10:35
lightnvm.h
4.92
KB
-rw-r--r--
2026-02-17 10:35
limits.h
937
B
-rw-r--r--
2026-02-17 10:35
lirc.h
7.63
KB
-rw-r--r--
2026-02-17 10:35
llc.h
3.09
KB
-rw-r--r--
2026-02-17 10:35
loop.h
3.42
KB
-rw-r--r--
2026-02-17 10:35
lp.h
4.09
KB
-rw-r--r--
2026-02-17 10:35
lwtunnel.h
2.13
KB
-rw-r--r--
2026-02-17 10:35
magic.h
3.45
KB
-rw-r--r--
2026-02-17 10:35
major.h
4.6
KB
-rw-r--r--
2026-02-17 10:35
map_to_7segment.h
7.08
KB
-rw-r--r--
2026-02-17 10:35
matroxfb.h
1.43
KB
-rw-r--r--
2026-02-17 10:35
max2175.h
1.01
KB
-rw-r--r--
2026-02-17 10:35
mdio.h
16.87
KB
-rw-r--r--
2026-02-17 10:35
media-bus-format.h
6.26
KB
-rw-r--r--
2026-02-17 10:35
media.h
11.12
KB
-rw-r--r--
2026-02-17 10:35
mei.h
3.39
KB
-rw-r--r--
2026-02-17 10:35
membarrier.h
7.71
KB
-rw-r--r--
2026-02-17 10:35
memfd.h
1.29
KB
-rw-r--r--
2026-02-17 10:35
mempolicy.h
2.18
KB
-rw-r--r--
2026-02-17 10:35
meye.h
2.47
KB
-rw-r--r--
2026-02-17 10:35
mic_common.h
6.37
KB
-rw-r--r--
2026-02-17 10:35
mic_ioctl.h
2.2
KB
-rw-r--r--
2026-02-17 10:35
mii.h
9.27
KB
-rw-r--r--
2026-02-17 10:35
minix_fs.h
2.07
KB
-rw-r--r--
2026-02-17 10:35
mman.h
1.35
KB
-rw-r--r--
2026-02-17 10:35
mmtimer.h
2.07
KB
-rw-r--r--
2026-02-17 10:35
module.h
255
B
-rw-r--r--
2026-02-17 10:35
mount.h
4.44
KB
-rw-r--r--
2026-02-17 10:35
mpls.h
2.25
KB
-rw-r--r--
2026-02-17 10:35
mpls_iptunnel.h
761
B
-rw-r--r--
2026-02-17 10:35
mptcp.h
5.48
KB
-rw-r--r--
2026-02-17 10:35
mqueue.h
2.15
KB
-rw-r--r--
2026-02-17 10:35
mroute.h
5.3
KB
-rw-r--r--
2026-02-17 10:35
mroute6.h
4.47
KB
-rw-r--r--
2026-02-17 10:35
mrp_bridge.h
1.67
KB
-rw-r--r--
2026-02-17 10:35
msdos_fs.h
6.8
KB
-rw-r--r--
2026-02-17 10:35
msg.h
3.29
KB
-rw-r--r--
2026-02-17 10:35
mtio.h
7.98
KB
-rw-r--r--
2026-02-17 10:35
n_r3964.h
2.35
KB
-rw-r--r--
2026-02-17 10:35
nbd-netlink.h
2.35
KB
-rw-r--r--
2026-02-17 10:35
nbd.h
2.95
KB
-rw-r--r--
2026-02-17 10:35
ncsi.h
3.79
KB
-rw-r--r--
2026-02-17 10:35
ndctl.h
6.71
KB
-rw-r--r--
2026-02-17 10:35
neighbour.h
5.02
KB
-rw-r--r--
2026-02-17 10:35
net.h
2.04
KB
-rw-r--r--
2026-02-17 10:35
net_dropmon.h
2.85
KB
-rw-r--r--
2026-02-17 10:35
net_namespace.h
715
B
-rw-r--r--
2026-02-17 10:35
net_tstamp.h
5.67
KB
-rw-r--r--
2026-02-17 10:35
netconf.h
614
B
-rw-r--r--
2026-02-17 10:35
netdevice.h
2.2
KB
-rw-r--r--
2026-02-17 10:35
netfilter.h
1.78
KB
-rw-r--r--
2026-02-17 10:35
netfilter_arp.h
445
B
-rw-r--r--
2026-02-17 10:35
netfilter_bridge.h
1.14
KB
-rw-r--r--
2026-02-17 10:35
netfilter_decnet.h
1.93
KB
-rw-r--r--
2026-02-17 10:35
netfilter_ipv4.h
2.12
KB
-rw-r--r--
2026-02-17 10:35
netfilter_ipv6.h
2.14
KB
-rw-r--r--
2026-02-17 10:35
netlink.h
11.23
KB
-rw-r--r--
2026-02-17 10:35
netlink_diag.h
1.49
KB
-rw-r--r--
2026-02-17 10:35
netrom.h
807
B
-rw-r--r--
2026-02-17 10:35
nexthop.h
1.5
KB
-rw-r--r--
2026-02-17 10:35
nfc.h
10.95
KB
-rw-r--r--
2026-02-17 10:35
nfs.h
4.39
KB
-rw-r--r--
2026-02-17 10:35
nfs2.h
1.43
KB
-rw-r--r--
2026-02-17 10:35
nfs3.h
2.4
KB
-rw-r--r--
2026-02-17 10:35
nfs4.h
6.44
KB
-rw-r--r--
2026-02-17 10:35
nfs4_mount.h
1.89
KB
-rw-r--r--
2026-02-17 10:35
nfs_fs.h
1.6
KB
-rw-r--r--
2026-02-17 10:35
nfs_idmap.h
2.19
KB
-rw-r--r--
2026-02-17 10:35
nfs_mount.h
2.09
KB
-rw-r--r--
2026-02-17 10:35
nfsacl.h
718
B
-rw-r--r--
2026-02-17 10:35
nilfs2_api.h
7.41
KB
-rw-r--r--
2026-02-17 10:35
nilfs2_ondisk.h
17.61
KB
-rw-r--r--
2026-02-17 10:35
nitro_enclaves.h
12.84
KB
-rw-r--r--
2026-02-17 10:35
nl80211.h
327.41
KB
-rw-r--r--
2026-02-17 10:35
nsfs.h
639
B
-rw-r--r--
2026-02-17 10:35
nubus.h
8
KB
-rw-r--r--
2026-02-17 10:35
nvme_ioctl.h
2.06
KB
-rw-r--r--
2026-02-17 10:35
nvram.h
532
B
-rw-r--r--
2026-02-17 10:35
omap3isp.h
20.36
KB
-rw-r--r--
2026-02-17 10:35
omapfb.h
5.78
KB
-rw-r--r--
2026-02-17 10:35
oom.h
511
B
-rw-r--r--
2026-02-17 10:35
openat2.h
1.26
KB
-rw-r--r--
2026-02-17 10:35
openvswitch.h
39.24
KB
-rw-r--r--
2026-02-17 10:35
packet_diag.h
1.63
KB
-rw-r--r--
2026-02-17 10:35
param.h
141
B
-rw-r--r--
2026-02-17 10:35
parport.h
3.56
KB
-rw-r--r--
2026-02-17 10:35
patchkey.h
892
B
-rw-r--r--
2026-02-17 10:35
pci.h
1.35
KB
-rw-r--r--
2026-02-17 10:35
pci_regs.h
56.47
KB
-rw-r--r--
2026-02-17 10:35
pcitest.h
711
B
-rw-r--r--
2026-02-17 10:35
perf_event.h
39.63
KB
-rw-r--r--
2026-02-17 10:35
personality.h
2.05
KB
-rw-r--r--
2026-02-17 10:35
pfkeyv2.h
10.32
KB
-rw-r--r--
2026-02-17 10:35
pfrut.h
7.8
KB
-rw-r--r--
2026-02-17 10:35
pg.h
2.34
KB
-rw-r--r--
2026-02-17 10:35
phantom.h
1.62
KB
-rw-r--r--
2026-02-17 10:35
phonet.h
4.57
KB
-rw-r--r--
2026-02-17 10:35
pkt_cls.h
18.08
KB
-rw-r--r--
2026-02-17 10:35
pkt_sched.h
29.59
KB
-rw-r--r--
2026-02-17 10:35
pktcdvd.h
2.62
KB
-rw-r--r--
2026-02-17 10:35
pmu.h
5.19
KB
-rw-r--r--
2026-02-17 10:35
poll.h
22
B
-rw-r--r--
2026-02-17 10:35
posix_acl.h
1.22
KB
-rw-r--r--
2026-02-17 10:35
posix_acl_xattr.h
1.09
KB
-rw-r--r--
2026-02-17 10:35
posix_types.h
1.07
KB
-rw-r--r--
2026-02-17 10:35
ppdev.h
3.14
KB
-rw-r--r--
2026-02-17 10:35
ppp-comp.h
2.47
KB
-rw-r--r--
2026-02-17 10:35
ppp-ioctl.h
5.35
KB
-rw-r--r--
2026-02-17 10:35
ppp_defs.h
4.99
KB
-rw-r--r--
2026-02-17 10:35
pps.h
4.62
KB
-rw-r--r--
2026-02-17 10:35
pr.h
1.05
KB
-rw-r--r--
2026-02-17 10:35
prctl.h
7.83
KB
-rw-r--r--
2026-02-17 10:35
psample.h
2.22
KB
-rw-r--r--
2026-02-17 10:35
psci.h
4.23
KB
-rw-r--r--
2026-02-17 10:35
psp-sev.h
4.48
KB
-rw-r--r--
2026-02-17 10:35
ptp_clock.h
7.28
KB
-rw-r--r--
2026-02-17 10:35
ptrace.h
3.59
KB
-rw-r--r--
2026-02-17 10:35
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
2026-02-17 10:35
qnx4_fs.h
2.27
KB
-rw-r--r--
2026-02-17 10:35
qnxtypes.h
624
B
-rw-r--r--
2026-02-17 10:35
qrtr.h
893
B
-rw-r--r--
2026-02-17 10:35
quota.h
6.14
KB
-rw-r--r--
2026-02-17 10:35
radeonfb.h
360
B
-rw-r--r--
2026-02-17 10:35
random.h
1.34
KB
-rw-r--r--
2026-02-17 10:35
raw.h
365
B
-rw-r--r--
2026-02-17 10:35
rds.h
9.08
KB
-rw-r--r--
2026-02-17 10:35
reboot.h
1.31
KB
-rw-r--r--
2026-02-17 10:35
reiserfs_fs.h
775
B
-rw-r--r--
2026-02-17 10:35
reiserfs_xattr.h
533
B
-rw-r--r--
2026-02-17 10:35
resource.h
2.29
KB
-rw-r--r--
2026-02-17 10:35
rfkill.h
6.45
KB
-rw-r--r--
2026-02-17 10:35
rio_cm_cdev.h
3.17
KB
-rw-r--r--
2026-02-17 10:35
rio_mport_cdev.h
9.11
KB
-rw-r--r--
2026-02-17 10:35
romfs_fs.h
1.21
KB
-rw-r--r--
2026-02-17 10:35
rose.h
2.18
KB
-rw-r--r--
2026-02-17 10:35
route.h
2.28
KB
-rw-r--r--
2026-02-17 10:35
rpmsg.h
544
B
-rw-r--r--
2026-02-17 10:35
rseq.h
4.79
KB
-rw-r--r--
2026-02-17 10:35
rtc.h
3.92
KB
-rw-r--r--
2026-02-17 10:35
rtnetlink.h
19.73
KB
-rw-r--r--
2026-02-17 10:35
rxrpc.h
4.96
KB
-rw-r--r--
2026-02-17 10:35
scc.h
4.49
KB
-rw-r--r--
2026-02-17 10:35
sched.h
2.73
KB
-rw-r--r--
2026-02-17 10:35
scif_ioctl.h
6.23
KB
-rw-r--r--
2026-02-17 10:35
screen_info.h
2.42
KB
-rw-r--r--
2026-02-17 10:35
sctp.h
35.15
KB
-rw-r--r--
2026-02-17 10:35
sdla.h
2.77
KB
-rw-r--r--
2026-02-17 10:35
seccomp.h
2.2
KB
-rw-r--r--
2026-02-17 10:35
securebits.h
2.64
KB
-rw-r--r--
2026-02-17 10:35
sed-opal.h
3.2
KB
-rw-r--r--
2026-02-17 10:35
seg6.h
1.14
KB
-rw-r--r--
2026-02-17 10:35
seg6_genl.h
589
B
-rw-r--r--
2026-02-17 10:35
seg6_hmac.h
423
B
-rw-r--r--
2026-02-17 10:35
seg6_iptunnel.h
927
B
-rw-r--r--
2026-02-17 10:35
seg6_local.h
2.01
KB
-rw-r--r--
2026-02-17 10:35
selinux_netlink.h
1.17
KB
-rw-r--r--
2026-02-17 10:35
sem.h
2.97
KB
-rw-r--r--
2026-02-17 10:35
serial.h
3.78
KB
-rw-r--r--
2026-02-17 10:35
serial_core.h
6.1
KB
-rw-r--r--
2026-02-17 10:35
serial_reg.h
15.13
KB
-rw-r--r--
2026-02-17 10:35
serio.h
1.99
KB
-rw-r--r--
2026-02-17 10:35
sev-guest.h
2.25
KB
-rw-r--r--
2026-02-17 10:35
shm.h
3.7
KB
-rw-r--r--
2026-02-17 10:35
signal.h
388
B
-rw-r--r--
2026-02-17 10:35
signalfd.h
1.2
KB
-rw-r--r--
2026-02-17 10:35
smc.h
8.31
KB
-rw-r--r--
2026-02-17 10:35
smc_diag.h
2.66
KB
-rw-r--r--
2026-02-17 10:35
smiapp.h
1.03
KB
-rw-r--r--
2026-02-17 10:35
snmp.h
13.34
KB
-rw-r--r--
2026-02-17 10:35
sock_diag.h
1.27
KB
-rw-r--r--
2026-02-17 10:35
socket.h
901
B
-rw-r--r--
2026-02-17 10:35
sockios.h
5.96
KB
-rw-r--r--
2026-02-17 10:35
sonet.h
2.24
KB
-rw-r--r--
2026-02-17 10:35
sonypi.h
5.18
KB
-rw-r--r--
2026-02-17 10:35
sound.h
1.21
KB
-rw-r--r--
2026-02-17 10:35
soundcard.h
44.96
KB
-rw-r--r--
2026-02-17 10:35
stat.h
6.2
KB
-rw-r--r--
2026-02-17 10:35
stddef.h
1.5
KB
-rw-r--r--
2026-02-17 10:35
stm.h
1.25
KB
-rw-r--r--
2026-02-17 10:35
string.h
238
B
-rw-r--r--
2026-02-17 10:35
suspend_ioctls.h
1.4
KB
-rw-r--r--
2026-02-17 10:35
swab.h
6.76
KB
-rw-r--r--
2026-02-17 10:35
switchtec_ioctl.h
5.14
KB
-rw-r--r--
2026-02-17 10:35
sync_file.h
2.82
KB
-rw-r--r--
2026-02-17 10:35
synclink.h
8.77
KB
-rw-r--r--
2026-02-17 10:35
sysctl.h
25.24
KB
-rw-r--r--
2026-02-17 10:35
sysinfo.h
1.02
KB
-rw-r--r--
2026-02-17 10:35
target_core_user.h
4.52
KB
-rw-r--r--
2026-02-17 10:35
taskstats.h
7.01
KB
-rw-r--r--
2026-02-17 10:35
tcp.h
9.69
KB
-rw-r--r--
2026-02-17 10:35
tcp_metrics.h
1.51
KB
-rw-r--r--
2026-02-17 10:35
tdx-guest.h
1.27
KB
-rw-r--r--
2026-02-17 10:35
tee.h
12.86
KB
-rw-r--r--
2026-02-17 10:35
termios.h
506
B
-rw-r--r--
2026-02-17 10:35
thermal.h
3.23
KB
-rw-r--r--
2026-02-17 10:35
time.h
1.71
KB
-rw-r--r--
2026-02-17 10:35
time_types.h
1.15
KB
-rw-r--r--
2026-02-17 10:35
timerfd.h
936
B
-rw-r--r--
2026-02-17 10:35
times.h
278
B
-rw-r--r--
2026-02-17 10:35
timex.h
6.25
KB
-rw-r--r--
2026-02-17 10:35
tiocl.h
1.69
KB
-rw-r--r--
2026-02-17 10:35
tipc.h
8.62
KB
-rw-r--r--
2026-02-17 10:35
tipc_config.h
14.36
KB
-rw-r--r--
2026-02-17 10:35
tipc_netlink.h
9.17
KB
-rw-r--r--
2026-02-17 10:35
tipc_sockets_diag.h
468
B
-rw-r--r--
2026-02-17 10:35
tls.h
4.19
KB
-rw-r--r--
2026-02-17 10:35
toshiba.h
1.88
KB
-rw-r--r--
2026-02-17 10:35
tty.h
1.55
KB
-rw-r--r--
2026-02-17 10:35
tty_flags.h
4.42
KB
-rw-r--r--
2026-02-17 10:35
types.h
1.44
KB
-rw-r--r--
2026-02-17 10:35
udf_fs_i.h
697
B
-rw-r--r--
2026-02-17 10:35
udp.h
1.62
KB
-rw-r--r--
2026-02-17 10:35
uhid.h
4.54
KB
-rw-r--r--
2026-02-17 10:35
uinput.h
9.04
KB
-rw-r--r--
2026-02-17 10:35
uio.h
732
B
-rw-r--r--
2026-02-17 10:35
uleds.h
798
B
-rw-r--r--
2026-02-17 10:35
ultrasound.h
4.46
KB
-rw-r--r--
2026-02-17 10:35
un.h
384
B
-rw-r--r--
2026-02-17 10:35
unistd.h
220
B
-rw-r--r--
2026-02-17 10:35
unix_diag.h
1.22
KB
-rw-r--r--
2026-02-17 10:35
usbdevice_fs.h
8.12
KB
-rw-r--r--
2026-02-17 10:35
usbip.h
640
B
-rw-r--r--
2026-02-17 10:35
userfaultfd.h
7.59
KB
-rw-r--r--
2026-02-17 10:35
userio.h
1.48
KB
-rw-r--r--
2026-02-17 10:35
utime.h
215
B
-rw-r--r--
2026-02-17 10:35
utsname.h
669
B
-rw-r--r--
2026-02-17 10:35
uuid.h
1.32
KB
-rw-r--r--
2026-02-17 10:35
uvcvideo.h
2.57
KB
-rw-r--r--
2026-02-17 10:35
v4l2-common.h
4.08
KB
-rw-r--r--
2026-02-17 10:35
v4l2-controls.h
50.56
KB
-rw-r--r--
2026-02-17 10:35
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
2026-02-17 10:35
v4l2-mediabus.h
4.98
KB
-rw-r--r--
2026-02-17 10:35
v4l2-subdev.h
5.95
KB
-rw-r--r--
2026-02-17 10:35
vbox_err.h
7.09
KB
-rw-r--r--
2026-02-17 10:35
vbox_vmmdev_types.h
8.16
KB
-rw-r--r--
2026-02-17 10:35
vboxguest.h
8.52
KB
-rw-r--r--
2026-02-17 10:35
vdpa.h
1.39
KB
-rw-r--r--
2026-02-17 10:35
version.h
431
B
-rw-r--r--
2026-02-17 10:36
veth.h
224
B
-rw-r--r--
2026-02-17 10:35
vfio.h
51
KB
-rw-r--r--
2026-02-17 10:35
vfio_ccw.h
1.29
KB
-rw-r--r--
2026-02-17 10:35
vfio_zdev.h
2.48
KB
-rw-r--r--
2026-02-17 10:35
vhost.h
6.27
KB
-rw-r--r--
2026-02-17 10:35
vhost_types.h
3.9
KB
-rw-r--r--
2026-02-17 10:35
videodev2.h
88.61
KB
-rw-r--r--
2026-02-17 10:35
virtio_9p.h
1.99
KB
-rw-r--r--
2026-02-17 10:35
virtio_balloon.h
5.15
KB
-rw-r--r--
2026-02-17 10:35
virtio_blk.h
6.64
KB
-rw-r--r--
2026-02-17 10:35
virtio_bt.h
772
B
-rw-r--r--
2026-02-17 10:35
virtio_config.h
3.91
KB
-rw-r--r--
2026-02-17 10:35
virtio_console.h
3.06
KB
-rw-r--r--
2026-02-17 10:35
virtio_crypto.h
13.55
KB
-rw-r--r--
2026-02-17 10:35
virtio_fs.h
572
B
-rw-r--r--
2026-02-17 10:35
virtio_gpu.h
11.19
KB
-rw-r--r--
2026-02-17 10:35
virtio_ids.h
3.19
KB
-rw-r--r--
2026-02-17 10:35
virtio_input.h
2.45
KB
-rw-r--r--
2026-02-17 10:35
virtio_iommu.h
3.69
KB
-rw-r--r--
2026-02-17 10:35
virtio_mem.h
6.99
KB
-rw-r--r--
2026-02-17 10:35
virtio_mmio.h
4.85
KB
-rw-r--r--
2026-02-17 10:35
virtio_net.h
10.3
KB
-rw-r--r--
2026-02-17 10:35
virtio_pci.h
7.23
KB
-rw-r--r--
2026-02-17 10:35
virtio_ring.h
7.32
KB
-rw-r--r--
2026-02-17 10:35
virtio_rng.h
265
B
-rw-r--r--
2026-02-17 10:35
virtio_scsi.h
5.89
KB
-rw-r--r--
2026-02-17 10:35
virtio_snd.h
9.09
KB
-rw-r--r--
2026-02-17 10:35
virtio_types.h
2.1
KB
-rw-r--r--
2026-02-17 10:35
virtio_vsock.h
3.01
KB
-rw-r--r--
2026-02-17 10:35
vm_sockets.h
6.34
KB
-rw-r--r--
2026-02-17 10:35
vm_sockets_diag.h
963
B
-rw-r--r--
2026-02-17 10:35
vmcore.h
431
B
-rw-r--r--
2026-02-17 10:35
vsockmon.h
1.84
KB
-rw-r--r--
2026-02-17 10:35
vt.h
2.99
KB
-rw-r--r--
2026-02-17 10:35
vtpm_proxy.h
1.68
KB
-rw-r--r--
2026-02-17 10:35
wait.h
682
B
-rw-r--r--
2026-02-17 10:35
wanrouter.h
453
B
-rw-r--r--
2026-02-17 10:35
watchdog.h
2.28
KB
-rw-r--r--
2026-02-17 10:35
wimax.h
8.17
KB
-rw-r--r--
2026-02-17 10:35
wireless.h
41.7
KB
-rw-r--r--
2026-02-17 10:35
wmi.h
1.84
KB
-rw-r--r--
2026-02-17 10:35
x25.h
3.48
KB
-rw-r--r--
2026-02-17 10:35
xattr.h
2.79
KB
-rw-r--r--
2026-02-17 10:35
xdp_diag.h
1.43
KB
-rw-r--r--
2026-02-17 10:35
xfrm.h
11.71
KB
-rw-r--r--
2026-02-17 10:35
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
2026-02-17 10:35
zorro.h
3.22
KB
-rw-r--r--
2026-02-17 10:35
zorro_ids.h
29.26
KB
-rw-r--r--
2026-02-17 10:35
Save
Rename
/* * Copyright (C) 2006 - 2007 Ivo van Doorn * Copyright (C) 2007 Dmitry Torokhov * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef __RFKILL_H #define __RFKILL_H #include <linux/types.h> /* define userspace visible states */ #define RFKILL_STATE_SOFT_BLOCKED 0 #define RFKILL_STATE_UNBLOCKED 1 #define RFKILL_STATE_HARD_BLOCKED 2 /** * enum rfkill_type - type of rfkill switch. * * @RFKILL_TYPE_ALL: toggles all switches (requests only - not a switch type) * @RFKILL_TYPE_WLAN: switch is on a 802.11 wireless network device. * @RFKILL_TYPE_BLUETOOTH: switch is on a bluetooth device. * @RFKILL_TYPE_UWB: switch is on a ultra wideband device. * @RFKILL_TYPE_WIMAX: switch is on a WiMAX device. * @RFKILL_TYPE_WWAN: switch is on a wireless WAN device. * @RFKILL_TYPE_GPS: switch is on a GPS device. * @RFKILL_TYPE_FM: switch is on a FM radio device. * @RFKILL_TYPE_NFC: switch is on an NFC device. * @NUM_RFKILL_TYPES: number of defined rfkill types */ enum rfkill_type { RFKILL_TYPE_ALL = 0, RFKILL_TYPE_WLAN, RFKILL_TYPE_BLUETOOTH, RFKILL_TYPE_UWB, RFKILL_TYPE_WIMAX, RFKILL_TYPE_WWAN, RFKILL_TYPE_GPS, RFKILL_TYPE_FM, RFKILL_TYPE_NFC, NUM_RFKILL_TYPES, }; /** * enum rfkill_operation - operation types * @RFKILL_OP_ADD: a device was added * @RFKILL_OP_DEL: a device was removed * @RFKILL_OP_CHANGE: a device's state changed -- userspace changes one device * @RFKILL_OP_CHANGE_ALL: userspace changes all devices (of a type, or all) * into a state, also updating the default state used for devices that * are hot-plugged later. */ enum rfkill_operation { RFKILL_OP_ADD = 0, RFKILL_OP_DEL, RFKILL_OP_CHANGE, RFKILL_OP_CHANGE_ALL, }; /** * enum rfkill_hard_block_reasons - hard block reasons * @RFKILL_HARD_BLOCK_SIGNAL: the hardware rfkill signal is active * @RFKILL_HARD_BLOCK_NOT_OWNER: the NIC is not owned by the host */ enum rfkill_hard_block_reasons { RFKILL_HARD_BLOCK_SIGNAL = 1 << 0, RFKILL_HARD_BLOCK_NOT_OWNER = 1 << 1, }; /** * struct rfkill_event - events for userspace on /dev/rfkill * @idx: index of dev rfkill * @type: type of the rfkill struct * @op: operation code * @hard: hard state (0/1) * @soft: soft state (0/1) * * Structure used for userspace communication on /dev/rfkill, * used for events from the kernel and control to the kernel. */ struct rfkill_event { __u32 idx; __u8 type; __u8 op; __u8 soft; __u8 hard; } __attribute__((packed)); /** * struct rfkill_event_ext - events for userspace on /dev/rfkill * @idx: index of dev rfkill * @type: type of the rfkill struct * @op: operation code * @hard: hard state (0/1) * @soft: soft state (0/1) * @hard_block_reasons: valid if hard is set. One or several reasons from * &enum rfkill_hard_block_reasons. * * Structure used for userspace communication on /dev/rfkill, * used for events from the kernel and control to the kernel. * * See the extensibility docs below. */ struct rfkill_event_ext { __u32 idx; __u8 type; __u8 op; __u8 soft; __u8 hard; /* * older kernels will accept/send only up to this point, * and if extended further up to any chunk marked below */ __u8 hard_block_reasons; } __attribute__((packed)); /** * DOC: Extensibility * * Originally, we had planned to allow backward and forward compatible * changes by just adding fields at the end of the structure that are * then not reported on older kernels on read(), and not written to by * older kernels on write(), with the kernel reporting the size it did * accept as the result. * * This would have allowed userspace to detect on read() and write() * which kernel structure version it was dealing with, and if was just * recompiled it would have gotten the new fields, but obviously not * accessed them, but things should've continued to work. * * Unfortunately, while actually exercising this mechanism to add the * hard block reasons field, we found that userspace (notably systemd) * did all kinds of fun things not in line with this scheme: * * 1. treat the (expected) short writes as an error; * 2. ask to read sizeof(struct rfkill_event) but then compare the * actual return value to RFKILL_EVENT_SIZE_V1 and treat any * mismatch as an error. * * As a consequence, just recompiling with a new struct version caused * things to no longer work correctly on old and new kernels. * * Hence, we've rolled back &struct rfkill_event to the original version * and added &struct rfkill_event_ext. This effectively reverts to the * old behaviour for all userspace, unless it explicitly opts in to the * rules outlined here by using the new &struct rfkill_event_ext. * * Additionally, some other userspace (bluez, g-s-d) was reading with a * large size but as streaming reads rather than message-based, or with * too strict checks for the returned size. So eventually, we completely * reverted this, and extended messages need to be opted in to by using * an ioctl: * * ioctl(fd, RFKILL_IOCTL_MAX_SIZE, sizeof(struct rfkill_event_ext)); * * Userspace using &struct rfkill_event_ext and the ioctl must adhere to * the following rules: * * 1. accept short writes, optionally using them to detect that it's * running on an older kernel; * 2. accept short reads, knowing that this means it's running on an * older kernel; * 3. treat reads that are as long as requested as acceptable, not * checking against RFKILL_EVENT_SIZE_V1 or such. */ #define RFKILL_EVENT_SIZE_V1 sizeof(struct rfkill_event) /* ioctl for turning off rfkill-input (if present) */ #define RFKILL_IOC_MAGIC 'R' #define RFKILL_IOC_NOINPUT 1 #define RFKILL_IOCTL_NOINPUT _IO(RFKILL_IOC_MAGIC, RFKILL_IOC_NOINPUT) #define RFKILL_IOC_MAX_SIZE 2 #define RFKILL_IOCTL_MAX_SIZE _IOW(RFKILL_IOC_MAGIC, RFKILL_IOC_EXT_SIZE, __u32) /* and that's all userspace gets */ #endif /* __RFKILL_H */