Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
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
2021-04-21 07:31
byteorder
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
caif
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
can
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
dvb
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
hdlc
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
hsi
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
iio
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
isdn
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
mmc
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
netfilter
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
netfilter_arp
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
netfilter_bridge
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
nfsd
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
raid
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
spi
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
sunrpc
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
tc_act
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
tc_ematch
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
usb
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
wimax
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
a.out.h
7.15
KB
-rw-r--r--
2021-04-16 13:31
acct.h
3.58
KB
-rw-r--r--
2021-04-16 13:31
adb.h
1.05
KB
-rw-r--r--
2021-04-16 13:31
adfs_fs.h
873
B
-rw-r--r--
2021-04-16 13:31
affs_hardblocks.h
1.45
KB
-rw-r--r--
2021-04-16 13:31
agpgart.h
3.83
KB
-rw-r--r--
2021-04-16 13:31
aio_abi.h
3.1
KB
-rw-r--r--
2021-04-16 13:31
am437x-vpfe.h
3.53
KB
-rw-r--r--
2021-04-16 13:31
apm_bios.h
3.53
KB
-rw-r--r--
2021-04-16 13:31
arcfb.h
150
B
-rw-r--r--
2021-04-16 13:31
atalk.h
960
B
-rw-r--r--
2021-04-16 13:31
atm.h
7.64
KB
-rw-r--r--
2021-04-16 13:31
atm_eni.h
585
B
-rw-r--r--
2021-04-16 13:31
atm_he.h
343
B
-rw-r--r--
2021-04-16 13:31
atm_idt77105.h
892
B
-rw-r--r--
2021-04-16 13:31
atm_nicstar.h
1.19
KB
-rw-r--r--
2021-04-16 13:31
atm_tcp.h
1.52
KB
-rw-r--r--
2021-04-16 13:31
atm_zatm.h
1.44
KB
-rw-r--r--
2021-04-16 13:31
atmapi.h
889
B
-rw-r--r--
2021-04-16 13:31
atmarp.h
1.2
KB
-rw-r--r--
2021-04-16 13:31
atmbr2684.h
3.13
KB
-rw-r--r--
2021-04-16 13:31
atmclip.h
513
B
-rw-r--r--
2021-04-16 13:31
atmdev.h
7.44
KB
-rw-r--r--
2021-04-16 13:31
atmioc.h
1.55
KB
-rw-r--r--
2021-04-16 13:31
atmlec.h
2.26
KB
-rw-r--r--
2021-04-16 13:31
atmmpc.h
4.07
KB
-rw-r--r--
2021-04-16 13:31
atmppp.h
576
B
-rw-r--r--
2021-04-16 13:31
atmsap.h
4.79
KB
-rw-r--r--
2021-04-16 13:31
atmsvc.h
1.75
KB
-rw-r--r--
2021-04-16 13:31
audit.h
18.2
KB
-rw-r--r--
2021-04-16 13:31
aufs_type.h
10.35
KB
-rw-r--r--
2021-04-16 13:31
auto_fs.h
2.23
KB
-rw-r--r--
2021-04-16 13:31
auto_fs4.h
4.03
KB
-rw-r--r--
2021-04-16 13:31
auxvec.h
1.4
KB
-rw-r--r--
2021-04-16 13:31
ax25.h
2.7
KB
-rw-r--r--
2021-04-16 13:31
b1lli.h
1.62
KB
-rw-r--r--
2021-04-16 13:31
baycom.h
820
B
-rw-r--r--
2021-04-16 13:31
bcm933xx_hcs.h
356
B
-rw-r--r--
2021-04-16 13:31
bfs_fs.h
1.79
KB
-rw-r--r--
2021-04-16 13:31
binfmts.h
565
B
-rw-r--r--
2021-04-16 13:31
blkpg.h
1.53
KB
-rw-r--r--
2021-04-16 13:31
blktrace_api.h
4.38
KB
-rw-r--r--
2021-04-16 13:31
bpf.h
8.22
KB
-rw-r--r--
2021-04-16 13:31
bpf_common.h
1.2
KB
-rw-r--r--
2021-04-16 13:31
bpqether.h
952
B
-rw-r--r--
2021-04-16 13:31
bsg.h
2.37
KB
-rw-r--r--
2021-04-16 13:31
btrfs.h
20.16
KB
-rw-r--r--
2021-04-16 13:31
can.h
7.62
KB
-rw-r--r--
2021-04-16 13:31
capability.h
11.46
KB
-rw-r--r--
2021-04-16 13:31
capi.h
2.99
KB
-rw-r--r--
2021-04-16 13:31
cciss_defs.h
3.14
KB
-rw-r--r--
2021-04-16 13:31
cciss_ioctl.h
2.63
KB
-rw-r--r--
2021-04-16 13:31
cdrom.h
28.12
KB
-rw-r--r--
2021-04-16 13:31
cgroupstats.h
2.1
KB
-rw-r--r--
2021-04-16 13:31
chio.h
5.16
KB
-rw-r--r--
2021-04-16 13:31
cm4000_cs.h
1.7
KB
-rw-r--r--
2021-04-16 13:31
cn_proc.h
3.19
KB
-rw-r--r--
2021-04-16 13:31
coda.h
17.09
KB
-rw-r--r--
2021-04-16 13:31
coda_psdev.h
297
B
-rw-r--r--
2021-04-16 13:31
coff.h
12.12
KB
-rw-r--r--
2021-04-16 13:31
connector.h
2.14
KB
-rw-r--r--
2021-04-16 13:31
const.h
872
B
-rw-r--r--
2021-04-16 13:31
cramfs_fs.h
2.68
KB
-rw-r--r--
2021-04-16 13:31
cuda.h
842
B
-rw-r--r--
2021-04-16 13:31
cyclades.h
16.65
KB
-rw-r--r--
2021-04-16 13:31
cycx_cfm.h
2.86
KB
-rw-r--r--
2021-04-16 13:31
dcbnl.h
24.27
KB
-rw-r--r--
2021-04-16 13:31
dccp.h
6.22
KB
-rw-r--r--
2021-04-16 13:31
dlm.h
2.43
KB
-rw-r--r--
2021-04-16 13:31
dlm_device.h
2.42
KB
-rw-r--r--
2021-04-16 13:31
dlm_netlink.h
1.04
KB
-rw-r--r--
2021-04-16 13:31
dlm_plock.h
831
B
-rw-r--r--
2021-04-16 13:31
dlmconstants.h
4.9
KB
-rw-r--r--
2021-04-16 13:31
dm-ioctl.h
10.45
KB
-rw-r--r--
2021-04-16 13:31
dm-log-userspace.h
14.82
KB
-rw-r--r--
2021-04-16 13:31
dn.h
4.47
KB
-rw-r--r--
2021-04-16 13:31
dqblk_xfs.h
8.65
KB
-rw-r--r--
2021-04-16 13:31
edd.h
5.41
KB
-rw-r--r--
2021-04-16 13:31
efs_fs_sb.h
2.11
KB
-rw-r--r--
2021-04-16 13:31
elf-em.h
2.17
KB
-rw-r--r--
2021-04-16 13:31
elf-fdpic.h
1.04
KB
-rw-r--r--
2021-04-16 13:31
elf.h
11.64
KB
-rw-r--r--
2021-04-16 13:31
elfcore.h
2.86
KB
-rw-r--r--
2021-04-16 13:31
errno.h
23
B
-rw-r--r--
2021-04-16 13:31
errqueue.h
1.21
KB
-rw-r--r--
2021-04-16 13:31
ethtool.h
64.1
KB
-rw-r--r--
2021-04-16 13:31
eventpoll.h
2.32
KB
-rw-r--r--
2021-04-16 13:31
fadvise.h
779
B
-rw-r--r--
2021-04-16 13:31
falloc.h
2.72
KB
-rw-r--r--
2021-04-16 13:31
fanotify.h
3.42
KB
-rw-r--r--
2021-04-16 13:31
fb.h
16
KB
-rw-r--r--
2021-04-16 13:31
fcntl.h
2.16
KB
-rw-r--r--
2021-04-16 13:31
fd.h
11.34
KB
-rw-r--r--
2021-04-16 13:31
fdreg.h
5.23
KB
-rw-r--r--
2021-04-16 13:31
fib_rules.h
1.58
KB
-rw-r--r--
2021-04-16 13:31
fiemap.h
2.65
KB
-rw-r--r--
2021-04-16 13:31
filter.h
2.1
KB
-rw-r--r--
2021-04-16 13:31
firewire-cdev.h
42.86
KB
-rw-r--r--
2021-04-16 13:31
firewire-constants.h
3.16
KB
-rw-r--r--
2021-04-16 13:31
flat.h
2.04
KB
-rw-r--r--
2021-04-16 13:31
fou.h
631
B
-rw-r--r--
2021-04-16 13:31
fs.h
8.21
KB
-rw-r--r--
2021-04-16 13:31
fsl_hypervisor.h
7.05
KB
-rw-r--r--
2021-04-16 13:31
fuse.h
16.34
KB
-rw-r--r--
2021-04-16 13:31
futex.h
4.81
KB
-rw-r--r--
2021-04-16 13:31
gameport.h
834
B
-rw-r--r--
2021-04-16 13:31
gen_stats.h
1.46
KB
-rw-r--r--
2021-04-16 13:31
genetlink.h
1.77
KB
-rw-r--r--
2021-04-16 13:31
gfs2_ondisk.h
11.91
KB
-rw-r--r--
2021-04-16 13:31
gigaset_dev.h
1.35
KB
-rw-r--r--
2021-04-16 13:31
gsmmux.h
978
B
-rw-r--r--
2021-04-16 13:31
hdlc.h
574
B
-rw-r--r--
2021-04-16 13:31
hdlcdrv.h
2.78
KB
-rw-r--r--
2021-04-16 13:31
hdreg.h
22.11
KB
-rw-r--r--
2021-04-16 13:31
hid.h
1.79
KB
-rw-r--r--
2021-04-16 13:31
hiddev.h
6.13
KB
-rw-r--r--
2021-04-16 13:31
hidraw.h
1.41
KB
-rw-r--r--
2021-04-16 13:31
hpet.h
680
B
-rw-r--r--
2021-04-16 13:31
hsr_netlink.h
1017
B
-rw-r--r--
2021-04-16 13:31
hw_breakpoint.h
575
B
-rw-r--r--
2021-04-16 13:31
hyperv.h
10.26
KB
-rw-r--r--
2021-04-16 13:31
hysdn_if.h
1.29
KB
-rw-r--r--
2021-04-16 13:31
i2c-dev.h
2.49
KB
-rw-r--r--
2021-04-16 13:31
i2c.h
6.65
KB
-rw-r--r--
2021-04-16 13:31
i2o-dev.h
11.22
KB
-rw-r--r--
2021-04-16 13:31
i8k.h
1.43
KB
-rw-r--r--
2021-04-16 13:31
icmp.h
2.82
KB
-rw-r--r--
2021-04-16 13:31
icmpv6.h
3.82
KB
-rw-r--r--
2021-04-16 13:31
if.h
10.45
KB
-rw-r--r--
2021-04-16 13:31
if_addr.h
1.7
KB
-rw-r--r--
2021-04-16 13:31
if_addrlabel.h
658
B
-rw-r--r--
2021-04-16 13:31
if_alg.h
882
B
-rw-r--r--
2021-04-16 13:31
if_arcnet.h
3.57
KB
-rw-r--r--
2021-04-16 13:31
if_arp.h
6.24
KB
-rw-r--r--
2021-04-16 13:31
if_bonding.h
4.11
KB
-rw-r--r--
2021-04-16 13:31
if_bridge.h
4.46
KB
-rw-r--r--
2021-04-16 13:31
if_cablemodem.h
922
B
-rw-r--r--
2021-04-16 13:31
if_eql.h
1.26
KB
-rw-r--r--
2021-04-16 13:31
if_ether.h
7.13
KB
-rw-r--r--
2021-04-16 13:31
if_fc.h
1.63
KB
-rw-r--r--
2021-04-16 13:31
if_fddi.h
3.6
KB
-rw-r--r--
2021-04-16 13:31
if_frad.h
2.89
KB
-rw-r--r--
2021-04-16 13:31
if_hippi.h
4.07
KB
-rw-r--r--
2021-04-16 13:31
if_infiniband.h
1.13
KB
-rw-r--r--
2021-04-16 13:31
if_link.h
16.74
KB
-rw-r--r--
2021-04-16 13:31
if_ltalk.h
147
B
-rw-r--r--
2021-04-16 13:31
if_packet.h
7.63
KB
-rw-r--r--
2021-04-16 13:31
if_phonet.h
361
B
-rw-r--r--
2021-04-16 13:31
if_plip.h
596
B
-rw-r--r--
2021-04-16 13:31
if_ppp.h
29
B
-rw-r--r--
2021-04-16 13:31
if_pppol2tp.h
3.11
KB
-rw-r--r--
2021-04-16 13:31
if_pppox.h
4.64
KB
-rw-r--r--
2021-04-16 13:31
if_slip.h
809
B
-rw-r--r--
2021-04-16 13:31
if_team.h
2.48
KB
-rw-r--r--
2021-04-16 13:31
if_tun.h
3.72
KB
-rw-r--r--
2021-04-16 13:31
if_tunnel.h
3.14
KB
-rw-r--r--
2021-04-16 13:31
if_vlan.h
1.69
KB
-rw-r--r--
2021-04-16 13:31
if_x25.h
817
B
-rw-r--r--
2021-04-16 13:31
igmp.h
2.88
KB
-rw-r--r--
2021-04-16 13:31
ila.h
220
B
-rw-r--r--
2021-04-16 13:31
in.h
9.38
KB
-rw-r--r--
2021-04-16 13:31
in6.h
7.08
KB
-rw-r--r--
2021-04-16 13:31
in_route.h
873
B
-rw-r--r--
2021-04-16 13:31
inet_diag.h
2.78
KB
-rw-r--r--
2021-04-16 13:31
inotify.h
2.85
KB
-rw-r--r--
2021-04-16 13:31
input-event-codes.h
22.72
KB
-rw-r--r--
2021-04-16 13:31
input.h
14.7
KB
-rw-r--r--
2021-04-16 13:31
ioctl.h
100
B
-rw-r--r--
2021-04-16 13:31
ip.h
4.45
KB
-rw-r--r--
2021-04-16 13:31
ip6_tunnel.h
1.67
KB
-rw-r--r--
2021-04-16 13:31
ip_vs.h
13.23
KB
-rw-r--r--
2021-04-16 13:31
ipc.h
1.99
KB
-rw-r--r--
2021-04-16 13:31
ipmi.h
15.8
KB
-rw-r--r--
2021-04-16 13:31
ipmi_msgdefs.h
4.37
KB
-rw-r--r--
2021-04-16 13:31
ipsec.h
884
B
-rw-r--r--
2021-04-16 13:31
ipv6.h
3.45
KB
-rw-r--r--
2021-04-16 13:31
ipv6_route.h
1.73
KB
-rw-r--r--
2021-04-16 13:31
ipx.h
1.79
KB
-rw-r--r--
2021-04-16 13:31
irda.h
7.31
KB
-rw-r--r--
2021-04-16 13:31
irqnr.h
104
B
-rw-r--r--
2021-04-16 13:31
isdn.h
5.58
KB
-rw-r--r--
2021-04-16 13:31
isdn_divertif.h
1.11
KB
-rw-r--r--
2021-04-16 13:31
isdn_ppp.h
1.82
KB
-rw-r--r--
2021-04-16 13:31
isdnif.h
2.25
KB
-rw-r--r--
2021-04-16 13:31
iso_fs.h
6.29
KB
-rw-r--r--
2021-04-16 13:31
ivtv.h
2.89
KB
-rw-r--r--
2021-04-16 13:31
ivtvfb.h
1.12
KB
-rw-r--r--
2021-04-16 13:31
ixjuser.h
24.53
KB
-rw-r--r--
2021-04-16 13:31
jffs2.h
6.85
KB
-rw-r--r--
2021-04-16 13:31
joystick.h
3.5
KB
-rw-r--r--
2021-04-16 13:31
kcmp.h
214
B
-rw-r--r--
2021-04-16 13:31
kd.h
6.07
KB
-rw-r--r--
2021-04-16 13:31
kdev_t.h
320
B
-rw-r--r--
2021-04-16 13:31
kernel-page-flags.h
814
B
-rw-r--r--
2021-04-16 13:31
kernel.h
315
B
-rw-r--r--
2021-04-16 13:31
kernelcapi.h
956
B
-rw-r--r--
2021-04-16 13:31
kexec.h
1.69
KB
-rw-r--r--
2021-04-16 13:31
keyboard.h
12.42
KB
-rw-r--r--
2021-04-16 13:31
keyctl.h
2.98
KB
-rw-r--r--
2021-04-16 13:31
kvm.h
36.02
KB
-rw-r--r--
2021-04-16 13:31
kvm_para.h
760
B
-rw-r--r--
2021-04-16 13:31
l2tp.h
5.4
KB
-rw-r--r--
2021-04-16 13:31
libc-compat.h
6.15
KB
-rw-r--r--
2021-04-16 13:31
limits.h
874
B
-rw-r--r--
2021-04-16 13:31
llc.h
2.98
KB
-rw-r--r--
2021-04-16 13:31
loop.h
2.36
KB
-rw-r--r--
2021-04-16 13:31
lp.h
3.72
KB
-rw-r--r--
2021-04-16 13:31
lwtunnel.h
774
B
-rw-r--r--
2021-04-16 13:31
magic.h
2.85
KB
-rw-r--r--
2021-04-16 13:31
major.h
4.53
KB
-rw-r--r--
2021-04-16 13:31
map_to_7segment.h
7.02
KB
-rw-r--r--
2021-04-16 13:31
matroxfb.h
1.37
KB
-rw-r--r--
2021-04-16 13:31
mdio.h
13.74
KB
-rw-r--r--
2021-04-16 13:31
media-bus-format.h
5.47
KB
-rw-r--r--
2021-04-16 13:31
media.h
4.98
KB
-rw-r--r--
2021-04-16 13:31
mei.h
4.62
KB
-rw-r--r--
2021-04-16 13:31
membarrier.h
2.38
KB
-rw-r--r--
2021-04-16 13:31
memfd.h
186
B
-rw-r--r--
2021-04-16 13:31
mempolicy.h
2.35
KB
-rw-r--r--
2021-04-16 13:31
meye.h
2.41
KB
-rw-r--r--
2021-04-16 13:31
mic_common.h
6.3
KB
-rw-r--r--
2021-04-16 13:31
mic_ioctl.h
2.14
KB
-rw-r--r--
2021-04-16 13:31
mii.h
7.76
KB
-rw-r--r--
2021-04-16 13:31
minix_fs.h
2.01
KB
-rw-r--r--
2021-04-16 13:31
mman.h
230
B
-rw-r--r--
2021-04-16 13:31
mmtimer.h
2.01
KB
-rw-r--r--
2021-04-16 13:31
mpls.h
1.38
KB
-rw-r--r--
2021-04-16 13:31
mpls_iptunnel.h
650
B
-rw-r--r--
2021-04-16 13:31
mqueue.h
2.06
KB
-rw-r--r--
2021-04-16 13:31
mroute.h
4.12
KB
-rw-r--r--
2021-04-16 13:31
mroute6.h
4.19
KB
-rw-r--r--
2021-04-16 13:31
msdos_fs.h
6.74
KB
-rw-r--r--
2021-04-16 13:31
msg.h
3.21
KB
-rw-r--r--
2021-04-16 13:31
mtio.h
7.92
KB
-rw-r--r--
2021-04-16 13:31
n_r3964.h
2.29
KB
-rw-r--r--
2021-04-16 13:31
nbd.h
2.3
KB
-rw-r--r--
2021-04-16 13:31
ncp.h
4.94
KB
-rw-r--r--
2021-04-16 13:31
ncp_fs.h
3.27
KB
-rw-r--r--
2021-04-16 13:31
ncp_mount.h
2.06
KB
-rw-r--r--
2021-04-16 13:31
ncp_no.h
651
B
-rw-r--r--
2021-04-16 13:31
ndctl.h
5.13
KB
-rw-r--r--
2021-04-16 13:31
neighbour.h
4.11
KB
-rw-r--r--
2021-04-16 13:31
net.h
1.97
KB
-rw-r--r--
2021-04-16 13:31
net_dropmon.h
1.07
KB
-rw-r--r--
2021-04-16 13:31
net_namespace.h
609
B
-rw-r--r--
2021-04-16 13:31
net_tstamp.h
3.55
KB
-rw-r--r--
2021-04-16 13:31
netconf.h
485
B
-rw-r--r--
2021-04-16 13:31
netdevice.h
2.14
KB
-rw-r--r--
2021-04-16 13:31
netfilter.h
1.69
KB
-rw-r--r--
2021-04-16 13:31
netfilter_arp.h
380
B
-rw-r--r--
2021-04-16 13:31
netfilter_bridge.h
768
B
-rw-r--r--
2021-04-16 13:31
netfilter_decnet.h
1.83
KB
-rw-r--r--
2021-04-16 13:31
netfilter_ipv4.h
2.02
KB
-rw-r--r--
2021-04-16 13:31
netfilter_ipv6.h
2.04
KB
-rw-r--r--
2021-04-16 13:31
netlink.h
5.8
KB
-rw-r--r--
2021-04-16 13:31
netlink_diag.h
1.05
KB
-rw-r--r--
2021-04-16 13:31
netrom.h
744
B
-rw-r--r--
2021-04-16 13:31
nfc.h
10.84
KB
-rw-r--r--
2021-04-16 13:31
nfs.h
4.31
KB
-rw-r--r--
2021-04-16 13:31
nfs2.h
1.37
KB
-rw-r--r--
2021-04-16 13:31
nfs3.h
2.24
KB
-rw-r--r--
2021-04-16 13:31
nfs4.h
6.08
KB
-rw-r--r--
2021-04-16 13:31
nfs4_mount.h
1.83
KB
-rw-r--r--
2021-04-16 13:31
nfs_fs.h
1.51
KB
-rw-r--r--
2021-04-16 13:31
nfs_idmap.h
2.19
KB
-rw-r--r--
2021-04-16 13:31
nfs_mount.h
2.32
KB
-rw-r--r--
2021-04-16 13:31
nfsacl.h
605
B
-rw-r--r--
2021-04-16 13:31
nl80211.h
190.47
KB
-rw-r--r--
2021-04-16 13:31
nubus.h
8.17
KB
-rw-r--r--
2021-04-16 13:31
nvme_ioctl.h
1.51
KB
-rw-r--r--
2021-04-16 13:31
nvram.h
469
B
-rw-r--r--
2021-04-16 13:31
omap3isp.h
20.19
KB
-rw-r--r--
2021-04-16 13:31
omapfb.h
5.72
KB
-rw-r--r--
2021-04-16 13:31
oom.h
448
B
-rw-r--r--
2021-04-16 13:31
openvswitch.h
26.79
KB
-rw-r--r--
2021-04-16 13:31
packet_diag.h
1.57
KB
-rw-r--r--
2021-04-16 13:31
param.h
78
B
-rw-r--r--
2021-04-16 13:31
parport.h
3.56
KB
-rw-r--r--
2021-04-16 13:31
patchkey.h
829
B
-rw-r--r--
2021-04-16 13:31
pci.h
1.29
KB
-rw-r--r--
2021-04-16 13:31
pci_regs.h
47.93
KB
-rw-r--r--
2021-04-16 13:31
perf_event.h
27.45
KB
-rw-r--r--
2021-04-16 13:31
personality.h
1.99
KB
-rw-r--r--
2021-04-16 13:31
pfkeyv2.h
10.26
KB
-rw-r--r--
2021-04-16 13:31
pg.h
2.23
KB
-rw-r--r--
2021-04-16 13:31
phantom.h
1.55
KB
-rw-r--r--
2021-04-16 13:31
phonet.h
4.51
KB
-rw-r--r--
2021-04-16 13:31
pkt_cls.h
8.04
KB
-rw-r--r--
2021-04-16 13:31
pkt_sched.h
19.19
KB
-rw-r--r--
2021-04-16 13:31
pktcdvd.h
2.56
KB
-rw-r--r--
2021-04-16 13:31
pmu.h
5.13
KB
-rw-r--r--
2021-04-16 13:31
poll.h
22
B
-rw-r--r--
2021-04-16 13:31
posix_types.h
1.01
KB
-rw-r--r--
2021-04-16 13:31
ppdev.h
3.07
KB
-rw-r--r--
2021-04-16 13:31
ppp-comp.h
2.41
KB
-rw-r--r--
2021-04-16 13:31
ppp-ioctl.h
5.29
KB
-rw-r--r--
2021-04-16 13:31
ppp_defs.h
4.93
KB
-rw-r--r--
2021-04-16 13:31
pps.h
4.06
KB
-rw-r--r--
2021-04-16 13:31
prctl.h
6.91
KB
-rw-r--r--
2021-04-16 13:31
psci.h
3.76
KB
-rw-r--r--
2021-04-16 13:31
ptp_clock.h
4.69
KB
-rw-r--r--
2021-04-16 13:31
ptrace.h
3.2
KB
-rw-r--r--
2021-04-16 13:31
qnx4_fs.h
2.21
KB
-rw-r--r--
2021-04-16 13:31
qnxtypes.h
561
B
-rw-r--r--
2021-04-16 13:31
quota.h
5.86
KB
-rw-r--r--
2021-04-16 13:31
radeonfb.h
297
B
-rw-r--r--
2021-04-16 13:31
random.h
1.2
KB
-rw-r--r--
2021-04-16 13:31
raw.h
302
B
-rw-r--r--
2021-04-16 13:31
rds.h
7.88
KB
-rw-r--r--
2021-04-16 13:31
reboot.h
1.25
KB
-rw-r--r--
2021-04-16 13:31
reiserfs_fs.h
712
B
-rw-r--r--
2021-04-16 13:31
reiserfs_xattr.h
470
B
-rw-r--r--
2021-04-16 13:31
resource.h
2.23
KB
-rw-r--r--
2021-04-16 13:31
rfkill.h
3.5
KB
-rw-r--r--
2021-04-16 13:31
romfs_fs.h
1.15
KB
-rw-r--r--
2021-04-16 13:31
rose.h
2.12
KB
-rw-r--r--
2021-04-16 13:31
route.h
2.21
KB
-rw-r--r--
2021-04-16 13:31
rtc.h
3.85
KB
-rw-r--r--
2021-04-16 13:31
rtnetlink.h
16.24
KB
-rw-r--r--
2021-04-16 13:31
scc.h
4.43
KB
-rw-r--r--
2021-04-16 13:31
sched.h
2.19
KB
-rw-r--r--
2021-04-16 13:31
scif_ioctl.h
6.15
KB
-rw-r--r--
2021-04-16 13:31
screen_info.h
2.36
KB
-rw-r--r--
2021-04-16 13:31
sctp.h
26.67
KB
-rw-r--r--
2021-04-16 13:31
sdla.h
2.71
KB
-rw-r--r--
2021-04-16 13:31
seccomp.h
1.93
KB
-rw-r--r--
2021-04-16 13:31
securebits.h
2.58
KB
-rw-r--r--
2021-04-16 13:31
selinux_netlink.h
1.11
KB
-rw-r--r--
2021-04-16 13:31
sem.h
2.88
KB
-rw-r--r--
2021-04-16 13:31
serial.h
3.15
KB
-rw-r--r--
2021-04-16 13:31
serial_core.h
5.74
KB
-rw-r--r--
2021-04-16 13:31
serial_reg.h
15.16
KB
-rw-r--r--
2021-04-16 13:31
serio.h
1.8
KB
-rw-r--r--
2021-04-16 13:31
shm.h
2.55
KB
-rw-r--r--
2021-04-16 13:31
signal.h
171
B
-rw-r--r--
2021-04-16 13:31
signalfd.h
1.07
KB
-rw-r--r--
2021-04-16 13:31
smiapp.h
995
B
-rw-r--r--
2021-04-16 13:31
snmp.h
12.58
KB
-rw-r--r--
2021-04-16 13:31
sock_diag.h
621
B
-rw-r--r--
2021-04-16 13:31
socket.h
738
B
-rw-r--r--
2021-04-16 13:31
sockios.h
5.83
KB
-rw-r--r--
2021-04-16 13:31
sonet.h
2.17
KB
-rw-r--r--
2021-04-16 13:31
sonypi.h
5.12
KB
-rw-r--r--
2021-04-16 13:31
sound.h
1.15
KB
-rw-r--r--
2021-04-16 13:31
soundcard.h
44.96
KB
-rw-r--r--
2021-04-16 13:31
stat.h
1
KB
-rw-r--r--
2021-04-16 13:31
stddef.h
1
B
-rw-r--r--
2021-04-16 13:31
string.h
175
B
-rw-r--r--
2021-04-16 13:31
suspend_ioctls.h
1.34
KB
-rw-r--r--
2021-04-16 13:31
swab.h
6.36
KB
-rw-r--r--
2021-04-16 13:31
synclink.h
8.71
KB
-rw-r--r--
2021-04-16 13:31
sysctl.h
25.49
KB
-rw-r--r--
2021-04-16 13:31
sysinfo.h
986
B
-rw-r--r--
2021-04-16 13:31
target_core_user.h
3.28
KB
-rw-r--r--
2021-04-16 13:31
taskstats.h
6.83
KB
-rw-r--r--
2021-04-16 13:31
tcp.h
5.96
KB
-rw-r--r--
2021-04-16 13:31
tcp_metrics.h
1.43
KB
-rw-r--r--
2021-04-16 13:31
telephony.h
8.84
KB
-rw-r--r--
2021-04-16 13:31
termios.h
443
B
-rw-r--r--
2021-04-16 13:31
thermal.h
861
B
-rw-r--r--
2021-04-16 13:31
time.h
1.54
KB
-rw-r--r--
2021-04-16 13:31
times.h
215
B
-rw-r--r--
2021-04-16 13:31
timex.h
6.25
KB
-rw-r--r--
2021-04-16 13:31
tiocl.h
1.63
KB
-rw-r--r--
2021-04-16 13:31
tipc.h
5.99
KB
-rw-r--r--
2021-04-16 13:31
tipc_config.h
14.35
KB
-rw-r--r--
2021-04-16 13:31
tipc_netlink.h
6.71
KB
-rw-r--r--
2021-04-16 13:31
toshiba.h
1.82
KB
-rw-r--r--
2021-04-16 13:31
tty.h
1.37
KB
-rw-r--r--
2021-04-16 13:31
tty_flags.h
4.06
KB
-rw-r--r--
2021-04-16 13:31
types.h
1.4
KB
-rw-r--r--
2021-04-16 13:31
udf_fs_i.h
634
B
-rw-r--r--
2021-04-16 13:31
udp.h
1.28
KB
-rw-r--r--
2021-04-16 13:31
uhid.h
4.48
KB
-rw-r--r--
2021-04-16 13:31
uinput.h
5.75
KB
-rw-r--r--
2021-04-16 13:31
uio.h
668
B
-rw-r--r--
2021-04-16 13:31
ultrasound.h
4.39
KB
-rw-r--r--
2021-04-16 13:31
un.h
239
B
-rw-r--r--
2021-04-16 13:31
unistd.h
157
B
-rw-r--r--
2021-04-16 13:31
unix_diag.h
1.16
KB
-rw-r--r--
2021-04-16 13:31
usbdevice_fs.h
6.43
KB
-rw-r--r--
2021-04-16 13:31
usbip.h
577
B
-rw-r--r--
2021-04-16 13:31
userfaultfd.h
4.27
KB
-rw-r--r--
2021-04-16 13:31
utime.h
152
B
-rw-r--r--
2021-04-16 13:31
utsname.h
606
B
-rw-r--r--
2021-04-16 13:31
uuid.h
1.75
KB
-rw-r--r--
2021-04-16 13:31
uvcvideo.h
1.6
KB
-rw-r--r--
2021-04-16 13:31
v4l2-common.h
2.57
KB
-rw-r--r--
2021-04-16 13:31
v4l2-controls.h
42.97
KB
-rw-r--r--
2021-04-16 13:31
v4l2-dv-timings.h
29.21
KB
-rw-r--r--
2021-04-16 13:31
v4l2-mediabus.h
4.92
KB
-rw-r--r--
2021-04-16 13:31
v4l2-subdev.h
5.89
KB
-rw-r--r--
2021-04-16 13:31
version.h
97
B
-rw-r--r--
2021-04-16 13:31
veth.h
161
B
-rw-r--r--
2021-04-16 13:31
vfio.h
20.4
KB
-rw-r--r--
2021-04-16 13:31
vhost.h
6.16
KB
-rw-r--r--
2021-04-16 13:31
videodev2.h
79.43
KB
-rw-r--r--
2021-04-16 13:31
virtio_9p.h
1.99
KB
-rw-r--r--
2021-04-16 13:31
virtio_balloon.h
3.71
KB
-rw-r--r--
2021-04-16 13:31
virtio_blk.h
5.2
KB
-rw-r--r--
2021-04-16 13:31
virtio_config.h
2.98
KB
-rw-r--r--
2021-04-16 13:31
virtio_console.h
3.06
KB
-rw-r--r--
2021-04-16 13:31
virtio_gpu.h
7.84
KB
-rw-r--r--
2021-04-16 13:31
virtio_ids.h
2.26
KB
-rw-r--r--
2021-04-16 13:31
virtio_input.h
2.45
KB
-rw-r--r--
2021-04-16 13:31
virtio_net.h
9.79
KB
-rw-r--r--
2021-04-16 13:31
virtio_pci.h
6.91
KB
-rw-r--r--
2021-04-16 13:31
virtio_ring.h
6.2
KB
-rw-r--r--
2021-04-16 13:31
virtio_rng.h
265
B
-rw-r--r--
2021-04-16 13:31
virtio_scsi.h
5.89
KB
-rw-r--r--
2021-04-16 13:31
virtio_types.h
2.11
KB
-rw-r--r--
2021-04-16 13:31
vm_sockets.h
5.13
KB
-rw-r--r--
2021-04-16 13:31
vt.h
3
KB
-rw-r--r--
2021-04-16 13:31
wait.h
600
B
-rw-r--r--
2021-04-16 13:31
wanrouter.h
390
B
-rw-r--r--
2021-04-16 13:31
watchdog.h
2.22
KB
-rw-r--r--
2021-04-16 13:31
wimax.h
8.17
KB
-rw-r--r--
2021-04-16 13:31
wireless.h
41.65
KB
-rw-r--r--
2021-04-16 13:31
x25.h
3.42
KB
-rw-r--r--
2021-04-16 13:31
xattr.h
2.62
KB
-rw-r--r--
2021-04-16 13:31
xfrm.h
11.06
KB
-rw-r--r--
2021-04-16 13:31
xilinx-v4l2-controls.h
2.84
KB
-rw-r--r--
2021-04-16 13:31
zorro.h
3.16
KB
-rw-r--r--
2021-04-16 13:31
zorro_ids.h
29.2
KB
-rw-r--r--
2021-04-16 13:31
Save
Rename
/* * Copyright (c) 1999-2002 Vojtech Pavlik * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #ifndef _INPUT_H #define _INPUT_H #include <sys/time.h> #include <sys/ioctl.h> #include <sys/types.h> #include <linux/types.h> #include "input-event-codes.h" /* * The event structure itself */ struct input_event { struct timeval time; __u16 type; __u16 code; __s32 value; }; /* * Protocol version. */ #define EV_VERSION 0x010001 /* * IOCTLs (0x00 - 0x7f) */ struct input_id { __u16 bustype; __u16 vendor; __u16 product; __u16 version; }; /** * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls * @value: latest reported value for the axis. * @minimum: specifies minimum value for the axis. * @maximum: specifies maximum value for the axis. * @fuzz: specifies fuzz value that is used to filter noise from * the event stream. * @flat: values that are within this value will be discarded by * joydev interface and reported as 0 instead. * @resolution: specifies resolution for the values reported for * the axis. * * Note that input core does not clamp reported values to the * [minimum, maximum] limits, such task is left to userspace. * * Resolution for main axes (ABS_X, ABS_Y, ABS_Z) is reported in * units per millimeter (units/mm), resolution for rotational axes * (ABS_RX, ABS_RY, ABS_RZ) is reported in units per radian. */ struct input_absinfo { __s32 value; __s32 minimum; __s32 maximum; __s32 fuzz; __s32 flat; __s32 resolution; }; /** * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls * @scancode: scancode represented in machine-endian form. * @len: length of the scancode that resides in @scancode buffer. * @index: index in the keymap, may be used instead of scancode * @flags: allows to specify how kernel should handle the request. For * example, setting INPUT_KEYMAP_BY_INDEX flag indicates that kernel * should perform lookup in keymap by @index instead of @scancode * @keycode: key code assigned to this scancode * * The structure is used to retrieve and modify keymap data. Users have * option of performing lookup either by @scancode itself or by @index * in keymap entry. EVIOCGKEYCODE will also return scancode or index * (depending on which element was used to perform lookup). */ struct input_keymap_entry { #define INPUT_KEYMAP_BY_INDEX (1 << 0) __u8 flags; __u8 len; __u16 index; __u32 keycode; __u8 scancode[32]; }; struct input_mask { __u32 type; __u32 codes_size; __u64 codes_ptr; }; #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */ #define EVIOCGID _IOR('E', 0x02, struct input_id) /* get device ID */ #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */ #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */ #define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */ #define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry) #define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) /* set keycode */ #define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry) #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ #define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) /* get device properties */ /** * EVIOCGMTSLOTS(len) - get MT slot values * @len: size of the data buffer in bytes * * The ioctl buffer argument should be binary equivalent to * * struct input_mt_request_layout { * __u32 code; * __s32 values[num_slots]; * }; * * where num_slots is the (arbitrary) number of MT slots to extract. * * The ioctl size argument (len) is the size of the buffer, which * should satisfy len = (num_slots + 1) * sizeof(__s32). If len is * too small to fit all available slots, the first num_slots are * returned. * * Before the call, code is set to the wanted ABS_MT event type. On * return, values[] is filled with the slot values for the specified * ABS_MT code. * * If the request code is not an ABS_MT value, -EINVAL is returned. */ #define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len) #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */ #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ #define EVIOCSFF _IOW('E', 0x80, struct ff_effect) /* send a force effect to a force feedback device */ #define EVIOCRMFF _IOW('E', 0x81, int) /* Erase a force effect */ #define EVIOCGEFFECTS _IOR('E', 0x84, int) /* Report number of effects playable at the same time */ #define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */ #define EVIOCREVOKE _IOW('E', 0x91, int) /* Revoke device access */ /** * EVIOCGMASK - Retrieve current event mask * * This ioctl allows user to retrieve the current event mask for specific * event type. The argument must be of type "struct input_mask" and * specifies the event type to query, the address of the receive buffer and * the size of the receive buffer. * * The event mask is a per-client mask that specifies which events are * forwarded to the client. Each event code is represented by a single bit * in the event mask. If the bit is set, the event is passed to the client * normally. Otherwise, the event is filtered and will never be queued on * the client's receive buffer. * * Event masks do not affect global state of the input device. They only * affect the file descriptor they are applied to. * * The default event mask for a client has all bits set, i.e. all events * are forwarded to the client. If the kernel is queried for an unknown * event type or if the receive buffer is larger than the number of * event codes known to the kernel, the kernel returns all zeroes for those * codes. * * At maximum, codes_size bytes are copied. * * This ioctl may fail with ENODEV in case the file is revoked, EFAULT * if the receive-buffer points to invalid memory, or EINVAL if the kernel * does not implement the ioctl. */ #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */ /** * EVIOCSMASK - Set event mask * * This ioctl is the counterpart to EVIOCGMASK. Instead of receiving the * current event mask, this changes the client's event mask for a specific * type. See EVIOCGMASK for a description of event-masks and the * argument-type. * * This ioctl provides full forward compatibility. If the passed event type * is unknown to the kernel, or if the number of event codes specified in * the mask is bigger than what is known to the kernel, the ioctl is still * accepted and applied. However, any unknown codes are left untouched and * stay cleared. That means, the kernel always filters unknown codes * regardless of what the client requests. If the new mask doesn't cover * all known event-codes, all remaining codes are automatically cleared and * thus filtered. * * This ioctl may fail with ENODEV in case the file is revoked. EFAULT is * returned if the receive-buffer points to invalid memory. EINVAL is returned * if the kernel does not implement the ioctl. */ #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */ #define EVIOCSCLOCKID _IOW('E', 0xa0, int) /* Set clockid to be used for timestamps */ /* * IDs. */ #define ID_BUS 0 #define ID_VENDOR 1 #define ID_PRODUCT 2 #define ID_VERSION 3 #define BUS_PCI 0x01 #define BUS_ISAPNP 0x02 #define BUS_USB 0x03 #define BUS_HIL 0x04 #define BUS_BLUETOOTH 0x05 #define BUS_VIRTUAL 0x06 #define BUS_ISA 0x10 #define BUS_I8042 0x11 #define BUS_XTKBD 0x12 #define BUS_RS232 0x13 #define BUS_GAMEPORT 0x14 #define BUS_PARPORT 0x15 #define BUS_AMIGA 0x16 #define BUS_ADB 0x17 #define BUS_I2C 0x18 #define BUS_HOST 0x19 #define BUS_GSC 0x1A #define BUS_ATARI 0x1B #define BUS_SPI 0x1C /* * MT_TOOL types */ #define MT_TOOL_FINGER 0 #define MT_TOOL_PEN 1 #define MT_TOOL_PALM 2 #define MT_TOOL_MAX 2 /* * Values describing the status of a force-feedback effect */ #define FF_STATUS_STOPPED 0x00 #define FF_STATUS_PLAYING 0x01 #define FF_STATUS_MAX 0x01 /* * Structures used in ioctls to upload effects to a device * They are pieces of a bigger structure (called ff_effect) */ /* * All duration values are expressed in ms. Values above 32767 ms (0x7fff) * should not be used and have unspecified results. */ /** * struct ff_replay - defines scheduling of the force-feedback effect * @length: duration of the effect * @delay: delay before effect should start playing */ struct ff_replay { __u16 length; __u16 delay; }; /** * struct ff_trigger - defines what triggers the force-feedback effect * @button: number of the button triggering the effect * @interval: controls how soon the effect can be re-triggered */ struct ff_trigger { __u16 button; __u16 interval; }; /** * struct ff_envelope - generic force-feedback effect envelope * @attack_length: duration of the attack (ms) * @attack_level: level at the beginning of the attack * @fade_length: duration of fade (ms) * @fade_level: level at the end of fade * * The @attack_level and @fade_level are absolute values; when applying * envelope force-feedback core will convert to positive/negative * value based on polarity of the default level of the effect. * Valid range for the attack and fade levels is 0x0000 - 0x7fff */ struct ff_envelope { __u16 attack_length; __u16 attack_level; __u16 fade_length; __u16 fade_level; }; /** * struct ff_constant_effect - defines parameters of a constant force-feedback effect * @level: strength of the effect; may be negative * @envelope: envelope data */ struct ff_constant_effect { __s16 level; struct ff_envelope envelope; }; /** * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect * @start_level: beginning strength of the effect; may be negative * @end_level: final strength of the effect; may be negative * @envelope: envelope data */ struct ff_ramp_effect { __s16 start_level; __s16 end_level; struct ff_envelope envelope; }; /** * struct ff_condition_effect - defines a spring or friction force-feedback effect * @right_saturation: maximum level when joystick moved all way to the right * @left_saturation: same for the left side * @right_coeff: controls how fast the force grows when the joystick moves * to the right * @left_coeff: same for the left side * @deadband: size of the dead zone, where no force is produced * @center: position of the dead zone */ struct ff_condition_effect { __u16 right_saturation; __u16 left_saturation; __s16 right_coeff; __s16 left_coeff; __u16 deadband; __s16 center; }; /** * struct ff_periodic_effect - defines parameters of a periodic force-feedback effect * @waveform: kind of the effect (wave) * @period: period of the wave (ms) * @magnitude: peak value * @offset: mean value of the wave (roughly) * @phase: 'horizontal' shift * @envelope: envelope data * @custom_len: number of samples (FF_CUSTOM only) * @custom_data: buffer of samples (FF_CUSTOM only) * * Known waveforms - FF_SQUARE, FF_TRIANGLE, FF_SINE, FF_SAW_UP, * FF_SAW_DOWN, FF_CUSTOM. The exact syntax FF_CUSTOM is undefined * for the time being as no driver supports it yet. * * Note: the data pointed by custom_data is copied by the driver. * You can therefore dispose of the memory after the upload/update. */ struct ff_periodic_effect { __u16 waveform; __u16 period; __s16 magnitude; __s16 offset; __u16 phase; struct ff_envelope envelope; __u32 custom_len; __s16 *custom_data; }; /** * struct ff_rumble_effect - defines parameters of a periodic force-feedback effect * @strong_magnitude: magnitude of the heavy motor * @weak_magnitude: magnitude of the light one * * Some rumble pads have two motors of different weight. Strong_magnitude * represents the magnitude of the vibration generated by the heavy one. */ struct ff_rumble_effect { __u16 strong_magnitude; __u16 weak_magnitude; }; /** * struct ff_effect - defines force feedback effect * @type: type of the effect (FF_CONSTANT, FF_PERIODIC, FF_RAMP, FF_SPRING, * FF_FRICTION, FF_DAMPER, FF_RUMBLE, FF_INERTIA, or FF_CUSTOM) * @id: an unique id assigned to an effect * @direction: direction of the effect * @trigger: trigger conditions (struct ff_trigger) * @replay: scheduling of the effect (struct ff_replay) * @u: effect-specific structure (one of ff_constant_effect, ff_ramp_effect, * ff_periodic_effect, ff_condition_effect, ff_rumble_effect) further * defining effect parameters * * This structure is sent through ioctl from the application to the driver. * To create a new effect application should set its @id to -1; the kernel * will return assigned @id which can later be used to update or delete * this effect. * * Direction of the effect is encoded as follows: * 0 deg -> 0x0000 (down) * 90 deg -> 0x4000 (left) * 180 deg -> 0x8000 (up) * 270 deg -> 0xC000 (right) */ struct ff_effect { __u16 type; __s16 id; __u16 direction; struct ff_trigger trigger; struct ff_replay replay; union { struct ff_constant_effect constant; struct ff_ramp_effect ramp; struct ff_periodic_effect periodic; struct ff_condition_effect condition[2]; /* One for each axis */ struct ff_rumble_effect rumble; } u; }; /* * Force feedback effect types */ #define FF_RUMBLE 0x50 #define FF_PERIODIC 0x51 #define FF_CONSTANT 0x52 #define FF_SPRING 0x53 #define FF_FRICTION 0x54 #define FF_DAMPER 0x55 #define FF_INERTIA 0x56 #define FF_RAMP 0x57 #define FF_EFFECT_MIN FF_RUMBLE #define FF_EFFECT_MAX FF_RAMP /* * Force feedback periodic effect types */ #define FF_SQUARE 0x58 #define FF_TRIANGLE 0x59 #define FF_SINE 0x5a #define FF_SAW_UP 0x5b #define FF_SAW_DOWN 0x5c #define FF_CUSTOM 0x5d #define FF_WAVEFORM_MIN FF_SQUARE #define FF_WAVEFORM_MAX FF_CUSTOM /* * Set ff device properties */ #define FF_GAIN 0x60 #define FF_AUTOCENTER 0x61 /* * ff->playback(effect_id = FF_GAIN) is the first effect_id to * cause a collision with another ff method, in this case ff->set_gain(). * Therefore the greatest safe value for effect_id is FF_GAIN - 1, * and thus the total number of effects should never exceed FF_GAIN. */ #define FF_MAX_EFFECTS FF_GAIN #define FF_MAX 0x7f #define FF_CNT (FF_MAX+1) #endif /* _INPUT_H */