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) 2011 Instituto Nokia de Tecnologia * * Authors: * Lauro Ramos Venancio <lauro.venancio@openbossa.org> * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> * * 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 __LINUX_NFC_H #define __LINUX_NFC_H #include <linux/types.h> #include <linux/socket.h> #define NFC_GENL_NAME "nfc" #define NFC_GENL_VERSION 1 #define NFC_GENL_MCAST_EVENT_NAME "events" /** * enum nfc_commands - supported nfc commands * * @NFC_CMD_UNSPEC: unspecified command * * @NFC_CMD_GET_DEVICE: request information about a device (requires * %NFC_ATTR_DEVICE_INDEX) or dump request to get a list of all nfc devices * @NFC_CMD_DEV_UP: turn on the nfc device * (requires %NFC_ATTR_DEVICE_INDEX) * @NFC_CMD_DEV_DOWN: turn off the nfc device * (requires %NFC_ATTR_DEVICE_INDEX) * @NFC_CMD_START_POLL: start polling for targets using the given protocols * (requires %NFC_ATTR_DEVICE_INDEX and %NFC_ATTR_PROTOCOLS) * @NFC_CMD_STOP_POLL: stop polling for targets (requires * %NFC_ATTR_DEVICE_INDEX) * @NFC_CMD_GET_TARGET: dump all targets found by the previous poll (requires * %NFC_ATTR_DEVICE_INDEX) * @NFC_EVENT_TARGETS_FOUND: event emitted when a new target is found * (it sends %NFC_ATTR_DEVICE_INDEX) * @NFC_EVENT_DEVICE_ADDED: event emitted when a new device is registred * (it sends %NFC_ATTR_DEVICE_NAME, %NFC_ATTR_DEVICE_INDEX and * %NFC_ATTR_PROTOCOLS) * @NFC_EVENT_DEVICE_REMOVED: event emitted when a device is removed * (it sends %NFC_ATTR_DEVICE_INDEX) * @NFC_EVENT_TM_ACTIVATED: event emitted when the adapter is activated in * target mode. * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated * from target mode. * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for * a device. LTO must be set before the link is up otherwise -EINPROGRESS * is returned. RW and MIUX can be set at anytime and will be passed in * subsequent CONNECT and CC messages. * If one of the passed parameters is wrong none is set and -EINVAL is * returned. * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element. * Once enabled a secure element will handle card emulation mode, i.e. * starting a poll from a device which has a secure element enabled means * we want to do SE based card emulation. * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. * @NFC_CMD_FW_DOWNLOAD: Request to Load/flash firmware, or event to inform * that some firmware was loaded * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered. * This typically will be sent whenever a new NFC controller with either * an embedded SE or an UICC one connected to it through SWP. * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from * the system, as a consequence of e.g. an NFC controller being unplugged. * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element * is requesting connectivity access. For example a UICC SE may need to * talk with a sleeping modem and will notify this need by sending this * event. It is then up to userspace to decide if it will wake the modem * up or not. * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on * a specific SE notifies us about the end of a transaction. The parameter * for this event is the application ID (AID). * @NFC_CMD_GET_SE: Dump all discovered secure elements from an NFC controller. * @NFC_CMD_SE_IO: Send/Receive APDUs to/from the selected secure element. * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target. * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly * from the driver in order to support hardware specific operations. */ enum nfc_commands { NFC_CMD_UNSPEC, NFC_CMD_GET_DEVICE, NFC_CMD_DEV_UP, NFC_CMD_DEV_DOWN, NFC_CMD_DEP_LINK_UP, NFC_CMD_DEP_LINK_DOWN, NFC_CMD_START_POLL, NFC_CMD_STOP_POLL, NFC_CMD_GET_TARGET, NFC_EVENT_TARGETS_FOUND, NFC_EVENT_DEVICE_ADDED, NFC_EVENT_DEVICE_REMOVED, NFC_EVENT_TARGET_LOST, NFC_EVENT_TM_ACTIVATED, NFC_EVENT_TM_DEACTIVATED, NFC_CMD_LLC_GET_PARAMS, NFC_CMD_LLC_SET_PARAMS, NFC_CMD_ENABLE_SE, NFC_CMD_DISABLE_SE, NFC_CMD_LLC_SDREQ, NFC_EVENT_LLC_SDRES, NFC_CMD_FW_DOWNLOAD, NFC_EVENT_SE_ADDED, NFC_EVENT_SE_REMOVED, NFC_EVENT_SE_CONNECTIVITY, NFC_EVENT_SE_TRANSACTION, NFC_CMD_GET_SE, NFC_CMD_SE_IO, NFC_CMD_ACTIVATE_TARGET, NFC_CMD_VENDOR, /* private: internal use only */ __NFC_CMD_AFTER_LAST }; #define NFC_CMD_MAX (__NFC_CMD_AFTER_LAST - 1) /** * enum nfc_attrs - supported nfc attributes * * @NFC_ATTR_UNSPEC: unspecified attribute * * @NFC_ATTR_DEVICE_INDEX: index of nfc device * @NFC_ATTR_DEVICE_NAME: device name, max 8 chars * @NFC_ATTR_PROTOCOLS: nfc protocols - bitwise or-ed combination from * NFC_PROTO_*_MASK constants * @NFC_ATTR_TARGET_INDEX: index of the nfc target * @NFC_ATTR_TARGET_SENS_RES: NFC-A targets extra information such as NFCID * @NFC_ATTR_TARGET_SEL_RES: NFC-A targets extra information (useful if the * target is not NFC-Forum compliant) * @NFC_ATTR_TARGET_NFCID1: NFC-A targets identifier, max 10 bytes * @NFC_ATTR_TARGET_SENSB_RES: NFC-B targets extra information, max 12 bytes * @NFC_ATTR_TARGET_SENSF_RES: NFC-F targets extra information, max 18 bytes * @NFC_ATTR_COMM_MODE: Passive or active mode * @NFC_ATTR_RF_MODE: Initiator or target * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for * @NFC_ATTR_LLC_PARAM_LTO: Link TimeOut parameter * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter * @NFC_ATTR_SE: Available Secure Elements * @NFC_ATTR_FIRMWARE_NAME: Free format firmware version * @NFC_ATTR_SE_INDEX: Secure element index * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED) * @NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS: Firmware download operation status * @NFC_ATTR_APDU: Secure element APDU * @NFC_ATTR_TARGET_ISO15693_DSFID: ISO 15693 Data Storage Format Identifier * @NFC_ATTR_TARGET_ISO15693_UID: ISO 15693 Unique Identifier * @NFC_ATTR_SE_PARAMS: Parameters data from an evt_transaction * @NFC_ATTR_VENDOR_ID: NFC manufacturer unique ID, typically an OUI * @NFC_ATTR_VENDOR_SUBCMD: Vendor specific sub command * @NFC_ATTR_VENDOR_DATA: Vendor specific data, to be optionally passed * to a vendor specific command implementation */ enum nfc_attrs { NFC_ATTR_UNSPEC, NFC_ATTR_DEVICE_INDEX, NFC_ATTR_DEVICE_NAME, NFC_ATTR_PROTOCOLS, NFC_ATTR_TARGET_INDEX, NFC_ATTR_TARGET_SENS_RES, NFC_ATTR_TARGET_SEL_RES, NFC_ATTR_TARGET_NFCID1, NFC_ATTR_TARGET_SENSB_RES, NFC_ATTR_TARGET_SENSF_RES, NFC_ATTR_COMM_MODE, NFC_ATTR_RF_MODE, NFC_ATTR_DEVICE_POWERED, NFC_ATTR_IM_PROTOCOLS, NFC_ATTR_TM_PROTOCOLS, NFC_ATTR_LLC_PARAM_LTO, NFC_ATTR_LLC_PARAM_RW, NFC_ATTR_LLC_PARAM_MIUX, NFC_ATTR_SE, NFC_ATTR_LLC_SDP, NFC_ATTR_FIRMWARE_NAME, NFC_ATTR_SE_INDEX, NFC_ATTR_SE_TYPE, NFC_ATTR_SE_AID, NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS, NFC_ATTR_SE_APDU, NFC_ATTR_TARGET_ISO15693_DSFID, NFC_ATTR_TARGET_ISO15693_UID, NFC_ATTR_SE_PARAMS, NFC_ATTR_VENDOR_ID, NFC_ATTR_VENDOR_SUBCMD, NFC_ATTR_VENDOR_DATA, /* private: internal use only */ __NFC_ATTR_AFTER_LAST }; #define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) enum nfc_sdp_attr { NFC_SDP_ATTR_UNSPEC, NFC_SDP_ATTR_URI, NFC_SDP_ATTR_SAP, /* private: internal use only */ __NFC_SDP_ATTR_AFTER_LAST }; #define NFC_SDP_ATTR_MAX (__NFC_SDP_ATTR_AFTER_LAST - 1) #define NFC_DEVICE_NAME_MAXSIZE 8 #define NFC_NFCID1_MAXSIZE 10 #define NFC_NFCID2_MAXSIZE 8 #define NFC_NFCID3_MAXSIZE 10 #define NFC_SENSB_RES_MAXSIZE 12 #define NFC_SENSF_RES_MAXSIZE 18 #define NFC_ATR_REQ_MAXSIZE 64 #define NFC_ATR_RES_MAXSIZE 64 #define NFC_ATR_REQ_GB_MAXSIZE 48 #define NFC_ATR_RES_GB_MAXSIZE 47 #define NFC_GB_MAXSIZE 48 #define NFC_FIRMWARE_NAME_MAXSIZE 32 #define NFC_ISO15693_UID_MAXSIZE 8 /* NFC protocols */ #define NFC_PROTO_JEWEL 1 #define NFC_PROTO_MIFARE 2 #define NFC_PROTO_FELICA 3 #define NFC_PROTO_ISO14443 4 #define NFC_PROTO_NFC_DEP 5 #define NFC_PROTO_ISO14443_B 6 #define NFC_PROTO_ISO15693 7 #define NFC_PROTO_MAX 8 /* NFC communication modes */ #define NFC_COMM_ACTIVE 0 #define NFC_COMM_PASSIVE 1 /* NFC RF modes */ #define NFC_RF_INITIATOR 0 #define NFC_RF_TARGET 1 #define NFC_RF_NONE 2 /* NFC protocols masks used in bitsets */ #define NFC_PROTO_JEWEL_MASK (1 << NFC_PROTO_JEWEL) #define NFC_PROTO_MIFARE_MASK (1 << NFC_PROTO_MIFARE) #define NFC_PROTO_FELICA_MASK (1 << NFC_PROTO_FELICA) #define NFC_PROTO_ISO14443_MASK (1 << NFC_PROTO_ISO14443) #define NFC_PROTO_NFC_DEP_MASK (1 << NFC_PROTO_NFC_DEP) #define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) #define NFC_PROTO_ISO15693_MASK (1 << NFC_PROTO_ISO15693) /* NFC Secure Elements */ #define NFC_SE_UICC 0x1 #define NFC_SE_EMBEDDED 0x2 #define NFC_SE_DISABLED 0x0 #define NFC_SE_ENABLED 0x1 struct sockaddr_nfc { sa_family_t sa_family; __u32 dev_idx; __u32 target_idx; __u32 nfc_protocol; }; #define NFC_LLCP_MAX_SERVICE_NAME 63 struct sockaddr_nfc_llcp { sa_family_t sa_family; __u32 dev_idx; __u32 target_idx; __u32 nfc_protocol; __u8 dsap; /* Destination SAP, if known */ __u8 ssap; /* Source SAP to be bound to */ char service_name[NFC_LLCP_MAX_SERVICE_NAME]; /* Service name URI */; size_t service_name_len; }; /* NFC socket protocols */ #define NFC_SOCKPROTO_RAW 0 #define NFC_SOCKPROTO_LLCP 1 #define NFC_SOCKPROTO_MAX 2 #define NFC_HEADER_SIZE 1 /** * Pseudo-header info for raw socket packets * First byte is the adapter index * Second byte contains flags * - 0x01 - Direction (0=RX, 1=TX) * - 0x02-0x04 - Payload type (000=LLCP, 001=NCI, 010=HCI, 011=Digital, * 100=Proprietary) * - 0x05-0x80 - Reserved **/ #define NFC_RAW_HEADER_SIZE 2 #define NFC_DIRECTION_RX 0x00 #define NFC_DIRECTION_TX 0x01 #define RAW_PAYLOAD_LLCP 0 #define RAW_PAYLOAD_NCI 1 #define RAW_PAYLOAD_HCI 2 #define RAW_PAYLOAD_DIGITAL 3 #define RAW_PAYLOAD_PROPRIETARY 4 /* socket option names */ #define NFC_LLCP_RW 0 #define NFC_LLCP_MIUX 1 #define NFC_LLCP_REMOTE_MIU 2 #define NFC_LLCP_REMOTE_LTO 3 #define NFC_LLCP_REMOTE_RW 4 #endif /*__LINUX_NFC_H */