Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.127.132
130 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
linux /
[ HOME SHELL ]
Name
Size
Permission
Action
android
[ DIR ]
drwxr-xr-x
byteorder
[ DIR ]
drwxr-xr-x
caif
[ DIR ]
drwxr-xr-x
can
[ DIR ]
drwxr-xr-x
cifs
[ DIR ]
drwxr-xr-x
dvb
[ DIR ]
drwxr-xr-x
genwqe
[ DIR ]
drwxr-xr-x
hdlc
[ DIR ]
drwxr-xr-x
hsi
[ DIR ]
drwxr-xr-x
iio
[ DIR ]
drwxr-xr-x
isdn
[ DIR ]
drwxr-xr-x
misc
[ DIR ]
drwxr-xr-x
mmc
[ DIR ]
drwxr-xr-x
netfilter
[ DIR ]
drwxr-xr-x
netfilter_arp
[ DIR ]
drwxr-xr-x
netfilter_bridge
[ DIR ]
drwxr-xr-x
netfilter_ipv4
[ DIR ]
drwxr-xr-x
netfilter_ipv6
[ DIR ]
drwxr-xr-x
nfsd
[ DIR ]
drwxr-xr-x
raid
[ DIR ]
drwxr-xr-x
sched
[ DIR ]
drwxr-xr-x
spi
[ DIR ]
drwxr-xr-x
sunrpc
[ DIR ]
drwxr-xr-x
surface_aggregator
[ DIR ]
drwxr-xr-x
tc_act
[ DIR ]
drwxr-xr-x
tc_ematch
[ DIR ]
drwxr-xr-x
usb
[ DIR ]
drwxr-xr-x
a.out.h
6.73
KB
-rw-r--r--
acct.h
3.74
KB
-rw-r--r--
acrn.h
16.3
KB
-rw-r--r--
adb.h
1.11
KB
-rw-r--r--
adfs_fs.h
993
B
-rw-r--r--
affs_hardblocks.h
1.54
KB
-rw-r--r--
agpgart.h
3.85
KB
-rw-r--r--
aio_abi.h
3.32
KB
-rw-r--r--
am437x-vpfe.h
3.59
KB
-rw-r--r--
apm_bios.h
3.6
KB
-rw-r--r--
arcfb.h
213
B
-rw-r--r--
arm_sdei.h
2.69
KB
-rw-r--r--
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
aspeed-p2a-ctrl.h
1.86
KB
-rw-r--r--
atalk.h
1023
B
-rw-r--r--
atm.h
7.7
KB
-rw-r--r--
atm_eni.h
648
B
-rw-r--r--
atm_he.h
406
B
-rw-r--r--
atm_idt77105.h
955
B
-rw-r--r--
atm_nicstar.h
1.25
KB
-rw-r--r--
atm_tcp.h
1.58
KB
-rw-r--r--
atm_zatm.h
1.5
KB
-rw-r--r--
atmapi.h
952
B
-rw-r--r--
atmarp.h
1.27
KB
-rw-r--r--
atmbr2684.h
3.19
KB
-rw-r--r--
atmclip.h
576
B
-rw-r--r--
atmdev.h
7.5
KB
-rw-r--r--
atmioc.h
1.61
KB
-rw-r--r--
atmlec.h
2.33
KB
-rw-r--r--
atmmpc.h
4.13
KB
-rw-r--r--
atmppp.h
639
B
-rw-r--r--
atmsap.h
4.85
KB
-rw-r--r--
atmsvc.h
1.81
KB
-rw-r--r--
audit.h
20.75
KB
-rw-r--r--
aufs_type.h
10.9
KB
-rw-r--r--
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
auto_fs.h
6.28
KB
-rw-r--r--
auto_fs4.h
451
B
-rw-r--r--
auxvec.h
1.56
KB
-rw-r--r--
ax25.h
2.76
KB
-rw-r--r--
batadv_packet.h
19.87
KB
-rw-r--r--
batman_adv.h
16.49
KB
-rw-r--r--
baycom.h
883
B
-rw-r--r--
bcache.h
9.74
KB
-rw-r--r--
bcm933xx_hcs.h
419
B
-rw-r--r--
bfs_fs.h
1.86
KB
-rw-r--r--
binfmts.h
776
B
-rw-r--r--
blkpg.h
904
B
-rw-r--r--
blktrace_api.h
4.59
KB
-rw-r--r--
blkzoned.h
6.34
KB
-rw-r--r--
bpf.h
229.48
KB
-rw-r--r--
bpf_common.h
1.33
KB
-rw-r--r--
bpf_perf_event.h
529
B
-rw-r--r--
bpfilter.h
465
B
-rw-r--r--
bpqether.h
981
B
-rw-r--r--
bsg.h
2.44
KB
-rw-r--r--
bt-bmc.h
572
B
-rw-r--r--
btf.h
4.68
KB
-rw-r--r--
btrfs.h
30.13
KB
-rw-r--r--
btrfs_tree.h
26.72
KB
-rw-r--r--
can.h
9.04
KB
-rw-r--r--
capability.h
13.18
KB
-rw-r--r--
capi.h
3.05
KB
-rw-r--r--
cciss_defs.h
3.2
KB
-rw-r--r--
cciss_ioctl.h
2.7
KB
-rw-r--r--
ccs.h
767
B
-rw-r--r--
cdrom.h
28.22
KB
-rw-r--r--
cec-funcs.h
52.79
KB
-rw-r--r--
cec.h
40.44
KB
-rw-r--r--
cfm_bridge.h
1.42
KB
-rw-r--r--
cgroupstats.h
2.17
KB
-rw-r--r--
chio.h
5.16
KB
-rw-r--r--
close_range.h
377
B
-rw-r--r--
cm4000_cs.h
1.76
KB
-rw-r--r--
cn_proc.h
3.38
KB
-rw-r--r--
coda.h
17.79
KB
-rw-r--r--
coff.h
12.25
KB
-rw-r--r--
connector.h
2.2
KB
-rw-r--r--
const.h
991
B
-rw-r--r--
coresight-stm.h
747
B
-rw-r--r--
cramfs_fs.h
3.47
KB
-rw-r--r--
cryptouser.h
5.2
KB
-rw-r--r--
cuda.h
905
B
-rw-r--r--
cxl_mem.h
6.32
KB
-rw-r--r--
cyclades.h
969
B
-rw-r--r--
cycx_cfm.h
2.92
KB
-rw-r--r--
dcbnl.h
24.7
KB
-rw-r--r--
dccp.h
6.29
KB
-rw-r--r--
devlink.h
19.72
KB
-rw-r--r--
dlm.h
2.49
KB
-rw-r--r--
dlm_device.h
2.48
KB
-rw-r--r--
dlm_netlink.h
1.13
KB
-rw-r--r--
dlm_plock.h
894
B
-rw-r--r--
dlmconstants.h
4.96
KB
-rw-r--r--
dm-ioctl.h
11.33
KB
-rw-r--r--
dm-log-userspace.h
14.83
KB
-rw-r--r--
dma-buf.h
3.69
KB
-rw-r--r--
dma-heap.h
1.36
KB
-rw-r--r--
dns_resolver.h
3.86
KB
-rw-r--r--
dqblk_xfs.h
9.17
KB
-rw-r--r--
edd.h
5.47
KB
-rw-r--r--
efs_fs_sb.h
2.17
KB
-rw-r--r--
elf-em.h
2.53
KB
-rw-r--r--
elf-fdpic.h
1.1
KB
-rw-r--r--
elf.h
13.83
KB
-rw-r--r--
errno.h
23
B
-rw-r--r--
errqueue.h
1.94
KB
-rw-r--r--
erspan.h
1.03
KB
-rw-r--r--
ethtool.h
80.6
KB
-rw-r--r--
ethtool_netlink.h
22.53
KB
-rw-r--r--
eventpoll.h
2.84
KB
-rw-r--r--
f2fs.h
3.22
KB
-rw-r--r--
fadvise.h
842
B
-rw-r--r--
falloc.h
3.5
KB
-rw-r--r--
fanotify.h
7.3
KB
-rw-r--r--
fb.h
16.09
KB
-rw-r--r--
fcntl.h
4.15
KB
-rw-r--r--
fd.h
11.83
KB
-rw-r--r--
fdreg.h
5.24
KB
-rw-r--r--
fib_rules.h
1.99
KB
-rw-r--r--
fiemap.h
2.71
KB
-rw-r--r--
filter.h
2.16
KB
-rw-r--r--
firewire-cdev.h
43.2
KB
-rw-r--r--
firewire-constants.h
3.16
KB
-rw-r--r--
fou.h
894
B
-rw-r--r--
fpga-dfl.h
8.52
KB
-rw-r--r--
fs.h
12.01
KB
-rw-r--r--
fscrypt.h
6.42
KB
-rw-r--r--
fsi.h
2.2
KB
-rw-r--r--
fsl_hypervisor.h
7.13
KB
-rw-r--r--
fsl_mc.h
734
B
-rw-r--r--
fsmap.h
4.29
KB
-rw-r--r--
fsverity.h
3.11
KB
-rw-r--r--
fuse.h
22.45
KB
-rw-r--r--
futex.h
4.97
KB
-rw-r--r--
gameport.h
897
B
-rw-r--r--
gen_stats.h
1.49
KB
-rw-r--r--
genetlink.h
2.12
KB
-rw-r--r--
gfs2_ondisk.h
14.43
KB
-rw-r--r--
gpio.h
19.3
KB
-rw-r--r--
gsmmux.h
1.12
KB
-rw-r--r--
gtp.h
716
B
-rw-r--r--
hash_info.h
971
B
-rw-r--r--
hdlc.h
637
B
-rw-r--r--
hdlcdrv.h
2.84
KB
-rw-r--r--
hdreg.h
22.17
KB
-rw-r--r--
hid.h
1.86
KB
-rw-r--r--
hiddev.h
6.2
KB
-rw-r--r--
hidraw.h
1.95
KB
-rw-r--r--
hpet.h
743
B
-rw-r--r--
hsr_netlink.h
1.08
KB
-rw-r--r--
hw_breakpoint.h
742
B
-rw-r--r--
hyperv.h
10.32
KB
-rw-r--r--
i2c-dev.h
1.83
KB
-rw-r--r--
i2c.h
6.73
KB
-rw-r--r--
i2o-dev.h
11.28
KB
-rw-r--r--
i8k.h
1.49
KB
-rw-r--r--
icmp.h
4.67
KB
-rw-r--r--
icmpv6.h
4.17
KB
-rw-r--r--
idxd.h
7.4
KB
-rw-r--r--
if.h
10.67
KB
-rw-r--r--
if_addr.h
1.84
KB
-rw-r--r--
if_addrlabel.h
721
B
-rw-r--r--
if_alg.h
1.53
KB
-rw-r--r--
if_arcnet.h
3.63
KB
-rw-r--r--
if_arp.h
6.43
KB
-rw-r--r--
if_bonding.h
5.02
KB
-rw-r--r--
if_bridge.h
18.66
KB
-rw-r--r--
if_cablemodem.h
986
B
-rw-r--r--
if_eql.h
1.32
KB
-rw-r--r--
if_ether.h
8.24
KB
-rw-r--r--
if_fc.h
1.7
KB
-rw-r--r--
if_fddi.h
4.27
KB
-rw-r--r--
if_hippi.h
4.14
KB
-rw-r--r--
if_infiniband.h
1.22
KB
-rw-r--r--
if_link.h
30.98
KB
-rw-r--r--
if_ltalk.h
210
B
-rw-r--r--
if_macsec.h
6.32
KB
-rw-r--r--
if_packet.h
7.96
KB
-rw-r--r--
if_phonet.h
424
B
-rw-r--r--
if_plip.h
660
B
-rw-r--r--
if_ppp.h
29
B
-rw-r--r--
if_pppol2tp.h
3.23
KB
-rw-r--r--
if_pppox.h
4.76
KB
-rw-r--r--
if_slip.h
872
B
-rw-r--r--
if_team.h
2.54
KB
-rw-r--r--
if_tun.h
4
KB
-rw-r--r--
if_tunnel.h
4.72
KB
-rw-r--r--
if_vlan.h
1.79
KB
-rw-r--r--
if_x25.h
881
B
-rw-r--r--
if_xdp.h
2.94
KB
-rw-r--r--
ife.h
351
B
-rw-r--r--
igmp.h
2.99
KB
-rw-r--r--
ila.h
1.22
KB
-rw-r--r--
in.h
10.63
KB
-rw-r--r--
in6.h
7.4
KB
-rw-r--r--
in_route.h
936
B
-rw-r--r--
inet_diag.h
4.9
KB
-rw-r--r--
inotify.h
3.21
KB
-rw-r--r--
input-event-codes.h
28.21
KB
-rw-r--r--
input.h
15.61
KB
-rw-r--r--
io_uring.h
9.57
KB
-rw-r--r--
ioam6.h
2.33
KB
-rw-r--r--
ioam6_genl.h
945
B
-rw-r--r--
ioam6_iptunnel.h
436
B
-rw-r--r--
ioctl.h
163
B
-rw-r--r--
iommu.h
11.73
KB
-rw-r--r--
ioprio.h
1.42
KB
-rw-r--r--
ip.h
4.7
KB
-rw-r--r--
ip6_tunnel.h
1.91
KB
-rw-r--r--
ip_vs.h
13.8
KB
-rw-r--r--
ipc.h
2.05
KB
-rw-r--r--
ipmi.h
14.7
KB
-rw-r--r--
ipmi_bmc.h
488
B
-rw-r--r--
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
ipsec.h
947
B
-rw-r--r--
ipu-isys.h
481
B
-rw-r--r--
ipu-psys.h
3.48
KB
-rw-r--r--
ipv6.h
4.22
KB
-rw-r--r--
ipv6_route.h
1.86
KB
-rw-r--r--
irqnr.h
104
B
-rw-r--r--
iso_fs.h
6.33
KB
-rw-r--r--
isst_if.h
5.28
KB
-rw-r--r--
ivtv.h
2.95
KB
-rw-r--r--
ivtvfb.h
1.18
KB
-rw-r--r--
jffs2.h
6.66
KB
-rw-r--r--
joystick.h
3.35
KB
-rw-r--r--
kcm.h
822
B
-rw-r--r--
kcmp.h
522
B
-rw-r--r--
kcov.h
1.92
KB
-rw-r--r--
kd.h
6.1
KB
-rw-r--r--
kdev_t.h
383
B
-rw-r--r--
kernel-page-flags.h
900
B
-rw-r--r--
kernel.h
194
B
-rw-r--r--
kernelcapi.h
1019
B
-rw-r--r--
kexec.h
1.87
KB
-rw-r--r--
keyboard.h
13.14
KB
-rw-r--r--
keyctl.h
5.86
KB
-rw-r--r--
kfd_ioctl.h
23.55
KB
-rw-r--r--
kvm.h
59.33
KB
-rw-r--r--
kvm_para.h
1001
B
-rw-r--r--
l2tp.h
5.64
KB
-rw-r--r--
landlock.h
4.67
KB
-rw-r--r--
libc-compat.h
8.09
KB
-rw-r--r--
limits.h
937
B
-rw-r--r--
lirc.h
7.95
KB
-rw-r--r--
llc.h
3.09
KB
-rw-r--r--
loop.h
3.42
KB
-rw-r--r--
lp.h
4.09
KB
-rw-r--r--
lwtunnel.h
2.17
KB
-rw-r--r--
magic.h
3.71
KB
-rw-r--r--
major.h
4.55
KB
-rw-r--r--
map_to_7segment.h
6.45
KB
-rw-r--r--
matroxfb.h
1.43
KB
-rw-r--r--
max2175.h
1.01
KB
-rw-r--r--
mctp.h
736
B
-rw-r--r--
mdio.h
16.87
KB
-rw-r--r--
media-bus-format.h
6.75
KB
-rw-r--r--
media.h
12.41
KB
-rw-r--r--
mei.h
3.39
KB
-rw-r--r--
membarrier.h
9.14
KB
-rw-r--r--
memfd.h
1.29
KB
-rw-r--r--
mempolicy.h
2.51
KB
-rw-r--r--
meye.h
2.47
KB
-rw-r--r--
mii.h
9.27
KB
-rw-r--r--
minix_fs.h
2.07
KB
-rw-r--r--
mman.h
1.55
KB
-rw-r--r--
mmtimer.h
2.07
KB
-rw-r--r--
module.h
255
B
-rw-r--r--
mount.h
4.97
KB
-rw-r--r--
mpls.h
2.25
KB
-rw-r--r--
mpls_iptunnel.h
761
B
-rw-r--r--
mptcp.h
5.55
KB
-rw-r--r--
mqueue.h
2.15
KB
-rw-r--r--
mroute.h
5.78
KB
-rw-r--r--
mroute6.h
4.81
KB
-rw-r--r--
mrp_bridge.h
1.67
KB
-rw-r--r--
msdos_fs.h
6.57
KB
-rw-r--r--
msg.h
3.31
KB
-rw-r--r--
mtio.h
7.98
KB
-rw-r--r--
nbd-netlink.h
2.35
KB
-rw-r--r--
nbd.h
2.95
KB
-rw-r--r--
ncsi.h
4.71
KB
-rw-r--r--
ndctl.h
6.8
KB
-rw-r--r--
neighbour.h
5
KB
-rw-r--r--
net.h
2.04
KB
-rw-r--r--
net_dropmon.h
2.82
KB
-rw-r--r--
net_namespace.h
715
B
-rw-r--r--
net_tstamp.h
5.44
KB
-rw-r--r--
netconf.h
614
B
-rw-r--r--
netdevice.h
2.2
KB
-rw-r--r--
netfilter.h
1.67
KB
-rw-r--r--
netfilter_arp.h
445
B
-rw-r--r--
netfilter_bridge.h
1.14
KB
-rw-r--r--
netfilter_ipv4.h
1.45
KB
-rw-r--r--
netfilter_ipv6.h
1.35
KB
-rw-r--r--
netlink.h
11.32
KB
-rw-r--r--
netlink_diag.h
1.49
KB
-rw-r--r--
netrom.h
807
B
-rw-r--r--
nexthop.h
2.76
KB
-rw-r--r--
nfc.h
10.97
KB
-rw-r--r--
nfs.h
4.39
KB
-rw-r--r--
nfs2.h
1.43
KB
-rw-r--r--
nfs3.h
2.4
KB
-rw-r--r--
nfs4.h
6.34
KB
-rw-r--r--
nfs4_mount.h
1.89
KB
-rw-r--r--
nfs_fs.h
1.6
KB
-rw-r--r--
nfs_idmap.h
2.19
KB
-rw-r--r--
nfs_mount.h
2.09
KB
-rw-r--r--
nfsacl.h
718
B
-rw-r--r--
nilfs2_api.h
7.41
KB
-rw-r--r--
nilfs2_ondisk.h
17.66
KB
-rw-r--r--
nitro_enclaves.h
12.84
KB
-rw-r--r--
nl80211-vnd-intel.h
2.87
KB
-rw-r--r--
nl80211.h
306.65
KB
-rw-r--r--
nsfs.h
639
B
-rw-r--r--
nubus.h
8
KB
-rw-r--r--
nvme_ioctl.h
1.62
KB
-rw-r--r--
nvram.h
532
B
-rw-r--r--
omap3isp.h
20.45
KB
-rw-r--r--
omapfb.h
5.78
KB
-rw-r--r--
oom.h
511
B
-rw-r--r--
openat2.h
1.42
KB
-rw-r--r--
openvswitch.h
38.68
KB
-rw-r--r--
packet_diag.h
1.63
KB
-rw-r--r--
param.h
141
B
-rw-r--r--
parport.h
3.56
KB
-rw-r--r--
patchkey.h
892
B
-rw-r--r--
pci.h
1.35
KB
-rw-r--r--
pci_regs.h
57.28
KB
-rw-r--r--
pcitest.h
878
B
-rw-r--r--
perf_event.h
38.83
KB
-rw-r--r--
personality.h
2.05
KB
-rw-r--r--
pfkeyv2.h
10.32
KB
-rw-r--r--
pg.h
2.34
KB
-rw-r--r--
phantom.h
1.62
KB
-rw-r--r--
phonet.h
4.57
KB
-rw-r--r--
pidfd.h
256
B
-rw-r--r--
pkt_cls.h
17.75
KB
-rw-r--r--
pkt_sched.h
29.4
KB
-rw-r--r--
pktcdvd.h
2.62
KB
-rw-r--r--
pmu.h
5.32
KB
-rw-r--r--
poll.h
22
B
-rw-r--r--
posix_acl.h
1.22
KB
-rw-r--r--
posix_acl_xattr.h
1.09
KB
-rw-r--r--
posix_types.h
1.07
KB
-rw-r--r--
ppdev.h
3.21
KB
-rw-r--r--
ppp-comp.h
2.47
KB
-rw-r--r--
ppp-ioctl.h
5.59
KB
-rw-r--r--
ppp_defs.h
5.43
KB
-rw-r--r--
pps.h
4.62
KB
-rw-r--r--
pr.h
1.05
KB
-rw-r--r--
prctl.h
9.17
KB
-rw-r--r--
psample.h
2.22
KB
-rw-r--r--
psci.h
4.23
KB
-rw-r--r--
psp-sev.h
4.06
KB
-rw-r--r--
ptp_clock.h
7.28
KB
-rw-r--r--
ptrace.h
4.31
KB
-rw-r--r--
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
qnx4_fs.h
2.27
KB
-rw-r--r--
qnxtypes.h
624
B
-rw-r--r--
qrtr.h
893
B
-rw-r--r--
quota.h
6.14
KB
-rw-r--r--
radeonfb.h
360
B
-rw-r--r--
random.h
1.38
KB
-rw-r--r--
rds.h
10.91
KB
-rw-r--r--
reboot.h
1.31
KB
-rw-r--r--
reiserfs_fs.h
775
B
-rw-r--r--
reiserfs_xattr.h
533
B
-rw-r--r--
remoteproc_cdev.h
1.08
KB
-rw-r--r--
resource.h
2.32
KB
-rw-r--r--
rfkill.h
5.96
KB
-rw-r--r--
rio_cm_cdev.h
3.17
KB
-rw-r--r--
rio_mport_cdev.h
9.11
KB
-rw-r--r--
rkisp1-config.h
30.63
KB
-rw-r--r--
romfs_fs.h
1.21
KB
-rw-r--r--
rose.h
2.18
KB
-rw-r--r--
route.h
2.28
KB
-rw-r--r--
rpl.h
814
B
-rw-r--r--
rpl_iptunnel.h
424
B
-rw-r--r--
rpmsg.h
803
B
-rw-r--r--
rpmsg_types.h
288
B
-rw-r--r--
rseq.h
4.6
KB
-rw-r--r--
rtc.h
4.49
KB
-rw-r--r--
rtnetlink.h
20.26
KB
-rw-r--r--
rxrpc.h
4.81
KB
-rw-r--r--
scc.h
4.52
KB
-rw-r--r--
sched.h
6.12
KB
-rw-r--r--
scif_ioctl.h
6.23
KB
-rw-r--r--
screen_info.h
2.42
KB
-rw-r--r--
sctp.h
35.15
KB
-rw-r--r--
seccomp.h
5.6
KB
-rw-r--r--
securebits.h
2.64
KB
-rw-r--r--
sed-opal.h
3.67
KB
-rw-r--r--
seg6.h
1.14
KB
-rw-r--r--
seg6_genl.h
589
B
-rw-r--r--
seg6_hmac.h
423
B
-rw-r--r--
seg6_iptunnel.h
984
B
-rw-r--r--
seg6_local.h
3.25
KB
-rw-r--r--
selinux_netlink.h
1.17
KB
-rw-r--r--
sem.h
2.98
KB
-rw-r--r--
serial.h
3.72
KB
-rw-r--r--
serial_core.h
5.97
KB
-rw-r--r--
serial_reg.h
15.19
KB
-rw-r--r--
serio.h
2.05
KB
-rw-r--r--
shm.h
3.71
KB
-rw-r--r--
signal.h
388
B
-rw-r--r--
signalfd.h
1.2
KB
-rw-r--r--
smc.h
7.82
KB
-rw-r--r--
smc_diag.h
2.77
KB
-rw-r--r--
smiapp.h
1.03
KB
-rw-r--r--
snmp.h
13.62
KB
-rw-r--r--
sock_diag.h
1.27
KB
-rw-r--r--
socket.h
940
B
-rw-r--r--
sockios.h
6.69
KB
-rw-r--r--
sonet.h
2.24
KB
-rw-r--r--
sonypi.h
5.18
KB
-rw-r--r--
sound.h
1.21
KB
-rw-r--r--
soundcard.h
44.96
KB
-rw-r--r--
stat.h
6.57
KB
-rw-r--r--
stddef.h
1.5
KB
-rw-r--r--
stm.h
1.25
KB
-rw-r--r--
string.h
238
B
-rw-r--r--
suspend_ioctls.h
1.4
KB
-rw-r--r--
swab.h
6.78
KB
-rw-r--r--
switchtec_ioctl.h
5.14
KB
-rw-r--r--
sync_file.h
2.82
KB
-rw-r--r--
synclink.h
8.77
KB
-rw-r--r--
sysctl.h
25.31
KB
-rw-r--r--
sysinfo.h
1.02
KB
-rw-r--r--
target_core_user.h
4.52
KB
-rw-r--r--
taskstats.h
7.12
KB
-rw-r--r--
tcp.h
11.65
KB
-rw-r--r--
tcp_metrics.h
1.51
KB
-rw-r--r--
tee.h
13.27
KB
-rw-r--r--
termios.h
172
B
-rw-r--r--
thermal.h
3
KB
-rw-r--r--
time.h
1.71
KB
-rw-r--r--
time_types.h
1.24
KB
-rw-r--r--
timerfd.h
936
B
-rw-r--r--
times.h
278
B
-rw-r--r--
timex.h
7.63
KB
-rw-r--r--
tiocl.h
1.69
KB
-rw-r--r--
tipc.h
8.62
KB
-rw-r--r--
tipc_config.h
14.52
KB
-rw-r--r--
tipc_netlink.h
9.17
KB
-rw-r--r--
tipc_sockets_diag.h
468
B
-rw-r--r--
tls.h
4.79
KB
-rw-r--r--
toshiba.h
1.88
KB
-rw-r--r--
tty.h
1.55
KB
-rw-r--r--
tty_flags.h
4.4
KB
-rw-r--r--
types.h
1.44
KB
-rw-r--r--
udf_fs_i.h
697
B
-rw-r--r--
udmabuf.h
643
B
-rw-r--r--
udp.h
1.65
KB
-rw-r--r--
uhid.h
4.54
KB
-rw-r--r--
uinput.h
9.04
KB
-rw-r--r--
uio.h
732
B
-rw-r--r--
uleds.h
798
B
-rw-r--r--
ultrasound.h
4.46
KB
-rw-r--r--
um_timetravel.h
3.87
KB
-rw-r--r--
un.h
384
B
-rw-r--r--
unistd.h
220
B
-rw-r--r--
unix_diag.h
1.3
KB
-rw-r--r--
usbdevice_fs.h
8.12
KB
-rw-r--r--
usbip.h
640
B
-rw-r--r--
userfaultfd.h
8.89
KB
-rw-r--r--
userio.h
1.48
KB
-rw-r--r--
utime.h
223
B
-rw-r--r--
utsname.h
669
B
-rw-r--r--
uuid.h
1.32
KB
-rw-r--r--
uvcvideo.h
2.52
KB
-rw-r--r--
v4l2-common.h
4.08
KB
-rw-r--r--
v4l2-controls.h
84.38
KB
-rw-r--r--
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
v4l2-mediabus.h
5.29
KB
-rw-r--r--
v4l2-subdev.h
7.6
KB
-rw-r--r--
vbox_err.h
7.09
KB
-rw-r--r--
vbox_vmmdev_types.h
11.38
KB
-rw-r--r--
vboxguest.h
9.15
KB
-rw-r--r--
vdpa.h
966
B
-rw-r--r--
vduse.h
8.1
KB
-rw-r--r--
version.h
218
B
-rw-r--r--
veth.h
224
B
-rw-r--r--
vfio.h
52.53
KB
-rw-r--r--
vfio_ccw.h
1.29
KB
-rw-r--r--
vfio_zdev.h
2.48
KB
-rw-r--r--
vhost.h
6.27
KB
-rw-r--r--
vhost_types.h
3.9
KB
-rw-r--r--
videodev2.h
92.9
KB
-rw-r--r--
virtio_9p.h
2
KB
-rw-r--r--
virtio_balloon.h
5.16
KB
-rw-r--r--
virtio_blk.h
6.7
KB
-rw-r--r--
virtio_bt.h
772
B
-rw-r--r--
virtio_config.h
3.91
KB
-rw-r--r--
virtio_console.h
3.08
KB
-rw-r--r--
virtio_crypto.h
13.56
KB
-rw-r--r--
virtio_fs.h
573
B
-rw-r--r--
virtio_gpio.h
1.03
KB
-rw-r--r--
virtio_gpu.h
10.79
KB
-rw-r--r--
virtio_i2c.h
989
B
-rw-r--r--
virtio_ids.h
4.2
KB
-rw-r--r--
virtio_input.h
2.46
KB
-rw-r--r--
virtio_iommu.h
3.69
KB
-rw-r--r--
virtio_mem.h
6.79
KB
-rw-r--r--
virtio_mmio.h
4.85
KB
-rw-r--r--
virtio_net.h
13.49
KB
-rw-r--r--
virtio_pci.h
7.23
KB
-rw-r--r--
virtio_pcidev.h
2.39
KB
-rw-r--r--
virtio_pmem.h
641
B
-rw-r--r--
virtio_ring.h
8.38
KB
-rw-r--r--
virtio_rng.h
265
B
-rw-r--r--
virtio_scmi.h
637
B
-rw-r--r--
virtio_scsi.h
5.94
KB
-rw-r--r--
virtio_snd.h
9.09
KB
-rw-r--r--
virtio_types.h
2.1
KB
-rw-r--r--
virtio_vsock.h
3.27
KB
-rw-r--r--
vm_sockets.h
6.34
KB
-rw-r--r--
vm_sockets_diag.h
963
B
-rw-r--r--
vmcore.h
455
B
-rw-r--r--
vsockmon.h
1.84
KB
-rw-r--r--
vt.h
2.99
KB
-rw-r--r--
vtpm_proxy.h
1.68
KB
-rw-r--r--
wait.h
682
B
-rw-r--r--
watch_queue.h
3.41
KB
-rw-r--r--
watchdog.h
2.28
KB
-rw-r--r--
wireguard.h
7.57
KB
-rw-r--r--
wireless.h
41.7
KB
-rw-r--r--
wmi.h
1.72
KB
-rw-r--r--
wwan.h
295
B
-rw-r--r--
x25.h
3.48
KB
-rw-r--r--
xattr.h
2.95
KB
-rw-r--r--
xdp_diag.h
1.43
KB
-rw-r--r--
xfrm.h
12.12
KB
-rw-r--r--
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
zorro.h
3.22
KB
-rw-r--r--
zorro_ids.h
29.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : batadv_packet.h
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ /* Copyright (C) B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */ #ifndef _LINUX_BATADV_PACKET_H_ #define _LINUX_BATADV_PACKET_H_ #include <asm/byteorder.h> #include <linux/if_ether.h> #include <linux/types.h> /** * batadv_tp_is_error() - Check throughput meter return code for error * @n: throughput meter return code * * Return: 0 when not error was detected, != 0 otherwise */ #define batadv_tp_is_error(n) ((__u8)(n) > 127 ? 1 : 0) /** * enum batadv_packettype - types for batman-adv encapsulated packets * @BATADV_IV_OGM: originator messages for B.A.T.M.A.N. IV * @BATADV_BCAST: broadcast packets carrying broadcast payload * @BATADV_CODED: network coded packets * @BATADV_ELP: echo location packets for B.A.T.M.A.N. V * @BATADV_OGM2: originator messages for B.A.T.M.A.N. V * * @BATADV_UNICAST: unicast packets carrying unicast payload traffic * @BATADV_UNICAST_FRAG: unicast packets carrying a fragment of the original * payload packet * @BATADV_UNICAST_4ADDR: unicast packet including the originator address of * the sender * @BATADV_ICMP: unicast packet like IP ICMP used for ping or traceroute * @BATADV_UNICAST_TVLV: unicast packet carrying TVLV containers */ enum batadv_packettype { /* 0x00 - 0x3f: local packets or special rules for handling */ BATADV_IV_OGM = 0x00, BATADV_BCAST = 0x01, BATADV_CODED = 0x02, BATADV_ELP = 0x03, BATADV_OGM2 = 0x04, /* 0x40 - 0x7f: unicast */ #define BATADV_UNICAST_MIN 0x40 BATADV_UNICAST = 0x40, BATADV_UNICAST_FRAG = 0x41, BATADV_UNICAST_4ADDR = 0x42, BATADV_ICMP = 0x43, BATADV_UNICAST_TVLV = 0x44, #define BATADV_UNICAST_MAX 0x7f /* 0x80 - 0xff: reserved */ }; /** * enum batadv_subtype - packet subtype for unicast4addr * @BATADV_P_DATA: user payload * @BATADV_P_DAT_DHT_GET: DHT request message * @BATADV_P_DAT_DHT_PUT: DHT store message * @BATADV_P_DAT_CACHE_REPLY: ARP reply generated by DAT */ enum batadv_subtype { BATADV_P_DATA = 0x01, BATADV_P_DAT_DHT_GET = 0x02, BATADV_P_DAT_DHT_PUT = 0x03, BATADV_P_DAT_CACHE_REPLY = 0x04, }; /* this file is included by batctl which needs these defines */ #define BATADV_COMPAT_VERSION 15 /** * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets * @BATADV_NOT_BEST_NEXT_HOP: flag is set when the ogm packet is forwarded and * was previously received from someone other than the best neighbor. * @BATADV_PRIMARIES_FIRST_HOP: flag unused. * @BATADV_DIRECTLINK: flag is for the first hop or if rebroadcasted from a * one hop neighbor on the interface where it was originally received. */ enum batadv_iv_flags { BATADV_NOT_BEST_NEXT_HOP = 1UL << 0, BATADV_PRIMARIES_FIRST_HOP = 1UL << 1, BATADV_DIRECTLINK = 1UL << 2, }; /** * enum batadv_icmp_packettype - ICMP message types * @BATADV_ECHO_REPLY: success reply to BATADV_ECHO_REQUEST * @BATADV_DESTINATION_UNREACHABLE: failure when route to destination not found * @BATADV_ECHO_REQUEST: request BATADV_ECHO_REPLY from destination * @BATADV_TTL_EXCEEDED: error after BATADV_ECHO_REQUEST traversed too many hops * @BATADV_PARAMETER_PROBLEM: return code for malformed messages * @BATADV_TP: throughput meter packet */ enum batadv_icmp_packettype { BATADV_ECHO_REPLY = 0, BATADV_DESTINATION_UNREACHABLE = 3, BATADV_ECHO_REQUEST = 8, BATADV_TTL_EXCEEDED = 11, BATADV_PARAMETER_PROBLEM = 12, BATADV_TP = 15, }; /** * enum batadv_mcast_flags - flags for multicast capabilities and settings * @BATADV_MCAST_WANT_ALL_UNSNOOPABLES: we want all packets destined for * 224.0.0.0/24 or ff02::1 * @BATADV_MCAST_WANT_ALL_IPV4: we want all IPv4 multicast packets * (both link-local and routable ones) * @BATADV_MCAST_WANT_ALL_IPV6: we want all IPv6 multicast packets * (both link-local and routable ones) * @BATADV_MCAST_WANT_NO_RTR4: we have no IPv4 multicast router and therefore * only need routable IPv4 multicast packets we signed up for explicitly * @BATADV_MCAST_WANT_NO_RTR6: we have no IPv6 multicast router and therefore * only need routable IPv6 multicast packets we signed up for explicitly */ enum batadv_mcast_flags { BATADV_MCAST_WANT_ALL_UNSNOOPABLES = 1UL << 0, BATADV_MCAST_WANT_ALL_IPV4 = 1UL << 1, BATADV_MCAST_WANT_ALL_IPV6 = 1UL << 2, BATADV_MCAST_WANT_NO_RTR4 = 1UL << 3, BATADV_MCAST_WANT_NO_RTR6 = 1UL << 4, }; /* tt data subtypes */ #define BATADV_TT_DATA_TYPE_MASK 0x0F /** * enum batadv_tt_data_flags - flags for tt data tvlv * @BATADV_TT_OGM_DIFF: TT diff propagated through OGM * @BATADV_TT_REQUEST: TT request message * @BATADV_TT_RESPONSE: TT response message * @BATADV_TT_FULL_TABLE: contains full table to replace existing table */ enum batadv_tt_data_flags { BATADV_TT_OGM_DIFF = 1UL << 0, BATADV_TT_REQUEST = 1UL << 1, BATADV_TT_RESPONSE = 1UL << 2, BATADV_TT_FULL_TABLE = 1UL << 4, }; /** * enum batadv_vlan_flags - flags for the four MSB of any vlan ID field * @BATADV_VLAN_HAS_TAG: whether the field contains a valid vlan tag or not */ enum batadv_vlan_flags { BATADV_VLAN_HAS_TAG = 1UL << 15, }; /** * enum batadv_bla_claimframe - claim frame types for the bridge loop avoidance * @BATADV_CLAIM_TYPE_CLAIM: claim of a client mac address * @BATADV_CLAIM_TYPE_UNCLAIM: unclaim of a client mac address * @BATADV_CLAIM_TYPE_ANNOUNCE: announcement of backbone with current crc * @BATADV_CLAIM_TYPE_REQUEST: request of full claim table * @BATADV_CLAIM_TYPE_LOOPDETECT: mesh-traversing loop detect packet */ enum batadv_bla_claimframe { BATADV_CLAIM_TYPE_CLAIM = 0x00, BATADV_CLAIM_TYPE_UNCLAIM = 0x01, BATADV_CLAIM_TYPE_ANNOUNCE = 0x02, BATADV_CLAIM_TYPE_REQUEST = 0x03, BATADV_CLAIM_TYPE_LOOPDETECT = 0x04, }; /** * enum batadv_tvlv_type - tvlv type definitions * @BATADV_TVLV_GW: gateway tvlv * @BATADV_TVLV_DAT: distributed arp table tvlv * @BATADV_TVLV_NC: network coding tvlv * @BATADV_TVLV_TT: translation table tvlv * @BATADV_TVLV_ROAM: roaming advertisement tvlv * @BATADV_TVLV_MCAST: multicast capability tvlv */ enum batadv_tvlv_type { BATADV_TVLV_GW = 0x01, BATADV_TVLV_DAT = 0x02, BATADV_TVLV_NC = 0x03, BATADV_TVLV_TT = 0x04, BATADV_TVLV_ROAM = 0x05, BATADV_TVLV_MCAST = 0x06, }; #pragma pack(2) /* the destination hardware field in the ARP frame is used to * transport the claim type and the group id */ struct batadv_bla_claim_dst { __u8 magic[3]; /* FF:43:05 */ __u8 type; /* bla_claimframe */ __be16 group; /* group id */ }; /** * struct batadv_ogm_packet - ogm (routing protocol) packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @flags: contains routing relevant flags - see enum batadv_iv_flags * @seqno: sequence identification * @orig: address of the source node * @prev_sender: address of the previous sender * @reserved: reserved byte for alignment * @tq: transmission quality * @tvlv_len: length of tvlv data following the ogm header */ struct batadv_ogm_packet { __u8 packet_type; __u8 version; __u8 ttl; __u8 flags; __be32 seqno; __u8 orig[ETH_ALEN]; __u8 prev_sender[ETH_ALEN]; __u8 reserved; __u8 tq; __be16 tvlv_len; }; #define BATADV_OGM_HLEN sizeof(struct batadv_ogm_packet) /** * struct batadv_ogm2_packet - ogm2 (routing protocol) packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @flags: reserved for routing relevant flags - currently always 0 * @seqno: sequence number * @orig: originator mac address * @tvlv_len: length of the appended tvlv buffer (in bytes) * @throughput: the currently flooded path throughput */ struct batadv_ogm2_packet { __u8 packet_type; __u8 version; __u8 ttl; __u8 flags; __be32 seqno; __u8 orig[ETH_ALEN]; __be16 tvlv_len; __be32 throughput; }; #define BATADV_OGM2_HLEN sizeof(struct batadv_ogm2_packet) /** * struct batadv_elp_packet - elp (neighbor discovery) packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @orig: originator mac address * @seqno: sequence number * @elp_interval: currently used ELP sending interval in ms */ struct batadv_elp_packet { __u8 packet_type; __u8 version; __u8 orig[ETH_ALEN]; __be32 seqno; __be32 elp_interval; }; #define BATADV_ELP_HLEN sizeof(struct batadv_elp_packet) /** * struct batadv_icmp_header - common members among all the ICMP packets * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @msg_type: ICMP packet type * @dst: address of the destination node * @orig: address of the source node * @uid: local ICMP socket identifier * @align: not used - useful for alignment purposes only * * This structure is used for ICMP packet parsing only and it is never sent * over the wire. The alignment field at the end is there to ensure that * members are padded the same way as they are in real packets. */ struct batadv_icmp_header { __u8 packet_type; __u8 version; __u8 ttl; __u8 msg_type; /* see ICMP message types above */ __u8 dst[ETH_ALEN]; __u8 orig[ETH_ALEN]; __u8 uid; __u8 align[3]; }; /** * struct batadv_icmp_packet - ICMP packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @msg_type: ICMP packet type * @dst: address of the destination node * @orig: address of the source node * @uid: local ICMP socket identifier * @reserved: not used - useful for alignment * @seqno: ICMP sequence number */ struct batadv_icmp_packet { __u8 packet_type; __u8 version; __u8 ttl; __u8 msg_type; /* see ICMP message types above */ __u8 dst[ETH_ALEN]; __u8 orig[ETH_ALEN]; __u8 uid; __u8 reserved; __be16 seqno; }; /** * struct batadv_icmp_tp_packet - ICMP TP Meter packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @msg_type: ICMP packet type * @dst: address of the destination node * @orig: address of the source node * @uid: local ICMP socket identifier * @subtype: TP packet subtype (see batadv_icmp_tp_subtype) * @session: TP session identifier * @seqno: the TP sequence number * @timestamp: time when the packet has been sent. This value is filled in a * TP_MSG and echoed back in the next TP_ACK so that the sender can compute the * RTT. Since it is read only by the host which wrote it, there is no need to * store it using network order */ struct batadv_icmp_tp_packet { __u8 packet_type; __u8 version; __u8 ttl; __u8 msg_type; /* see ICMP message types above */ __u8 dst[ETH_ALEN]; __u8 orig[ETH_ALEN]; __u8 uid; __u8 subtype; __u8 session[2]; __be32 seqno; __be32 timestamp; }; /** * enum batadv_icmp_tp_subtype - ICMP TP Meter packet subtypes * @BATADV_TP_MSG: Msg from sender to receiver * @BATADV_TP_ACK: acknowledgment from receiver to sender */ enum batadv_icmp_tp_subtype { BATADV_TP_MSG = 0, BATADV_TP_ACK, }; #define BATADV_RR_LEN 16 /** * struct batadv_icmp_packet_rr - ICMP RouteRecord packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @msg_type: ICMP packet type * @dst: address of the destination node * @orig: address of the source node * @uid: local ICMP socket identifier * @rr_cur: number of entries the rr array * @seqno: ICMP sequence number * @rr: route record array */ struct batadv_icmp_packet_rr { __u8 packet_type; __u8 version; __u8 ttl; __u8 msg_type; /* see ICMP message types above */ __u8 dst[ETH_ALEN]; __u8 orig[ETH_ALEN]; __u8 uid; __u8 rr_cur; __be16 seqno; __u8 rr[BATADV_RR_LEN][ETH_ALEN]; }; #define BATADV_ICMP_MAX_PACKET_SIZE sizeof(struct batadv_icmp_packet_rr) /* All packet headers in front of an ethernet header have to be completely * divisible by 2 but not by 4 to make the payload after the ethernet * header again 4 bytes boundary aligned. * * A packing of 2 is necessary to avoid extra padding at the end of the struct * caused by a structure member which is larger than two bytes. Otherwise * the structure would not fulfill the previously mentioned rule to avoid the * misalignment of the payload after the ethernet header. It may also lead to * leakage of information when the padding it not initialized before sending. */ /** * struct batadv_unicast_packet - unicast packet for network payload * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @ttvn: translation table version number * @dest: originator destination of the unicast packet */ struct batadv_unicast_packet { __u8 packet_type; __u8 version; __u8 ttl; __u8 ttvn; /* destination translation table version number */ __u8 dest[ETH_ALEN]; /* "4 bytes boundary + 2 bytes" long to make the payload after the * following ethernet header again 4 bytes boundary aligned */ }; /** * struct batadv_unicast_4addr_packet - extended unicast packet * @u: common unicast packet header * @src: address of the source * @subtype: packet subtype * @reserved: reserved byte for alignment */ struct batadv_unicast_4addr_packet { struct batadv_unicast_packet u; __u8 src[ETH_ALEN]; __u8 subtype; __u8 reserved; /* "4 bytes boundary + 2 bytes" long to make the payload after the * following ethernet header again 4 bytes boundary aligned */ }; /** * struct batadv_frag_packet - fragmented packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @dest: final destination used when routing fragments * @orig: originator of the fragment used when merging the packet * @no: fragment number within this sequence * @priority: priority of frame, from ToS IP precedence or 802.1p * @reserved: reserved byte for alignment * @seqno: sequence identification * @total_size: size of the merged packet */ struct batadv_frag_packet { __u8 packet_type; __u8 version; /* batman version field */ __u8 ttl; #if defined(__BIG_ENDIAN_BITFIELD) __u8 no:4; __u8 priority:3; __u8 reserved:1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 reserved:1; __u8 priority:3; __u8 no:4; #else #error "unknown bitfield endianness" #endif __u8 dest[ETH_ALEN]; __u8 orig[ETH_ALEN]; __be16 seqno; __be16 total_size; }; /** * struct batadv_bcast_packet - broadcast packet for network payload * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @reserved: reserved byte for alignment * @seqno: sequence identification * @orig: originator of the broadcast packet */ struct batadv_bcast_packet { __u8 packet_type; __u8 version; /* batman version field */ __u8 ttl; __u8 reserved; __be32 seqno; __u8 orig[ETH_ALEN]; /* "4 bytes boundary + 2 bytes" long to make the payload after the * following ethernet header again 4 bytes boundary aligned */ }; /** * struct batadv_coded_packet - network coded packet * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @first_source: original source of first included packet * @first_orig_dest: original destination of first included packet * @first_crc: checksum of first included packet * @first_ttvn: tt-version number of first included packet * @second_ttl: ttl of second packet * @second_dest: second receiver of this coded packet * @second_source: original source of second included packet * @second_orig_dest: original destination of second included packet * @second_crc: checksum of second included packet * @second_ttvn: tt version number of second included packet * @coded_len: length of network coded part of the payload */ struct batadv_coded_packet { __u8 packet_type; __u8 version; /* batman version field */ __u8 ttl; __u8 first_ttvn; /* __u8 first_dest[ETH_ALEN]; - saved in mac header destination */ __u8 first_source[ETH_ALEN]; __u8 first_orig_dest[ETH_ALEN]; __be32 first_crc; __u8 second_ttl; __u8 second_ttvn; __u8 second_dest[ETH_ALEN]; __u8 second_source[ETH_ALEN]; __u8 second_orig_dest[ETH_ALEN]; __be32 second_crc; __be16 coded_len; }; /** * struct batadv_unicast_tvlv_packet - generic unicast packet with tvlv payload * @packet_type: batman-adv packet type, part of the general header * @version: batman-adv protocol version, part of the general header * @ttl: time to live for this packet, part of the general header * @reserved: reserved field (for packet alignment) * @src: address of the source * @dst: address of the destination * @tvlv_len: length of tvlv data following the unicast tvlv header * @align: 2 bytes to align the header to a 4 byte boundary */ struct batadv_unicast_tvlv_packet { __u8 packet_type; __u8 version; /* batman version field */ __u8 ttl; __u8 reserved; __u8 dst[ETH_ALEN]; __u8 src[ETH_ALEN]; __be16 tvlv_len; __u16 align; }; /** * struct batadv_tvlv_hdr - base tvlv header struct * @type: tvlv container type (see batadv_tvlv_type) * @version: tvlv container version * @len: tvlv container length */ struct batadv_tvlv_hdr { __u8 type; __u8 version; __be16 len; }; /** * struct batadv_tvlv_gateway_data - gateway data propagated through gw tvlv * container * @bandwidth_down: advertised uplink download bandwidth * @bandwidth_up: advertised uplink upload bandwidth */ struct batadv_tvlv_gateway_data { __be32 bandwidth_down; __be32 bandwidth_up; }; /** * struct batadv_tvlv_tt_data - tt data propagated through the tt tvlv container * @flags: translation table flags (see batadv_tt_data_flags) * @ttvn: translation table version number * @num_vlan: number of announced VLANs. In the TVLV this struct is followed by * one batadv_tvlv_tt_vlan_data object per announced vlan */ struct batadv_tvlv_tt_data { __u8 flags; __u8 ttvn; __be16 num_vlan; }; /** * struct batadv_tvlv_tt_vlan_data - vlan specific tt data propagated through * the tt tvlv container * @crc: crc32 checksum of the entries belonging to this vlan * @vid: vlan identifier * @reserved: unused, useful for alignment purposes */ struct batadv_tvlv_tt_vlan_data { __be32 crc; __be16 vid; __u16 reserved; }; /** * struct batadv_tvlv_tt_change - translation table diff data * @flags: status indicators concerning the non-mesh client (see * batadv_tt_client_flags) * @reserved: reserved field - useful for alignment purposes only * @addr: mac address of non-mesh client that triggered this tt change * @vid: VLAN identifier */ struct batadv_tvlv_tt_change { __u8 flags; __u8 reserved[3]; __u8 addr[ETH_ALEN]; __be16 vid; }; /** * struct batadv_tvlv_roam_adv - roaming advertisement * @client: mac address of roaming client * @vid: VLAN identifier */ struct batadv_tvlv_roam_adv { __u8 client[ETH_ALEN]; __be16 vid; }; /** * struct batadv_tvlv_mcast_data - payload of a multicast tvlv * @flags: multicast flags announced by the orig node * @reserved: reserved field */ struct batadv_tvlv_mcast_data { __u8 flags; __u8 reserved[3]; }; #pragma pack() #endif /* _LINUX_BATADV_PACKET_H_ */
Close