X7ROOT File Manager
Current Path:
/usr/include/linux
usr
/
include
/
linux
/
📁
..
📄
a.out.h
(6.73 KB)
📄
acct.h
(3.82 KB)
📄
acrn.h
(16.29 KB)
📄
adb.h
(1.11 KB)
📄
adfs_fs.h
(993 B)
📄
affs_hardblocks.h
(1.54 KB)
📄
agpgart.h
(3.85 KB)
📄
aio_abi.h
(3.32 KB)
📄
am437x-vpfe.h
(3.59 KB)
📁
android
📄
apm_bios.h
(3.6 KB)
📄
arcfb.h
(213 B)
📄
arm_sdei.h
(2.69 KB)
📄
aspeed-lpc-ctrl.h
(1.74 KB)
📄
aspeed-p2a-ctrl.h
(1.86 KB)
📄
atalk.h
(1023 B)
📄
atm.h
(7.7 KB)
📄
atm_eni.h
(648 B)
📄
atm_he.h
(406 B)
📄
atm_idt77105.h
(955 B)
📄
atm_nicstar.h
(1.25 KB)
📄
atm_tcp.h
(1.58 KB)
📄
atm_zatm.h
(1.5 KB)
📄
atmapi.h
(952 B)
📄
atmarp.h
(1.27 KB)
📄
atmbr2684.h
(3.19 KB)
📄
atmclip.h
(576 B)
📄
atmdev.h
(7.5 KB)
📄
atmioc.h
(1.61 KB)
📄
atmlec.h
(2.33 KB)
📄
atmmpc.h
(4.13 KB)
📄
atmppp.h
(639 B)
📄
atmsap.h
(4.85 KB)
📄
atmsvc.h
(1.81 KB)
📄
audit.h
(21.06 KB)
📄
auto_dev-ioctl.h
(4.87 KB)
📄
auto_fs.h
(6.28 KB)
📄
auto_fs4.h
(451 B)
📄
auxvec.h
(1.56 KB)
📄
ax25.h
(2.76 KB)
📄
batadv_packet.h
(19.87 KB)
📄
batman_adv.h
(16.49 KB)
📄
baycom.h
(883 B)
📄
bcm933xx_hcs.h
(419 B)
📄
bfs_fs.h
(1.86 KB)
📄
binfmts.h
(776 B)
📄
bits.h
(447 B)
📄
blkpg.h
(904 B)
📄
blktrace_api.h
(4.59 KB)
📄
blkzoned.h
(6.34 KB)
📄
bpf.h
(272.11 KB)
📄
bpf_common.h
(1.33 KB)
📄
bpf_perf_event.h
(529 B)
📄
bpfilter.h
(465 B)
📄
bpqether.h
(981 B)
📄
bsg.h
(2.44 KB)
📄
bt-bmc.h
(572 B)
📄
btf.h
(5.46 KB)
📄
btrfs.h
(29.85 KB)
📄
btrfs_tree.h
(25.22 KB)
📁
byteorder
📄
cachefiles.h
(1.61 KB)
📁
caif
📁
can
📄
can.h
(11.23 KB)
📄
capability.h
(13.17 KB)
📄
capi.h
(3.05 KB)
📄
cciss_defs.h
(3.2 KB)
📄
cciss_ioctl.h
(2.7 KB)
📄
ccs.h
(767 B)
📄
cdrom.h
(28.87 KB)
📄
cec-funcs.h
(53.14 KB)
📄
cec.h
(40.47 KB)
📄
cfm_bridge.h
(1.42 KB)
📄
cgroupstats.h
(2.17 KB)
📄
chio.h
(5.16 KB)
📁
cifs
📄
close_range.h
(377 B)
📄
cm4000_cs.h
(1.76 KB)
📄
cn_proc.h
(4.05 KB)
📄
coda.h
(17.79 KB)
📄
coff.h
(12.25 KB)
📄
connector.h
(2.2 KB)
📄
const.h
(987 B)
📄
coresight-stm.h
(747 B)
📄
cramfs_fs.h
(3.47 KB)
📄
cryptouser.h
(5.2 KB)
📄
cuda.h
(905 B)
📄
cxl_mem.h
(7.73 KB)
📄
cycx_cfm.h
(2.92 KB)
📄
dcbnl.h
(24.7 KB)
📄
dccp.h
(6.29 KB)
📄
devlink.h
(22.77 KB)
📄
dlm.h
(2.49 KB)
📄
dlm_device.h
(2.48 KB)
📄
dlm_netlink.h
(1.13 KB)
📄
dlm_plock.h
(894 B)
📄
dlmconstants.h
(4.96 KB)
📄
dm-ioctl.h
(11.48 KB)
📄
dm-log-userspace.h
(14.83 KB)
📄
dma-buf.h
(5.12 KB)
📄
dma-heap.h
(1.36 KB)
📄
dn.h
(4.53 KB)
📄
dns_resolver.h
(3.86 KB)
📄
dpll.h
(8.56 KB)
📄
dqblk_xfs.h
(9.17 KB)
📁
dvb
📄
edd.h
(5.47 KB)
📄
efs_fs_sb.h
(2.17 KB)
📄
elf-em.h
(2.57 KB)
📄
elf-fdpic.h
(1.1 KB)
📄
elf.h
(14.69 KB)
📄
errno.h
(23 B)
📄
errqueue.h
(1.94 KB)
📄
erspan.h
(1.03 KB)
📄
ethtool.h
(101.42 KB)
📄
ethtool_netlink.h
(6.17 KB)
📄
ethtool_netlink_generated.h
(19.17 KB)
📄
eventfd.h
(264 B)
📄
eventpoll.h
(2.84 KB)
📄
f2fs.h
(3.22 KB)
📄
fadvise.h
(842 B)
📄
falloc.h
(3.56 KB)
📄
fanotify.h
(7.7 KB)
📄
fb.h
(16.09 KB)
📄
fcntl.h
(4.22 KB)
📄
fd.h
(11.83 KB)
📄
fdreg.h
(5.24 KB)
📄
fib_rules.h
(1.99 KB)
📄
fiemap.h
(2.71 KB)
📄
filter.h
(2.16 KB)
📄
firewire-cdev.h
(43.2 KB)
📄
firewire-constants.h
(3.16 KB)
📄
fou.h
(819 B)
📄
fpga-dfl.h
(8.52 KB)
📄
fs.h
(12.88 KB)
📄
fscrypt.h
(6.41 KB)
📄
fsi.h
(2.2 KB)
📄
fsl_hypervisor.h
(7.13 KB)
📄
fsl_mc.h
(734 B)
📄
fsmap.h
(4.29 KB)
📄
fsverity.h
(3.11 KB)
📄
fuse.h
(25.36 KB)
📄
futex.h
(5.98 KB)
📄
gameport.h
(897 B)
📄
gen_stats.h
(1.49 KB)
📄
genetlink.h
(2.19 KB)
📁
genwqe
📄
gfs2_ondisk.h
(14.43 KB)
📄
gpio.h
(19.46 KB)
📄
gsmmux.h
(4.4 KB)
📄
gtp.h
(734 B)
📄
handshake.h
(1.61 KB)
📄
hash_info.h
(971 B)
📁
hdlc
📄
hdlc.h
(637 B)
📄
hdlcdrv.h
(2.84 KB)
📄
hdreg.h
(22.17 KB)
📄
hid.h
(2.04 KB)
📄
hiddev.h
(6.2 KB)
📄
hidraw.h
(1.95 KB)
📄
hpet.h
(743 B)
📁
hsi
📄
hsr_netlink.h
(1.08 KB)
📄
hw_breakpoint.h
(742 B)
📄
hyperv.h
(10.89 KB)
📄
i2c-dev.h
(1.83 KB)
📄
i2c.h
(6.73 KB)
📄
i2o-dev.h
(11.28 KB)
📄
i8k.h
(1.49 KB)
📄
icmp.h
(4.67 KB)
📄
icmpv6.h
(4.2 KB)
📄
idxd.h
(9.11 KB)
📄
if.h
(10.67 KB)
📄
if_addr.h
(1.84 KB)
📄
if_addrlabel.h
(721 B)
📄
if_alg.h
(1.53 KB)
📄
if_arcnet.h
(3.63 KB)
📄
if_arp.h
(6.41 KB)
📄
if_bonding.h
(5.02 KB)
📄
if_bridge.h
(20.27 KB)
📄
if_cablemodem.h
(986 B)
📄
if_eql.h
(1.32 KB)
📄
if_ether.h
(8.21 KB)
📄
if_fc.h
(1.7 KB)
📄
if_fddi.h
(4.27 KB)
📄
if_hippi.h
(4.14 KB)
📄
if_infiniband.h
(1.22 KB)
📄
if_link.h
(52.92 KB)
📄
if_ltalk.h
(210 B)
📄
if_macsec.h
(6.35 KB)
📄
if_packet.h
(7.99 KB)
📄
if_phonet.h
(424 B)
📄
if_plip.h
(660 B)
📄
if_ppp.h
(29 B)
📄
if_pppol2tp.h
(3.23 KB)
📄
if_pppox.h
(4.76 KB)
📄
if_slip.h
(872 B)
📄
if_team.h
(2.54 KB)
📄
if_tun.h
(4 KB)
📄
if_tunnel.h
(5.36 KB)
📄
if_vlan.h
(1.79 KB)
📄
if_x25.h
(881 B)
📄
if_xdp.h
(5.29 KB)
📄
ife.h
(351 B)
📄
igmp.h
(2.99 KB)
📁
iio
📄
ila.h
(1.22 KB)
📄
in.h
(10.24 KB)
📄
in6.h
(7.36 KB)
📄
in_route.h
(936 B)
📄
inet_diag.h
(4.9 KB)
📄
inotify.h
(3.21 KB)
📄
input-event-codes.h
(29.5 KB)
📄
input.h
(15.84 KB)
📄
io_uring.h
(20.4 KB)
📄
ioctl.h
(163 B)
📄
iommufd.h
(36.45 KB)
📄
ioprio.h
(4.08 KB)
📄
ip.h
(4.7 KB)
📄
ip6_tunnel.h
(1.91 KB)
📄
ip_vs.h
(13.8 KB)
📄
ipc.h
(2.05 KB)
📄
ipmi.h
(15.08 KB)
📄
ipmi_bmc.h
(488 B)
📄
ipmi_msgdefs.h
(3.35 KB)
📄
ipmi_ssif_bmc.h
(441 B)
📄
ipsec.h
(947 B)
📄
ipv6.h
(4.07 KB)
📄
ipv6_route.h
(1.86 KB)
📄
ipx.h
(2.29 KB)
📄
irqnr.h
(104 B)
📁
isdn
📄
iso_fs.h
(6.33 KB)
📄
isst_if.h
(14.92 KB)
📄
ivtv.h
(2.95 KB)
📄
ivtvfb.h
(1.18 KB)
📄
jffs2.h
(6.66 KB)
📄
joystick.h
(3.35 KB)
📄
kcm.h
(822 B)
📄
kcmp.h
(522 B)
📄
kcov.h
(1.92 KB)
📄
kd.h
(6.3 KB)
📄
kdev_t.h
(383 B)
📄
kernel-page-flags.h
(900 B)
📄
kernel.h
(194 B)
📄
kernelcapi.h
(1019 B)
📄
kexec.h
(2.05 KB)
📄
keyboard.h
(13.14 KB)
📄
keyctl.h
(5.86 KB)
📄
kfd_ioctl.h
(57.06 KB)
📄
kfd_sysfs.h
(5.25 KB)
📄
kvm.h
(47.24 KB)
📄
kvm_para.h
(1001 B)
📄
l2tp.h
(5.61 KB)
📄
landlock.h
(11.55 KB)
📄
libc-compat.h
(8.09 KB)
📄
limits.h
(937 B)
📄
lirc.h
(7.95 KB)
📄
llc.h
(3.09 KB)
📄
loadpin.h
(834 B)
📄
loop.h
(3.32 KB)
📄
lp.h
(4.09 KB)
📄
lsm.h
(1.51 KB)
📄
lwtunnel.h
(2.31 KB)
📄
magic.h
(3.73 KB)
📄
major.h
(4.55 KB)
📄
map_to_7segment.h
(6.45 KB)
📄
matroxfb.h
(1.43 KB)
📄
max2175.h
(1.01 KB)
📄
mdio.h
(23.78 KB)
📄
media-bus-format.h
(6.75 KB)
📄
media.h
(12.46 KB)
📄
mei.h
(3.4 KB)
📄
mei_uuid.h
(738 B)
📄
membarrier.h
(9.14 KB)
📄
memfd.h
(1.43 KB)
📄
mempolicy.h
(2.51 KB)
📄
meye.h
(2.47 KB)
📄
mii.h
(9.27 KB)
📄
minix_fs.h
(2.07 KB)
📁
misc
📄
mman.h
(1.75 KB)
📁
mmc
📄
mmtimer.h
(2.07 KB)
📄
module.h
(293 B)
📄
mount.h
(4.9 KB)
📄
mpls.h
(2.25 KB)
📄
mpls_iptunnel.h
(761 B)
📄
mptcp.h
(3.67 KB)
📄
mptcp_pm.h
(4.3 KB)
📄
mqueue.h
(2.15 KB)
📄
mroute.h
(5.78 KB)
📄
mroute6.h
(4.81 KB)
📄
mrp_bridge.h
(1.67 KB)
📄
msdos_fs.h
(6.57 KB)
📄
msg.h
(3.31 KB)
📄
mshv.h
(7.93 KB)
📄
mtio.h
(7.98 KB)
📄
nbd-netlink.h
(2.35 KB)
📄
nbd.h
(3.77 KB)
📄
ncsi.h
(4.71 KB)
📄
ndctl.h
(6.67 KB)
📄
neighbour.h
(5.91 KB)
📄
net.h
(2.04 KB)
📄
net_dropmon.h
(2.85 KB)
📄
net_namespace.h
(715 B)
📄
net_shaper.h
(2.52 KB)
📄
net_tstamp.h
(6.3 KB)
📄
netconf.h
(614 B)
📄
netdev.h
(5.65 KB)
📄
netdevice.h
(2.2 KB)
📁
netfilter
📄
netfilter.h
(1.69 KB)
📁
netfilter_arp
📄
netfilter_arp.h
(445 B)
📁
netfilter_bridge
📄
netfilter_bridge.h
(1.14 KB)
📄
netfilter_decnet.h
(1.72 KB)
📁
netfilter_ipv4
📄
netfilter_ipv4.h
(1.45 KB)
📁
netfilter_ipv6
📄
netfilter_ipv6.h
(1.35 KB)
📄
netlink.h
(12.09 KB)
📄
netlink_diag.h
(1.49 KB)
📄
netrom.h
(807 B)
📄
nexthop.h
(3.97 KB)
📄
nfc.h
(10.95 KB)
📄
nfs.h
(4.36 KB)
📄
nfs2.h
(1.43 KB)
📄
nfs3.h
(2.4 KB)
📄
nfs4.h
(6.54 KB)
📄
nfs4_mount.h
(1.89 KB)
📄
nfs_fs.h
(1.62 KB)
📄
nfs_idmap.h
(2.19 KB)
📄
nfs_mount.h
(2.09 KB)
📄
nfsacl.h
(718 B)
📁
nfsd
📄
nfsd_netlink.h
(1.95 KB)
📄
nilfs2_api.h
(7.41 KB)
📄
nilfs2_ondisk.h
(17.66 KB)
📄
nitro_enclaves.h
(12.85 KB)
📄
nl80211.h
(341.33 KB)
📄
nsfs.h
(639 B)
📄
nubus.h
(8 KB)
📄
nvme_ioctl.h
(2.43 KB)
📄
nvram.h
(532 B)
📄
omap3isp.h
(20.36 KB)
📄
omapfb.h
(5.78 KB)
📄
oom.h
(511 B)
📄
openat2.h
(1.42 KB)
📄
openvswitch.h
(40.75 KB)
📄
packet_diag.h
(1.63 KB)
📄
param.h
(141 B)
📄
parport.h
(3.56 KB)
📄
patchkey.h
(892 B)
📄
pci.h
(1.35 KB)
📄
pci_regs.h
(61.89 KB)
📄
pcitest.h
(920 B)
📄
perf_event.h
(42.68 KB)
📄
personality.h
(2.05 KB)
📄
pfkeyv2.h
(10.32 KB)
📄
pfrut.h
(7.8 KB)
📄
pg.h
(2.34 KB)
📄
phantom.h
(1.62 KB)
📄
phonet.h
(4.57 KB)
📄
pidfd.h
(256 B)
📄
pkt_cls.h
(18.65 KB)
📄
pkt_sched.h
(28.75 KB)
📄
pktcdvd.h
(2.63 KB)
📄
pmu.h
(5.32 KB)
📄
poll.h
(22 B)
📄
posix_acl.h
(1.22 KB)
📄
posix_acl_xattr.h
(1.09 KB)
📄
posix_types.h
(1.07 KB)
📄
ppdev.h
(3.21 KB)
📄
ppp-comp.h
(2.47 KB)
📄
ppp-ioctl.h
(5.59 KB)
📄
ppp_defs.h
(5.43 KB)
📄
pps.h
(4.62 KB)
📄
pr.h
(1.59 KB)
📄
prctl.h
(10.81 KB)
📄
psample.h
(2.57 KB)
📄
psci.h
(5.21 KB)
📄
psp-dbc.h
(5.16 KB)
📄
psp-sev.h
(7.59 KB)
📄
ptp_clock.h
(7.35 KB)
📄
ptrace.h
(4.29 KB)
📄
qemu_fw_cfg.h
(2.41 KB)
📄
qnx4_fs.h
(2.27 KB)
📄
qnxtypes.h
(624 B)
📄
qrtr.h
(893 B)
📄
quota.h
(6.16 KB)
📄
radeonfb.h
(360 B)
📁
raid
📄
random.h
(1.38 KB)
📄
rds.h
(10.91 KB)
📄
reboot.h
(1.31 KB)
📄
reiserfs_fs.h
(775 B)
📄
reiserfs_xattr.h
(533 B)
📄
remoteproc_cdev.h
(1.08 KB)
📄
resource.h
(2.32 KB)
📄
rfkill.h
(6.45 KB)
📄
rio_cm_cdev.h
(3.17 KB)
📄
rio_mport_cdev.h
(9.11 KB)
📄
rkisp1-config.h
(30.63 KB)
📄
romfs_fs.h
(1.21 KB)
📄
rose.h
(2.18 KB)
📄
route.h
(2.28 KB)
📄
rpl.h
(814 B)
📄
rpl_iptunnel.h
(424 B)
📄
rpmsg.h
(1.03 KB)
📄
rpmsg_types.h
(288 B)
📄
rseq.h
(4.79 KB)
📄
rtc.h
(5.19 KB)
📄
rtnetlink.h
(20.8 KB)
📄
rxrpc.h
(4.81 KB)
📄
scc.h
(4.52 KB)
📁
sched
📄
sched.h
(6.12 KB)
📄
scif_ioctl.h
(6.23 KB)
📄
screen_info.h
(2.42 KB)
📄
sctp.h
(35.18 KB)
📄
seccomp.h
(5.6 KB)
📄
securebits.h
(2.64 KB)
📄
sed-opal.h
(5.29 KB)
📄
seg6.h
(1.14 KB)
📄
seg6_genl.h
(589 B)
📄
seg6_hmac.h
(423 B)
📄
seg6_iptunnel.h
(984 B)
📄
seg6_local.h
(3.78 KB)
📄
selinux_netlink.h
(1.17 KB)
📄
sem.h
(2.98 KB)
📄
serial.h
(4.9 KB)
📄
serial_core.h
(4.93 KB)
📄
serial_reg.h
(15.65 KB)
📄
serio.h
(2.09 KB)
📄
sev-guest.h
(2.47 KB)
📄
shm.h
(3.71 KB)
📄
signal.h
(388 B)
📄
signalfd.h
(1.2 KB)
📄
smc.h
(8.46 KB)
📄
smc_diag.h
(2.88 KB)
📄
smiapp.h
(1.03 KB)
📄
snmp.h
(14.01 KB)
📄
sock_diag.h
(1.27 KB)
📄
socket.h
(919 B)
📄
sockios.h
(6.69 KB)
📄
sonet.h
(2.24 KB)
📄
sonypi.h
(5.18 KB)
📄
sound.h
(1.21 KB)
📄
soundcard.h
(44.96 KB)
📁
spi
📄
stat.h
(7.23 KB)
📄
stddef.h
(1.69 KB)
📄
stm.h
(1.25 KB)
📄
string.h
(238 B)
📁
sunrpc
📁
surface_aggregator
📄
suspend_ioctls.h
(1.4 KB)
📄
swab.h
(6.76 KB)
📄
switchtec_ioctl.h
(5.14 KB)
📄
sync_file.h
(3.49 KB)
📄
synclink.h
(8.77 KB)
📄
sysctl.h
(25.3 KB)
📄
sysinfo.h
(1.02 KB)
📄
target_core_user.h
(4.52 KB)
📄
taskstats.h
(8.13 KB)
📁
tc_act
📁
tc_ematch
📄
tcp.h
(11.65 KB)
📄
tcp_metrics.h
(1.94 KB)
📄
tdx-guest.h
(1.27 KB)
📄
tee.h
(13.09 KB)
📄
termios.h
(172 B)
📄
thermal.h
(3.23 KB)
📄
time.h
(1.71 KB)
📄
time_types.h
(1.24 KB)
📄
timerfd.h
(936 B)
📄
times.h
(278 B)
📄
timex.h
(7.63 KB)
📄
tiocl.h
(1.69 KB)
📄
tipc.h
(8.62 KB)
📄
tipc_config.h
(14.52 KB)
📄
tipc_netlink.h
(9.17 KB)
📄
tipc_sockets_diag.h
(468 B)
📄
tls.h
(7.06 KB)
📄
toshiba.h
(1.88 KB)
📄
tps6594_pfsm.h
(1.13 KB)
📄
tty.h
(1.55 KB)
📄
tty_flags.h
(4.4 KB)
📄
types.h
(1.6 KB)
📄
udf_fs_i.h
(697 B)
📄
udmabuf.h
(643 B)
📄
udp.h
(1.65 KB)
📄
uhid.h
(4.54 KB)
📄
uinput.h
(9.04 KB)
📄
uio.h
(732 B)
📄
uleds.h
(798 B)
📄
ultrasound.h
(4.46 KB)
📄
um_timetravel.h
(3.87 KB)
📄
un.h
(384 B)
📄
unistd.h
(220 B)
📄
unix_diag.h
(1.3 KB)
📁
usb
📄
usbdevice_fs.h
(8.12 KB)
📄
usbip.h
(1.47 KB)
📄
userfaultfd.h
(10.68 KB)
📄
userio.h
(1.48 KB)
📄
utime.h
(223 B)
📄
utsname.h
(669 B)
📄
uuid.h
(28 B)
📄
uvcvideo.h
(2.57 KB)
📄
v4l2-common.h
(2.01 KB)
📄
v4l2-controls.h
(94.59 KB)
📄
v4l2-dv-timings.h
(30.39 KB)
📄
v4l2-mediabus.h
(5.3 KB)
📄
v4l2-subdev.h
(9.76 KB)
📄
vbox_err.h
(7.09 KB)
📄
vbox_vmmdev_types.h
(11.38 KB)
📄
vboxguest.h
(9.15 KB)
📄
vdpa.h
(1.74 KB)
📄
vduse.h
(9.58 KB)
📄
version.h
(374 B)
📄
veth.h
(224 B)
📄
vfio.h
(70.13 KB)
📄
vfio_ccw.h
(1.29 KB)
📄
vfio_zdev.h
(2.48 KB)
📄
vhost.h
(8.24 KB)
📄
vhost_types.h
(4.77 KB)
📄
videodev2.h
(99.3 KB)
📄
virtio_9p.h
(2 KB)
📄
virtio_balloon.h
(5.16 KB)
📄
virtio_blk.h
(9.75 KB)
📄
virtio_bt.h
(910 B)
📄
virtio_config.h
(4.36 KB)
📄
virtio_console.h
(3.08 KB)
📄
virtio_crypto.h
(13.56 KB)
📄
virtio_fs.h
(573 B)
📄
virtio_gpio.h
(1.7 KB)
📄
virtio_gpu.h
(11.28 KB)
📄
virtio_i2c.h
(1.16 KB)
📄
virtio_ids.h
(3.7 KB)
📄
virtio_input.h
(2.46 KB)
📄
virtio_iommu.h
(3.84 KB)
📄
virtio_mem.h
(6.99 KB)
📄
virtio_mmio.h
(4.85 KB)
📄
virtio_net.h
(14.72 KB)
📄
virtio_pci.h
(7.3 KB)
📄
virtio_pcidev.h
(2.33 KB)
📄
virtio_pmem.h
(641 B)
📄
virtio_ring.h
(8.52 KB)
📄
virtio_rng.h
(265 B)
📄
virtio_scmi.h
(637 B)
📄
virtio_scsi.h
(5.94 KB)
📄
virtio_snd.h
(12.86 KB)
📄
virtio_types.h
(2.1 KB)
📄
virtio_vsock.h
(3.27 KB)
📄
vm_sockets.h
(7.18 KB)
📄
vm_sockets_diag.h
(963 B)
📄
vmcore.h
(455 B)
📄
vsockmon.h
(1.84 KB)
📄
vt.h
(2.99 KB)
📄
vtpm_proxy.h
(1.68 KB)
📄
wait.h
(682 B)
📄
watch_queue.h
(3.41 KB)
📄
watchdog.h
(2.28 KB)
📄
wireguard.h
(7.57 KB)
📄
wireless.h
(41.7 KB)
📄
wmi.h
(1.72 KB)
📄
wwan.h
(295 B)
📄
x25.h
(3.48 KB)
📄
xattr.h
(2.95 KB)
📄
xdp_diag.h
(1.43 KB)
📄
xfrm.h
(12.33 KB)
📄
xilinx-v4l2-controls.h
(2.91 KB)
📄
zorro.h
(3.22 KB)
📄
zorro_ids.h
(29.26 KB)
Editing: xfrm.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _LINUX_XFRM_H #define _LINUX_XFRM_H #include <linux/in6.h> #include <linux/types.h> /* All of the structures in this file may not change size as they are * passed into the kernel from userspace via netlink sockets. */ /* Structure to encapsulate addresses. I do not want to use * "standard" structure. My apologies. */ typedef union { __be32 a4; __be32 a6[4]; struct in6_addr in6; } xfrm_address_t; /* Ident of a specific xfrm_state. It is used on input to lookup * the state by (spi,daddr,ah/esp) or to store information about * spi, protocol and tunnel address on output. */ struct xfrm_id { xfrm_address_t daddr; __be32 spi; __u8 proto; }; struct xfrm_sec_ctx { __u8 ctx_doi; __u8 ctx_alg; __u16 ctx_len; __u32 ctx_sid; char ctx_str[0]; }; /* Security Context Domains of Interpretation */ #define XFRM_SC_DOI_RESERVED 0 #define XFRM_SC_DOI_LSM 1 /* Security Context Algorithms */ #define XFRM_SC_ALG_RESERVED 0 #define XFRM_SC_ALG_SELINUX 1 /* Selector, used as selector both on policy rules (SPD) and SAs. */ struct xfrm_selector { xfrm_address_t daddr; xfrm_address_t saddr; __be16 dport; __be16 dport_mask; __be16 sport; __be16 sport_mask; __u16 family; __u8 prefixlen_d; __u8 prefixlen_s; __u8 proto; int ifindex; __kernel_uid32_t user; }; #define XFRM_INF (~(__u64)0) struct xfrm_lifetime_cfg { __u64 soft_byte_limit; __u64 hard_byte_limit; __u64 soft_packet_limit; __u64 hard_packet_limit; __u64 soft_add_expires_seconds; __u64 hard_add_expires_seconds; __u64 soft_use_expires_seconds; __u64 hard_use_expires_seconds; }; struct xfrm_lifetime_cur { __u64 bytes; __u64 packets; __u64 add_time; __u64 use_time; }; struct xfrm_replay_state { __u32 oseq; __u32 seq; __u32 bitmap; }; #define XFRMA_REPLAY_ESN_MAX 4096 struct xfrm_replay_state_esn { unsigned int bmp_len; __u32 oseq; __u32 seq; __u32 oseq_hi; __u32 seq_hi; __u32 replay_window; __u32 bmp[0]; }; struct xfrm_algo { char alg_name[64]; unsigned int alg_key_len; /* in bits */ char alg_key[0]; }; struct xfrm_algo_auth { char alg_name[64]; unsigned int alg_key_len; /* in bits */ unsigned int alg_trunc_len; /* in bits */ char alg_key[0]; }; struct xfrm_algo_aead { char alg_name[64]; unsigned int alg_key_len; /* in bits */ unsigned int alg_icv_len; /* in bits */ char alg_key[0]; }; struct xfrm_stats { __u32 replay_window; __u32 replay; __u32 integrity_failed; }; enum { XFRM_POLICY_TYPE_MAIN = 0, XFRM_POLICY_TYPE_SUB = 1, XFRM_POLICY_TYPE_MAX = 2, XFRM_POLICY_TYPE_ANY = 255 }; enum { XFRM_POLICY_IN = 0, XFRM_POLICY_OUT = 1, XFRM_POLICY_FWD = 2, XFRM_POLICY_MASK = 3, XFRM_POLICY_MAX = 3 }; enum { XFRM_SHARE_ANY, /* No limitations */ XFRM_SHARE_SESSION, /* For this session only */ XFRM_SHARE_USER, /* For this user only */ XFRM_SHARE_UNIQUE /* Use once */ }; #define XFRM_MODE_TRANSPORT 0 #define XFRM_MODE_TUNNEL 1 #define XFRM_MODE_ROUTEOPTIMIZATION 2 #define XFRM_MODE_IN_TRIGGER 3 #define XFRM_MODE_BEET 4 #define XFRM_MODE_MAX 5 /* Netlink configuration messages. */ enum { XFRM_MSG_BASE = 0x10, XFRM_MSG_NEWSA = 0x10, #define XFRM_MSG_NEWSA XFRM_MSG_NEWSA XFRM_MSG_DELSA, #define XFRM_MSG_DELSA XFRM_MSG_DELSA XFRM_MSG_GETSA, #define XFRM_MSG_GETSA XFRM_MSG_GETSA XFRM_MSG_NEWPOLICY, #define XFRM_MSG_NEWPOLICY XFRM_MSG_NEWPOLICY XFRM_MSG_DELPOLICY, #define XFRM_MSG_DELPOLICY XFRM_MSG_DELPOLICY XFRM_MSG_GETPOLICY, #define XFRM_MSG_GETPOLICY XFRM_MSG_GETPOLICY XFRM_MSG_ALLOCSPI, #define XFRM_MSG_ALLOCSPI XFRM_MSG_ALLOCSPI XFRM_MSG_ACQUIRE, #define XFRM_MSG_ACQUIRE XFRM_MSG_ACQUIRE XFRM_MSG_EXPIRE, #define XFRM_MSG_EXPIRE XFRM_MSG_EXPIRE XFRM_MSG_UPDPOLICY, #define XFRM_MSG_UPDPOLICY XFRM_MSG_UPDPOLICY XFRM_MSG_UPDSA, #define XFRM_MSG_UPDSA XFRM_MSG_UPDSA XFRM_MSG_POLEXPIRE, #define XFRM_MSG_POLEXPIRE XFRM_MSG_POLEXPIRE XFRM_MSG_FLUSHSA, #define XFRM_MSG_FLUSHSA XFRM_MSG_FLUSHSA XFRM_MSG_FLUSHPOLICY, #define XFRM_MSG_FLUSHPOLICY XFRM_MSG_FLUSHPOLICY XFRM_MSG_NEWAE, #define XFRM_MSG_NEWAE XFRM_MSG_NEWAE XFRM_MSG_GETAE, #define XFRM_MSG_GETAE XFRM_MSG_GETAE XFRM_MSG_REPORT, #define XFRM_MSG_REPORT XFRM_MSG_REPORT XFRM_MSG_MIGRATE, #define XFRM_MSG_MIGRATE XFRM_MSG_MIGRATE XFRM_MSG_NEWSADINFO, #define XFRM_MSG_NEWSADINFO XFRM_MSG_NEWSADINFO XFRM_MSG_GETSADINFO, #define XFRM_MSG_GETSADINFO XFRM_MSG_GETSADINFO XFRM_MSG_NEWSPDINFO, #define XFRM_MSG_NEWSPDINFO XFRM_MSG_NEWSPDINFO XFRM_MSG_GETSPDINFO, #define XFRM_MSG_GETSPDINFO XFRM_MSG_GETSPDINFO XFRM_MSG_MAPPING, #define XFRM_MSG_MAPPING XFRM_MSG_MAPPING XFRM_MSG_SETDEFAULT, #define XFRM_MSG_SETDEFAULT XFRM_MSG_SETDEFAULT XFRM_MSG_GETDEFAULT, #define XFRM_MSG_GETDEFAULT XFRM_MSG_GETDEFAULT __XFRM_MSG_MAX }; #define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1) #define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE) /* * Generic LSM security context for comunicating to user space * NOTE: Same format as sadb_x_sec_ctx */ struct xfrm_user_sec_ctx { __u16 len; __u16 exttype; __u8 ctx_alg; /* LSMs: e.g., selinux == 1 */ __u8 ctx_doi; __u16 ctx_len; }; struct xfrm_user_tmpl { struct xfrm_id id; __u16 family; xfrm_address_t saddr; __u32 reqid; __u8 mode; __u8 share; __u8 optional; __u32 aalgos; __u32 ealgos; __u32 calgos; }; struct xfrm_encap_tmpl { __u16 encap_type; __be16 encap_sport; __be16 encap_dport; xfrm_address_t encap_oa; }; /* AEVENT flags */ enum xfrm_ae_ftype_t { XFRM_AE_UNSPEC, XFRM_AE_RTHR=1, /* replay threshold*/ XFRM_AE_RVAL=2, /* replay value */ XFRM_AE_LVAL=4, /* lifetime value */ XFRM_AE_ETHR=8, /* expiry timer threshold */ XFRM_AE_CR=16, /* Event cause is replay update */ XFRM_AE_CE=32, /* Event cause is timer expiry */ XFRM_AE_CU=64, /* Event cause is policy update */ __XFRM_AE_MAX #define XFRM_AE_MAX (__XFRM_AE_MAX - 1) }; struct xfrm_userpolicy_type { __u8 type; __u16 reserved1; __u8 reserved2; }; /* Netlink message attributes. */ enum xfrm_attr_type_t { XFRMA_UNSPEC, XFRMA_ALG_AUTH, /* struct xfrm_algo */ XFRMA_ALG_CRYPT, /* struct xfrm_algo */ XFRMA_ALG_COMP, /* struct xfrm_algo */ XFRMA_ENCAP, /* struct xfrm_algo + struct xfrm_encap_tmpl */ XFRMA_TMPL, /* 1 or more struct xfrm_user_tmpl */ XFRMA_SA, /* struct xfrm_usersa_info */ XFRMA_POLICY, /*struct xfrm_userpolicy_info */ XFRMA_SEC_CTX, /* struct xfrm_sec_ctx */ XFRMA_LTIME_VAL, XFRMA_REPLAY_VAL, XFRMA_REPLAY_THRESH, XFRMA_ETIMER_THRESH, XFRMA_SRCADDR, /* xfrm_address_t */ XFRMA_COADDR, /* xfrm_address_t */ XFRMA_LASTUSED, /* unsigned long */ XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */ XFRMA_MIGRATE, XFRMA_ALG_AEAD, /* struct xfrm_algo_aead */ XFRMA_KMADDRESS, /* struct xfrm_user_kmaddress */ XFRMA_ALG_AUTH_TRUNC, /* struct xfrm_algo_auth */ XFRMA_MARK, /* struct xfrm_mark */ XFRMA_TFCPAD, /* __u32 */ XFRMA_REPLAY_ESN_VAL, /* struct xfrm_replay_state_esn */ XFRMA_SA_EXTRA_FLAGS, /* __u32 */ XFRMA_PROTO, /* __u8 */ XFRMA_ADDRESS_FILTER, /* struct xfrm_address_filter */ XFRMA_PAD, XFRMA_OFFLOAD_DEV, /* struct xfrm_user_offload */ XFRMA_SET_MARK, /* __u32 */ XFRMA_SET_MARK_MASK, /* __u32 */ XFRMA_IF_ID, /* __u32 */ XFRMA_MTIMER_THRESH, /* __u32 in seconds for input SA */ __XFRMA_MAX #define XFRMA_OUTPUT_MARK XFRMA_SET_MARK /* Compatibility */ #define XFRMA_MAX (__XFRMA_MAX - 1) }; struct xfrm_mark { __u32 v; /* value */ __u32 m; /* mask */ }; enum xfrm_sadattr_type_t { XFRMA_SAD_UNSPEC, XFRMA_SAD_CNT, XFRMA_SAD_HINFO, __XFRMA_SAD_MAX #define XFRMA_SAD_MAX (__XFRMA_SAD_MAX - 1) }; struct xfrmu_sadhinfo { __u32 sadhcnt; /* current hash bkts */ __u32 sadhmcnt; /* max allowed hash bkts */ }; enum xfrm_spdattr_type_t { XFRMA_SPD_UNSPEC, XFRMA_SPD_INFO, XFRMA_SPD_HINFO, XFRMA_SPD_IPV4_HTHRESH, XFRMA_SPD_IPV6_HTHRESH, __XFRMA_SPD_MAX #define XFRMA_SPD_MAX (__XFRMA_SPD_MAX - 1) }; struct xfrmu_spdinfo { __u32 incnt; __u32 outcnt; __u32 fwdcnt; __u32 inscnt; __u32 outscnt; __u32 fwdscnt; }; struct xfrmu_spdhinfo { __u32 spdhcnt; __u32 spdhmcnt; }; struct xfrmu_spdhthresh { __u8 lbits; __u8 rbits; }; struct xfrm_usersa_info { struct xfrm_selector sel; struct xfrm_id id; xfrm_address_t saddr; struct xfrm_lifetime_cfg lft; struct xfrm_lifetime_cur curlft; struct xfrm_stats stats; __u32 seq; __u32 reqid; __u16 family; __u8 mode; /* XFRM_MODE_xxx */ __u8 replay_window; __u8 flags; #define XFRM_STATE_NOECN 1 #define XFRM_STATE_DECAP_DSCP 2 #define XFRM_STATE_NOPMTUDISC 4 #define XFRM_STATE_WILDRECV 8 #define XFRM_STATE_ICMP 16 #define XFRM_STATE_AF_UNSPEC 32 #define XFRM_STATE_ALIGN4 64 #define XFRM_STATE_ESN 128 }; #define XFRM_SA_XFLAG_DONT_ENCAP_DSCP 1 #define XFRM_SA_XFLAG_OSEQ_MAY_WRAP 2 struct xfrm_usersa_id { xfrm_address_t daddr; __be32 spi; __u16 family; __u8 proto; }; struct xfrm_aevent_id { struct xfrm_usersa_id sa_id; xfrm_address_t saddr; __u32 flags; __u32 reqid; }; struct xfrm_userspi_info { struct xfrm_usersa_info info; __u32 min; __u32 max; }; struct xfrm_userpolicy_info { struct xfrm_selector sel; struct xfrm_lifetime_cfg lft; struct xfrm_lifetime_cur curlft; __u32 priority; __u32 index; __u8 dir; __u8 action; #define XFRM_POLICY_ALLOW 0 #define XFRM_POLICY_BLOCK 1 __u8 flags; #define XFRM_POLICY_LOCALOK 1 /* Allow user to override global policy */ /* Automatically expand selector to include matching ICMP payloads. */ #define XFRM_POLICY_ICMP 2 __u8 share; }; struct xfrm_userpolicy_id { struct xfrm_selector sel; __u32 index; __u8 dir; }; struct xfrm_user_acquire { struct xfrm_id id; xfrm_address_t saddr; struct xfrm_selector sel; struct xfrm_userpolicy_info policy; __u32 aalgos; __u32 ealgos; __u32 calgos; __u32 seq; }; struct xfrm_user_expire { struct xfrm_usersa_info state; __u8 hard; }; struct xfrm_user_polexpire { struct xfrm_userpolicy_info pol; __u8 hard; }; struct xfrm_usersa_flush { __u8 proto; }; struct xfrm_user_report { __u8 proto; struct xfrm_selector sel; }; /* Used by MIGRATE to pass addresses IKE should use to perform * SA negotiation with the peer */ struct xfrm_user_kmaddress { xfrm_address_t local; xfrm_address_t remote; __u32 reserved; __u16 family; }; struct xfrm_user_migrate { xfrm_address_t old_daddr; xfrm_address_t old_saddr; xfrm_address_t new_daddr; xfrm_address_t new_saddr; __u8 proto; __u8 mode; __u16 reserved; __u32 reqid; __u16 old_family; __u16 new_family; }; struct xfrm_user_mapping { struct xfrm_usersa_id id; __u32 reqid; xfrm_address_t old_saddr; xfrm_address_t new_saddr; __be16 old_sport; __be16 new_sport; }; struct xfrm_address_filter { xfrm_address_t saddr; xfrm_address_t daddr; __u16 family; __u8 splen; __u8 dplen; }; struct xfrm_user_offload { int ifindex; __u8 flags; }; /* This flag was exposed without any kernel code that supporting it. * Unfortunately, strongswan has the code that uses sets this flag, * which makes impossible to reuse this bit. * * So leave it here to make sure that it won't be reused by mistake. */ #define XFRM_OFFLOAD_IPV6 1 #define XFRM_OFFLOAD_INBOUND 2 /* Two bits above are relevant for state path only, while * offload is used for both policy and state flows. * * In policy offload mode, they are free and can be safely reused. */ #define XFRM_OFFLOAD_PACKET 4 struct xfrm_userpolicy_default { #define XFRM_USERPOLICY_UNSPEC 0 #define XFRM_USERPOLICY_BLOCK 1 #define XFRM_USERPOLICY_ACCEPT 2 __u8 in; __u8 fwd; __u8 out; }; /* backwards compatibility for userspace */ #define XFRMGRP_ACQUIRE 1 #define XFRMGRP_EXPIRE 2 #define XFRMGRP_SA 4 #define XFRMGRP_POLICY 8 #define XFRMGRP_REPORT 0x20 enum xfrm_nlgroups { XFRMNLGRP_NONE, #define XFRMNLGRP_NONE XFRMNLGRP_NONE XFRMNLGRP_ACQUIRE, #define XFRMNLGRP_ACQUIRE XFRMNLGRP_ACQUIRE XFRMNLGRP_EXPIRE, #define XFRMNLGRP_EXPIRE XFRMNLGRP_EXPIRE XFRMNLGRP_SA, #define XFRMNLGRP_SA XFRMNLGRP_SA XFRMNLGRP_POLICY, #define XFRMNLGRP_POLICY XFRMNLGRP_POLICY XFRMNLGRP_AEVENTS, #define XFRMNLGRP_AEVENTS XFRMNLGRP_AEVENTS XFRMNLGRP_REPORT, #define XFRMNLGRP_REPORT XFRMNLGRP_REPORT XFRMNLGRP_MIGRATE, #define XFRMNLGRP_MIGRATE XFRMNLGRP_MIGRATE XFRMNLGRP_MAPPING, #define XFRMNLGRP_MAPPING XFRMNLGRP_MAPPING __XFRMNLGRP_MAX }; #define XFRMNLGRP_MAX (__XFRMNLGRP_MAX - 1) #endif /* _LINUX_XFRM_H */
Upload File
Create Folder