GOLDEN HOUR
DIR: /usr/include/linux
UP
UPLOAD
Name
Size
Action
a.out.h
6.73 KB
DEL
acct.h
3.82 KB
DEL
acrn.h
16.29 KB
DEL
adb.h
1.11 KB
DEL
adfs_fs.h
993 B
DEL
affs_hardblocks.h
1.54 KB
DEL
agpgart.h
3.85 KB
DEL
aio_abi.h
3.32 KB
DEL
am437x-vpfe.h
3.59 KB
DEL
[ android ]
-
DEL
apm_bios.h
3.6 KB
DEL
arcfb.h
213 B
DEL
arm_sdei.h
2.69 KB
DEL
aspeed-lpc-ctrl.h
1.74 KB
DEL
aspeed-p2a-ctrl.h
1.86 KB
DEL
atalk.h
1023 B
DEL
atm.h
7.7 KB
DEL
atm_eni.h
648 B
DEL
atm_he.h
406 B
DEL
atm_idt77105.h
955 B
DEL
atm_nicstar.h
1.25 KB
DEL
atm_tcp.h
1.58 KB
DEL
atm_zatm.h
1.5 KB
DEL
atmapi.h
952 B
DEL
atmarp.h
1.27 KB
DEL
atmbr2684.h
3.19 KB
DEL
atmclip.h
576 B
DEL
atmdev.h
7.5 KB
DEL
atmioc.h
1.61 KB
DEL
atmlec.h
2.33 KB
DEL
atmmpc.h
4.13 KB
DEL
atmppp.h
639 B
DEL
atmsap.h
4.85 KB
DEL
atmsvc.h
1.81 KB
DEL
audit.h
21.06 KB
DEL
auto_dev-ioctl.h
4.87 KB
DEL
auto_fs.h
6.28 KB
DEL
auto_fs4.h
451 B
DEL
auxvec.h
1.56 KB
DEL
ax25.h
2.76 KB
DEL
batadv_packet.h
19.87 KB
DEL
batman_adv.h
16.49 KB
DEL
baycom.h
883 B
DEL
bcm933xx_hcs.h
419 B
DEL
bfs_fs.h
1.86 KB
DEL
binfmts.h
776 B
DEL
bits.h
447 B
DEL
blkpg.h
904 B
DEL
blktrace_api.h
4.59 KB
DEL
blkzoned.h
6.34 KB
DEL
bpf.h
272.11 KB
DEL
bpf_common.h
1.33 KB
DEL
bpf_perf_event.h
529 B
DEL
bpfilter.h
465 B
DEL
bpqether.h
981 B
DEL
bsg.h
2.44 KB
DEL
bt-bmc.h
572 B
DEL
btf.h
5.46 KB
DEL
btrfs.h
29.85 KB
DEL
btrfs_tree.h
25.22 KB
DEL
[ byteorder ]
-
DEL
cachefiles.h
1.61 KB
DEL
[ caif ]
-
DEL
[ can ]
-
DEL
can.h
11.23 KB
DEL
capability.h
13.17 KB
DEL
capi.h
3.05 KB
DEL
cciss_defs.h
3.2 KB
DEL
cciss_ioctl.h
2.7 KB
DEL
ccs.h
767 B
DEL
cdrom.h
28.87 KB
DEL
cec-funcs.h
53.14 KB
DEL
cec.h
40.47 KB
DEL
cfm_bridge.h
1.42 KB
DEL
cgroupstats.h
2.17 KB
DEL
chio.h
5.16 KB
DEL
[ cifs ]
-
DEL
close_range.h
377 B
DEL
cm4000_cs.h
1.76 KB
DEL
cn_proc.h
4.05 KB
DEL
coda.h
17.79 KB
DEL
coff.h
12.25 KB
DEL
connector.h
2.2 KB
DEL
const.h
987 B
DEL
coresight-stm.h
747 B
DEL
cramfs_fs.h
3.47 KB
DEL
cryptouser.h
5.2 KB
DEL
cuda.h
905 B
DEL
cxl_mem.h
7.73 KB
DEL
cycx_cfm.h
2.92 KB
DEL
dcbnl.h
24.7 KB
DEL
dccp.h
6.29 KB
DEL
devlink.h
22.77 KB
DEL
dlm.h
2.49 KB
DEL
dlm_device.h
2.48 KB
DEL
dlm_netlink.h
1.13 KB
DEL
dlm_plock.h
894 B
DEL
dlmconstants.h
4.96 KB
DEL
dm-ioctl.h
11.48 KB
DEL
dm-log-userspace.h
14.83 KB
DEL
dma-buf.h
5.12 KB
DEL
dma-heap.h
1.36 KB
DEL
dn.h
4.53 KB
DEL
dns_resolver.h
3.86 KB
DEL
dpll.h
8.56 KB
DEL
dqblk_xfs.h
9.17 KB
DEL
[ dvb ]
-
DEL
edd.h
5.47 KB
DEL
efs_fs_sb.h
2.17 KB
DEL
elf-em.h
2.57 KB
DEL
elf-fdpic.h
1.1 KB
DEL
elf.h
14.69 KB
DEL
errno.h
23 B
DEL
errqueue.h
1.94 KB
DEL
erspan.h
1.03 KB
DEL
ethtool.h
101.42 KB
DEL
ethtool_netlink.h
6.17 KB
DEL
ethtool_netlink_generated.h
19.17 KB
DEL
eventfd.h
264 B
DEL
eventpoll.h
2.84 KB
DEL
f2fs.h
3.22 KB
DEL
fadvise.h
842 B
DEL
falloc.h
3.56 KB
DEL
fanotify.h
7.7 KB
DEL
fb.h
16.09 KB
DEL
fcntl.h
4.22 KB
DEL
fd.h
11.83 KB
DEL
fdreg.h
5.24 KB
DEL
fib_rules.h
1.99 KB
DEL
fiemap.h
2.71 KB
DEL
filter.h
2.16 KB
DEL
firewire-cdev.h
43.2 KB
DEL
firewire-constants.h
3.16 KB
DEL
fou.h
819 B
DEL
fpga-dfl.h
8.52 KB
DEL
fs.h
12.88 KB
DEL
fscrypt.h
6.41 KB
DEL
fsi.h
2.2 KB
DEL
fsl_hypervisor.h
7.13 KB
DEL
fsl_mc.h
734 B
DEL
fsmap.h
4.29 KB
DEL
fsverity.h
3.11 KB
DEL
fuse.h
25.36 KB
DEL
futex.h
5.98 KB
DEL
gameport.h
897 B
DEL
gen_stats.h
1.49 KB
DEL
genetlink.h
2.19 KB
DEL
[ genwqe ]
-
DEL
gfs2_ondisk.h
14.43 KB
DEL
gpio.h
19.46 KB
DEL
gsmmux.h
4.4 KB
DEL
gtp.h
734 B
DEL
handshake.h
1.61 KB
DEL
hash_info.h
971 B
DEL
[ hdlc ]
-
DEL
hdlc.h
637 B
DEL
hdlcdrv.h
2.84 KB
DEL
hdreg.h
22.17 KB
DEL
hid.h
2.04 KB
DEL
hiddev.h
6.2 KB
DEL
hidraw.h
1.95 KB
DEL
hpet.h
743 B
DEL
[ hsi ]
-
DEL
hsr_netlink.h
1.08 KB
DEL
hw_breakpoint.h
742 B
DEL
hyperv.h
10.89 KB
DEL
i2c-dev.h
1.83 KB
DEL
i2c.h
6.73 KB
DEL
i2o-dev.h
11.28 KB
DEL
i8k.h
1.49 KB
DEL
icmp.h
4.67 KB
DEL
icmpv6.h
4.2 KB
DEL
idxd.h
9.11 KB
DEL
if.h
10.67 KB
DEL
if_addr.h
1.84 KB
DEL
if_addrlabel.h
721 B
DEL
if_alg.h
1.53 KB
DEL
if_arcnet.h
3.63 KB
DEL
if_arp.h
6.41 KB
DEL
if_bonding.h
5.02 KB
DEL
if_bridge.h
20.27 KB
DEL
if_cablemodem.h
986 B
DEL
if_eql.h
1.32 KB
DEL
if_ether.h
8.21 KB
DEL
if_fc.h
1.7 KB
DEL
if_fddi.h
4.27 KB
DEL
if_hippi.h
4.14 KB
DEL
if_infiniband.h
1.22 KB
DEL
if_link.h
52.92 KB
DEL
if_ltalk.h
210 B
DEL
if_macsec.h
6.35 KB
DEL
if_packet.h
7.99 KB
DEL
if_phonet.h
424 B
DEL
if_plip.h
660 B
DEL
if_ppp.h
29 B
DEL
if_pppol2tp.h
3.23 KB
DEL
if_pppox.h
4.76 KB
DEL
if_slip.h
872 B
DEL
if_team.h
2.54 KB
DEL
if_tun.h
4 KB
DEL
if_tunnel.h
5.36 KB
DEL
if_vlan.h
1.79 KB
DEL
if_x25.h
881 B
DEL
if_xdp.h
5.29 KB
DEL
ife.h
351 B
DEL
igmp.h
2.99 KB
DEL
[ iio ]
-
DEL
ila.h
1.22 KB
DEL
in.h
10.24 KB
DEL
in6.h
7.36 KB
DEL
in_route.h
936 B
DEL
inet_diag.h
4.9 KB
DEL
inotify.h
3.21 KB
DEL
input-event-codes.h
29.5 KB
DEL
input.h
15.84 KB
DEL
io_uring.h
20.4 KB
DEL
ioctl.h
163 B
DEL
iommufd.h
36.45 KB
DEL
ioprio.h
4.08 KB
DEL
ip.h
4.7 KB
DEL
ip6_tunnel.h
1.91 KB
DEL
ip_vs.h
13.8 KB
DEL
ipc.h
2.05 KB
DEL
ipmi.h
15.08 KB
DEL
ipmi_bmc.h
488 B
DEL
ipmi_msgdefs.h
3.35 KB
DEL
ipmi_ssif_bmc.h
441 B
DEL
ipsec.h
947 B
DEL
ipv6.h
4.07 KB
DEL
ipv6_route.h
1.86 KB
DEL
ipx.h
2.29 KB
DEL
irqnr.h
104 B
DEL
[ isdn ]
-
DEL
iso_fs.h
6.33 KB
DEL
isst_if.h
14.92 KB
DEL
ivtv.h
2.95 KB
DEL
ivtvfb.h
1.18 KB
DEL
jffs2.h
6.66 KB
DEL
joystick.h
3.35 KB
DEL
kcm.h
822 B
DEL
kcmp.h
522 B
DEL
kcov.h
1.92 KB
DEL
kd.h
6.3 KB
DEL
kdev_t.h
383 B
DEL
kernel-page-flags.h
900 B
DEL
kernel.h
194 B
DEL
kernelcapi.h
1019 B
DEL
kexec.h
2.05 KB
DEL
keyboard.h
13.14 KB
DEL
keyctl.h
5.86 KB
DEL
kfd_ioctl.h
57.06 KB
DEL
kfd_sysfs.h
5.25 KB
DEL
kvm.h
47.24 KB
DEL
kvm_para.h
1001 B
DEL
l2tp.h
5.61 KB
DEL
landlock.h
11.55 KB
DEL
libc-compat.h
8.09 KB
DEL
limits.h
937 B
DEL
lirc.h
7.95 KB
DEL
llc.h
3.09 KB
DEL
loadpin.h
834 B
DEL
loop.h
3.32 KB
DEL
lp.h
4.09 KB
DEL
lsm.h
1.51 KB
DEL
lwtunnel.h
2.31 KB
DEL
magic.h
3.73 KB
DEL
major.h
4.55 KB
DEL
map_to_7segment.h
6.45 KB
DEL
matroxfb.h
1.43 KB
DEL
max2175.h
1.01 KB
DEL
mdio.h
23.78 KB
DEL
media-bus-format.h
6.75 KB
DEL
media.h
12.46 KB
DEL
mei.h
3.4 KB
DEL
mei_uuid.h
738 B
DEL
membarrier.h
9.14 KB
DEL
memfd.h
1.43 KB
DEL
mempolicy.h
2.51 KB
DEL
meye.h
2.47 KB
DEL
mii.h
9.27 KB
DEL
minix_fs.h
2.07 KB
DEL
[ misc ]
-
DEL
mman.h
1.75 KB
DEL
[ mmc ]
-
DEL
mmtimer.h
2.07 KB
DEL
module.h
293 B
DEL
mount.h
4.9 KB
DEL
mpls.h
2.25 KB
DEL
mpls_iptunnel.h
761 B
DEL
mptcp.h
3.67 KB
DEL
mptcp_pm.h
4.3 KB
DEL
mqueue.h
2.15 KB
DEL
mroute.h
5.78 KB
DEL
mroute6.h
4.81 KB
DEL
mrp_bridge.h
1.67 KB
DEL
msdos_fs.h
6.57 KB
DEL
msg.h
3.31 KB
DEL
mshv.h
7.93 KB
DEL
mtio.h
7.98 KB
DEL
nbd-netlink.h
2.35 KB
DEL
nbd.h
3.77 KB
DEL
ncsi.h
4.71 KB
DEL
ndctl.h
6.67 KB
DEL
neighbour.h
5.91 KB
DEL
net.h
2.04 KB
DEL
net_dropmon.h
2.85 KB
DEL
net_namespace.h
715 B
DEL
net_shaper.h
2.52 KB
DEL
net_tstamp.h
6.3 KB
DEL
netconf.h
614 B
DEL
netdev.h
5.65 KB
DEL
netdevice.h
2.2 KB
DEL
[ netfilter ]
-
DEL
netfilter.h
1.69 KB
DEL
[ netfilter_arp ]
-
DEL
netfilter_arp.h
445 B
DEL
[ netfilter_bridge ]
-
DEL
netfilter_bridge.h
1.14 KB
DEL
netfilter_decnet.h
1.72 KB
DEL
[ netfilter_ipv4 ]
-
DEL
netfilter_ipv4.h
1.45 KB
DEL
[ netfilter_ipv6 ]
-
DEL
netfilter_ipv6.h
1.35 KB
DEL
netlink.h
12.09 KB
DEL
netlink_diag.h
1.49 KB
DEL
netrom.h
807 B
DEL
nexthop.h
3.97 KB
DEL
nfc.h
10.95 KB
DEL
nfs.h
4.36 KB
DEL
nfs2.h
1.43 KB
DEL
nfs3.h
2.4 KB
DEL
nfs4.h
6.54 KB
DEL
nfs4_mount.h
1.89 KB
DEL
nfs_fs.h
1.62 KB
DEL
nfs_idmap.h
2.19 KB
DEL
nfs_mount.h
2.09 KB
DEL
nfsacl.h
718 B
DEL
[ nfsd ]
-
DEL
nfsd_netlink.h
1.95 KB
DEL
nilfs2_api.h
7.41 KB
DEL
nilfs2_ondisk.h
17.66 KB
DEL
nitro_enclaves.h
12.85 KB
DEL
nl80211.h
341.33 KB
DEL
nsfs.h
639 B
DEL
nubus.h
8 KB
DEL
nvme_ioctl.h
2.43 KB
DEL
nvram.h
532 B
DEL
omap3isp.h
20.36 KB
DEL
omapfb.h
5.78 KB
DEL
oom.h
511 B
DEL
openat2.h
1.42 KB
DEL
openvswitch.h
40.75 KB
DEL
packet_diag.h
1.63 KB
DEL
param.h
141 B
DEL
parport.h
3.56 KB
DEL
patchkey.h
892 B
DEL
pci.h
1.35 KB
DEL
pci_regs.h
61.89 KB
DEL
pcitest.h
920 B
DEL
perf_event.h
42.68 KB
DEL
personality.h
2.05 KB
DEL
pfkeyv2.h
10.32 KB
DEL
pfrut.h
7.8 KB
DEL
pg.h
2.34 KB
DEL
phantom.h
1.62 KB
DEL
phonet.h
4.57 KB
DEL
pidfd.h
256 B
DEL
pkt_cls.h
18.65 KB
DEL
pkt_sched.h
28.75 KB
DEL
pktcdvd.h
2.63 KB
DEL
pmu.h
5.32 KB
DEL
poll.h
22 B
DEL
posix_acl.h
1.22 KB
DEL
posix_acl_xattr.h
1.09 KB
DEL
posix_types.h
1.07 KB
DEL
ppdev.h
3.21 KB
DEL
ppp-comp.h
2.47 KB
DEL
ppp-ioctl.h
5.59 KB
DEL
ppp_defs.h
5.43 KB
DEL
pps.h
4.62 KB
DEL
pr.h
1.59 KB
DEL
prctl.h
10.81 KB
DEL
psample.h
2.57 KB
DEL
psci.h
5.21 KB
DEL
psp-dbc.h
5.16 KB
DEL
psp-sev.h
7.59 KB
DEL
ptp_clock.h
7.35 KB
DEL
ptrace.h
4.29 KB
DEL
qemu_fw_cfg.h
2.41 KB
DEL
qnx4_fs.h
2.27 KB
DEL
qnxtypes.h
624 B
DEL
qrtr.h
893 B
DEL
quota.h
6.16 KB
DEL
radeonfb.h
360 B
DEL
[ raid ]
-
DEL
random.h
1.38 KB
DEL
rds.h
10.91 KB
DEL
reboot.h
1.31 KB
DEL
reiserfs_fs.h
775 B
DEL
reiserfs_xattr.h
533 B
DEL
remoteproc_cdev.h
1.08 KB
DEL
resource.h
2.32 KB
DEL
rfkill.h
6.45 KB
DEL
rio_cm_cdev.h
3.17 KB
DEL
rio_mport_cdev.h
9.11 KB
DEL
rkisp1-config.h
30.63 KB
DEL
romfs_fs.h
1.21 KB
DEL
rose.h
2.18 KB
DEL
route.h
2.28 KB
DEL
rpl.h
814 B
DEL
rpl_iptunnel.h
424 B
DEL
rpmsg.h
1.03 KB
DEL
rpmsg_types.h
288 B
DEL
rseq.h
4.79 KB
DEL
rtc.h
5.19 KB
DEL
rtnetlink.h
20.8 KB
DEL
rxrpc.h
4.81 KB
DEL
scc.h
4.52 KB
DEL
[ sched ]
-
DEL
sched.h
6.12 KB
DEL
scif_ioctl.h
6.23 KB
DEL
screen_info.h
2.42 KB
DEL
sctp.h
35.18 KB
DEL
seccomp.h
5.6 KB
DEL
securebits.h
2.64 KB
DEL
sed-opal.h
5.29 KB
DEL
seg6.h
1.14 KB
DEL
seg6_genl.h
589 B
DEL
seg6_hmac.h
423 B
DEL
seg6_iptunnel.h
984 B
DEL
seg6_local.h
3.78 KB
DEL
selinux_netlink.h
1.17 KB
DEL
sem.h
2.98 KB
DEL
serial.h
4.9 KB
DEL
serial_core.h
4.93 KB
DEL
serial_reg.h
15.65 KB
DEL
serio.h
2.09 KB
DEL
sev-guest.h
2.47 KB
DEL
shm.h
3.71 KB
DEL
signal.h
388 B
DEL
signalfd.h
1.2 KB
DEL
smc.h
8.46 KB
DEL
smc_diag.h
2.88 KB
DEL
smiapp.h
1.03 KB
DEL
snmp.h
14.01 KB
DEL
sock_diag.h
1.27 KB
DEL
socket.h
919 B
DEL
sockios.h
6.69 KB
DEL
sonet.h
2.24 KB
DEL
sonypi.h
5.18 KB
DEL
sound.h
1.21 KB
DEL
soundcard.h
44.96 KB
DEL
[ spi ]
-
DEL
stat.h
7.23 KB
DEL
stddef.h
1.69 KB
DEL
stm.h
1.25 KB
DEL
string.h
238 B
DEL
[ sunrpc ]
-
DEL
[ surface_aggregator ]
-
DEL
suspend_ioctls.h
1.4 KB
DEL
swab.h
6.76 KB
DEL
switchtec_ioctl.h
5.14 KB
DEL
sync_file.h
3.49 KB
DEL
synclink.h
8.77 KB
DEL
sysctl.h
25.3 KB
DEL
sysinfo.h
1.02 KB
DEL
target_core_user.h
4.52 KB
DEL
taskstats.h
8.13 KB
DEL
[ tc_act ]
-
DEL
[ tc_ematch ]
-
DEL
tcp.h
11.65 KB
DEL
tcp_metrics.h
1.94 KB
DEL
tdx-guest.h
1.27 KB
DEL
tee.h
13.09 KB
DEL
termios.h
172 B
DEL
thermal.h
3.23 KB
DEL
time.h
1.71 KB
DEL
time_types.h
1.24 KB
DEL
timerfd.h
936 B
DEL
times.h
278 B
DEL
timex.h
7.63 KB
DEL
tiocl.h
1.69 KB
DEL
tipc.h
8.62 KB
DEL
tipc_config.h
14.52 KB
DEL
tipc_netlink.h
9.17 KB
DEL
tipc_sockets_diag.h
468 B
DEL
tls.h
7.06 KB
DEL
toshiba.h
1.88 KB
DEL
tps6594_pfsm.h
1.13 KB
DEL
tty.h
1.55 KB
DEL
tty_flags.h
4.4 KB
DEL
types.h
1.6 KB
DEL
udf_fs_i.h
697 B
DEL
udmabuf.h
643 B
DEL
udp.h
1.65 KB
DEL
uhid.h
4.54 KB
DEL
uinput.h
9.04 KB
DEL
uio.h
732 B
DEL
uleds.h
798 B
DEL
ultrasound.h
4.46 KB
DEL
um_timetravel.h
3.87 KB
DEL
un.h
384 B
DEL
unistd.h
220 B
DEL
unix_diag.h
1.3 KB
DEL
[ usb ]
-
DEL
usbdevice_fs.h
8.12 KB
DEL
usbip.h
1.47 KB
DEL
userfaultfd.h
10.68 KB
DEL
userio.h
1.48 KB
DEL
utime.h
223 B
DEL
utsname.h
669 B
DEL
uuid.h
28 B
DEL
uvcvideo.h
2.57 KB
DEL
v4l2-common.h
2.01 KB
DEL
v4l2-controls.h
94.59 KB
DEL
v4l2-dv-timings.h
30.39 KB
DEL
v4l2-mediabus.h
5.3 KB
DEL
v4l2-subdev.h
9.76 KB
DEL
vbox_err.h
7.09 KB
DEL
vbox_vmmdev_types.h
11.38 KB
DEL
vboxguest.h
9.15 KB
DEL
vdpa.h
1.74 KB
DEL
vduse.h
9.58 KB
DEL
version.h
374 B
DEL
veth.h
224 B
DEL
vfio.h
70.13 KB
DEL
vfio_ccw.h
1.29 KB
DEL
vfio_zdev.h
2.48 KB
DEL
vhost.h
8.24 KB
DEL
vhost_types.h
4.77 KB
DEL
videodev2.h
99.3 KB
DEL
virtio_9p.h
2 KB
DEL
virtio_balloon.h
5.16 KB
DEL
virtio_blk.h
9.75 KB
DEL
virtio_bt.h
910 B
DEL
virtio_config.h
4.36 KB
DEL
virtio_console.h
3.08 KB
DEL
virtio_crypto.h
13.56 KB
DEL
virtio_fs.h
573 B
DEL
virtio_gpio.h
1.7 KB
DEL
virtio_gpu.h
11.28 KB
DEL
virtio_i2c.h
1.16 KB
DEL
virtio_ids.h
3.7 KB
DEL
virtio_input.h
2.46 KB
DEL
virtio_iommu.h
3.84 KB
DEL
virtio_mem.h
6.99 KB
DEL
virtio_mmio.h
4.85 KB
DEL
virtio_net.h
14.72 KB
DEL
virtio_pci.h
7.3 KB
DEL
virtio_pcidev.h
2.33 KB
DEL
virtio_pmem.h
641 B
DEL
virtio_ring.h
8.52 KB
DEL
virtio_rng.h
265 B
DEL
virtio_scmi.h
637 B
DEL
virtio_scsi.h
5.94 KB
DEL
virtio_snd.h
12.86 KB
DEL
virtio_types.h
2.1 KB
DEL
virtio_vsock.h
3.27 KB
DEL
vm_sockets.h
7.18 KB
DEL
vm_sockets_diag.h
963 B
DEL
vmcore.h
455 B
DEL
vsockmon.h
1.84 KB
DEL
vt.h
2.99 KB
DEL
vtpm_proxy.h
1.68 KB
DEL
wait.h
682 B
DEL
watch_queue.h
3.41 KB
DEL
watchdog.h
2.28 KB
DEL
wireguard.h
7.57 KB
DEL
wireless.h
41.7 KB
DEL
wmi.h
1.72 KB
DEL
wwan.h
295 B
DEL
x25.h
3.48 KB
DEL
xattr.h
2.95 KB
DEL
xdp_diag.h
1.43 KB
DEL
xfrm.h
12.33 KB
DEL
xilinx-v4l2-controls.h
2.91 KB
DEL
zorro.h
3.22 KB
DEL
zorro_ids.h
29.26 KB
DEL
Edit: dcbnl.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (c) 2008-2011, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307 USA. * * Author: Lucy Liu <lucy.liu@intel.com> */ #ifndef __LINUX_DCBNL_H__ #define __LINUX_DCBNL_H__ #include <linux/types.h> /* IEEE 802.1Qaz std supported values */ #define IEEE_8021QAZ_MAX_TCS 8 #define IEEE_8021QAZ_TSA_STRICT 0 #define IEEE_8021QAZ_TSA_CB_SHAPER 1 #define IEEE_8021QAZ_TSA_ETS 2 #define IEEE_8021QAZ_TSA_VENDOR 255 /* This structure contains the IEEE 802.1Qaz ETS managed object * * @willing: willing bit in ETS configuration TLV * @ets_cap: indicates supported capacity of ets feature * @cbs: credit based shaper ets algorithm supported * @tc_tx_bw: tc tx bandwidth indexed by traffic class * @tc_rx_bw: tc rx bandwidth indexed by traffic class * @tc_tsa: TSA Assignment table, indexed by traffic class * @prio_tc: priority assignment table mapping 8021Qp to traffic class * @tc_reco_bw: recommended tc bandwidth indexed by traffic class for TLV * @tc_reco_tsa: recommended tc bandwidth indexed by traffic class for TLV * @reco_prio_tc: recommended tc tx bandwidth indexed by traffic class for TLV * * Recommended values are used to set fields in the ETS recommendation TLV * with hardware offloaded LLDP. * * ---- * TSA Assignment 8 bit identifiers * 0 strict priority * 1 credit-based shaper * 2 enhanced transmission selection * 3-254 reserved * 255 vendor specific */ struct ieee_ets { __u8 willing; __u8 ets_cap; __u8 cbs; __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; __u8 tc_rx_bw[IEEE_8021QAZ_MAX_TCS]; __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; __u8 prio_tc[IEEE_8021QAZ_MAX_TCS]; __u8 tc_reco_bw[IEEE_8021QAZ_MAX_TCS]; __u8 tc_reco_tsa[IEEE_8021QAZ_MAX_TCS]; __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS]; }; /* This structure contains rate limit extension to the IEEE 802.1Qaz ETS * managed object. * Values are 64 bits long and specified in Kbps to enable usage over both * slow and very fast networks. * * @tc_maxrate: maximal tc tx bandwidth indexed by traffic class */ struct ieee_maxrate { __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; }; enum dcbnl_cndd_states { DCB_CNDD_RESET = 0, DCB_CNDD_EDGE, DCB_CNDD_INTERIOR, DCB_CNDD_INTERIOR_READY, }; /* This structure contains the IEEE 802.1Qau QCN managed object. * *@rpg_enable: enable QCN RP *@rppp_max_rps: maximum number of RPs allowed for this CNPV on this port *@rpg_time_reset: time between rate increases if no CNMs received. * given in u-seconds *@rpg_byte_reset: transmitted data between rate increases if no CNMs received. * given in Bytes *@rpg_threshold: The number of times rpByteStage or rpTimeStage can count * before RP rate control state machine advances states *@rpg_max_rate: the maxinun rate, in Mbits per second, * at which an RP can transmit *@rpg_ai_rate: The rate, in Mbits per second, * used to increase rpTargetRate in the RPR_ACTIVE_INCREASE *@rpg_hai_rate: The rate, in Mbits per second, * used to increase rpTargetRate in the RPR_HYPER_INCREASE state *@rpg_gd: Upon CNM receive, flow rate is limited to (Fb/Gd)*CurrentRate. * rpgGd is given as log2(Gd), where Gd may only be powers of 2 *@rpg_min_dec_fac: The minimum factor by which the current transmit rate * can be changed by reception of a CNM. * value is given as percentage (1-100) *@rpg_min_rate: The minimum value, in bits per second, for rate to limit *@cndd_state_machine: The state of the congestion notification domain * defense state machine, as defined by IEEE 802.3Qau * section 32.1.1. In the interior ready state, * the QCN capable hardware may add CN-TAG TLV to the * outgoing traffic, to specifically identify outgoing * flows. */ struct ieee_qcn { __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS]; __u32 rppp_max_rps[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_time_reset[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_byte_reset[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_threshold[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_max_rate[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_ai_rate[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_hai_rate[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_gd[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_min_dec_fac[IEEE_8021QAZ_MAX_TCS]; __u32 rpg_min_rate[IEEE_8021QAZ_MAX_TCS]; __u32 cndd_state_machine[IEEE_8021QAZ_MAX_TCS]; }; /* This structure contains the IEEE 802.1Qau QCN statistics. * *@rppp_rp_centiseconds: the number of RP-centiseconds accumulated * by RPs at this priority level on this Port *@rppp_created_rps: number of active RPs(flows) that react to CNMs */ struct ieee_qcn_stats { __u64 rppp_rp_centiseconds[IEEE_8021QAZ_MAX_TCS]; __u32 rppp_created_rps[IEEE_8021QAZ_MAX_TCS]; }; /* This structure contains the IEEE 802.1Qaz PFC managed object * * @pfc_cap: Indicates the number of traffic classes on the local device * that may simultaneously have PFC enabled. * @pfc_en: bitmap indicating pfc enabled traffic classes * @mbc: enable macsec bypass capability * @delay: the allowance made for a round-trip propagation delay of the * link in bits. * @requests: count of the sent pfc frames * @indications: count of the received pfc frames */ struct ieee_pfc { __u8 pfc_cap; __u8 pfc_en; __u8 mbc; __u16 delay; __u64 requests[IEEE_8021QAZ_MAX_TCS]; __u64 indications[IEEE_8021QAZ_MAX_TCS]; }; #define IEEE_8021Q_MAX_PRIORITIES 8 #define DCBX_MAX_BUFFERS 8 struct dcbnl_buffer { /* priority to buffer mapping */ __u8 prio2buffer[IEEE_8021Q_MAX_PRIORITIES]; /* buffer size in Bytes */ __u32 buffer_size[DCBX_MAX_BUFFERS]; __u32 total_size; }; /* CEE DCBX std supported values */ #define CEE_DCBX_MAX_PGS 8 #define CEE_DCBX_MAX_PRIO 8 /** * struct cee_pg - CEE Priority-Group managed object * * @willing: willing bit in the PG tlv * @error: error bit in the PG tlv * @pg_en: enable bit of the PG feature * @tcs_supported: number of traffic classes supported * @pg_bw: bandwidth percentage for each priority group * @prio_pg: priority to PG mapping indexed by priority */ struct cee_pg { __u8 willing; __u8 error; __u8 pg_en; __u8 tcs_supported; __u8 pg_bw[CEE_DCBX_MAX_PGS]; __u8 prio_pg[CEE_DCBX_MAX_PGS]; }; /** * struct cee_pfc - CEE PFC managed object * * @willing: willing bit in the PFC tlv * @error: error bit in the PFC tlv * @pfc_en: bitmap indicating pfc enabled traffic classes * @tcs_supported: number of traffic classes supported */ struct cee_pfc { __u8 willing; __u8 error; __u8 pfc_en; __u8 tcs_supported; }; /* IEEE 802.1Qaz std supported values */ #define IEEE_8021QAZ_APP_SEL_ETHERTYPE 1 #define IEEE_8021QAZ_APP_SEL_STREAM 2 #define IEEE_8021QAZ_APP_SEL_DGRAM 3 #define IEEE_8021QAZ_APP_SEL_ANY 4 #define IEEE_8021QAZ_APP_SEL_DSCP 5 /* This structure contains the IEEE 802.1Qaz APP managed object. This * object is also used for the CEE std as well. * * @selector: protocol identifier type * @protocol: protocol of type indicated * @priority: 3-bit unsigned integer indicating priority for IEEE * 8-bit 802.1p user priority bitmap for CEE * * ---- * Selector field values for IEEE 802.1Qaz * 0 Reserved * 1 Ethertype * 2 Well known port number over TCP or SCTP * 3 Well known port number over UDP or DCCP * 4 Well known port number over TCP, SCTP, UDP, or DCCP * 5 Differentiated Services Code Point (DSCP) value * 6-7 Reserved * * Selector field values for CEE * 0 Ethertype * 1 Well known port number over TCP or UDP * 2-3 Reserved */ struct dcb_app { __u8 selector; __u8 priority; __u16 protocol; }; /** * struct dcb_peer_app_info - APP feature information sent by the peer * * @willing: willing bit in the peer APP tlv * @error: error bit in the peer APP tlv * * In addition to this information the full peer APP tlv also contains * a table of 'app_count' APP objects defined above. */ struct dcb_peer_app_info { __u8 willing; __u8 error; }; struct dcbmsg { __u8 dcb_family; __u8 cmd; __u16 dcb_pad; }; /** * enum dcbnl_commands - supported DCB commands * * @DCB_CMD_UNDEFINED: unspecified command to catch errors * @DCB_CMD_GSTATE: request the state of DCB in the device * @DCB_CMD_SSTATE: set the state of DCB in the device * @DCB_CMD_PGTX_GCFG: request the priority group configuration for Tx * @DCB_CMD_PGTX_SCFG: set the priority group configuration for Tx * @DCB_CMD_PGRX_GCFG: request the priority group configuration for Rx * @DCB_CMD_PGRX_SCFG: set the priority group configuration for Rx * @DCB_CMD_PFC_GCFG: request the priority flow control configuration * @DCB_CMD_PFC_SCFG: set the priority flow control configuration * @DCB_CMD_SET_ALL: apply all changes to the underlying device * @DCB_CMD_GPERM_HWADDR: get the permanent MAC address of the underlying * device. Only useful when using bonding. * @DCB_CMD_GCAP: request the DCB capabilities of the device * @DCB_CMD_GNUMTCS: get the number of traffic classes currently supported * @DCB_CMD_SNUMTCS: set the number of traffic classes * @DCB_CMD_GBCN: set backward congestion notification configuration * @DCB_CMD_SBCN: get backward congestion notification configuration. * @DCB_CMD_GAPP: get application protocol configuration * @DCB_CMD_SAPP: set application protocol configuration * @DCB_CMD_IEEE_SET: set IEEE 802.1Qaz configuration * @DCB_CMD_IEEE_GET: get IEEE 802.1Qaz configuration * @DCB_CMD_GDCBX: get DCBX engine configuration * @DCB_CMD_SDCBX: set DCBX engine configuration * @DCB_CMD_GFEATCFG: get DCBX features flags * @DCB_CMD_SFEATCFG: set DCBX features negotiation flags * @DCB_CMD_CEE_GET: get CEE aggregated configuration * @DCB_CMD_IEEE_DEL: delete IEEE 802.1Qaz configuration */ enum dcbnl_commands { DCB_CMD_UNDEFINED, DCB_CMD_GSTATE, DCB_CMD_SSTATE, DCB_CMD_PGTX_GCFG, DCB_CMD_PGTX_SCFG, DCB_CMD_PGRX_GCFG, DCB_CMD_PGRX_SCFG, DCB_CMD_PFC_GCFG, DCB_CMD_PFC_SCFG, DCB_CMD_SET_ALL, DCB_CMD_GPERM_HWADDR, DCB_CMD_GCAP, DCB_CMD_GNUMTCS, DCB_CMD_SNUMTCS, DCB_CMD_PFC_GSTATE, DCB_CMD_PFC_SSTATE, DCB_CMD_BCN_GCFG, DCB_CMD_BCN_SCFG, DCB_CMD_GAPP, DCB_CMD_SAPP, DCB_CMD_IEEE_SET, DCB_CMD_IEEE_GET, DCB_CMD_GDCBX, DCB_CMD_SDCBX, DCB_CMD_GFEATCFG, DCB_CMD_SFEATCFG, DCB_CMD_CEE_GET, DCB_CMD_IEEE_DEL, __DCB_CMD_ENUM_MAX, DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1, }; /** * enum dcbnl_attrs - DCB top-level netlink attributes * * @DCB_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_ATTR_IFNAME: interface name of the underlying device (NLA_STRING) * @DCB_ATTR_STATE: enable state of DCB in the device (NLA_U8) * @DCB_ATTR_PFC_STATE: enable state of PFC in the device (NLA_U8) * @DCB_ATTR_PFC_CFG: priority flow control configuration (NLA_NESTED) * @DCB_ATTR_NUM_TC: number of traffic classes supported in the device (NLA_U8) * @DCB_ATTR_PG_CFG: priority group configuration (NLA_NESTED) * @DCB_ATTR_SET_ALL: bool to commit changes to hardware or not (NLA_U8) * @DCB_ATTR_PERM_HWADDR: MAC address of the physical device (NLA_NESTED) * @DCB_ATTR_CAP: DCB capabilities of the device (NLA_NESTED) * @DCB_ATTR_NUMTCS: number of traffic classes supported (NLA_NESTED) * @DCB_ATTR_BCN: backward congestion notification configuration (NLA_NESTED) * @DCB_ATTR_IEEE: IEEE 802.1Qaz supported attributes (NLA_NESTED) * @DCB_ATTR_DCBX: DCBX engine configuration in the device (NLA_U8) * @DCB_ATTR_FEATCFG: DCBX features flags (NLA_NESTED) * @DCB_ATTR_CEE: CEE std supported attributes (NLA_NESTED) */ enum dcbnl_attrs { DCB_ATTR_UNDEFINED, DCB_ATTR_IFNAME, DCB_ATTR_STATE, DCB_ATTR_PFC_STATE, DCB_ATTR_PFC_CFG, DCB_ATTR_NUM_TC, DCB_ATTR_PG_CFG, DCB_ATTR_SET_ALL, DCB_ATTR_PERM_HWADDR, DCB_ATTR_CAP, DCB_ATTR_NUMTCS, DCB_ATTR_BCN, DCB_ATTR_APP, /* IEEE std attributes */ DCB_ATTR_IEEE, DCB_ATTR_DCBX, DCB_ATTR_FEATCFG, /* CEE nested attributes */ DCB_ATTR_CEE, __DCB_ATTR_ENUM_MAX, DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1, }; /** * enum ieee_attrs - IEEE 802.1Qaz get/set attributes * * @DCB_ATTR_IEEE_UNSPEC: unspecified * @DCB_ATTR_IEEE_ETS: negotiated ETS configuration * @DCB_ATTR_IEEE_PFC: negotiated PFC configuration * @DCB_ATTR_IEEE_APP_TABLE: negotiated APP configuration * @DCB_ATTR_IEEE_PEER_ETS: peer ETS configuration - get only * @DCB_ATTR_IEEE_PEER_PFC: peer PFC configuration - get only * @DCB_ATTR_IEEE_PEER_APP: peer APP tlv - get only */ enum ieee_attrs { DCB_ATTR_IEEE_UNSPEC, DCB_ATTR_IEEE_ETS, DCB_ATTR_IEEE_PFC, DCB_ATTR_IEEE_APP_TABLE, DCB_ATTR_IEEE_PEER_ETS, DCB_ATTR_IEEE_PEER_PFC, DCB_ATTR_IEEE_PEER_APP, DCB_ATTR_IEEE_MAXRATE, DCB_ATTR_IEEE_QCN, DCB_ATTR_IEEE_QCN_STATS, DCB_ATTR_DCB_BUFFER, __DCB_ATTR_IEEE_MAX }; #define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1) enum ieee_attrs_app { DCB_ATTR_IEEE_APP_UNSPEC, DCB_ATTR_IEEE_APP, __DCB_ATTR_IEEE_APP_MAX }; #define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1) /** * enum cee_attrs - CEE DCBX get attributes. * * @DCB_ATTR_CEE_UNSPEC: unspecified * @DCB_ATTR_CEE_PEER_PG: peer PG configuration - get only * @DCB_ATTR_CEE_PEER_PFC: peer PFC configuration - get only * @DCB_ATTR_CEE_PEER_APP_TABLE: peer APP tlv - get only * @DCB_ATTR_CEE_TX_PG: TX PG configuration (DCB_CMD_PGTX_GCFG) * @DCB_ATTR_CEE_RX_PG: RX PG configuration (DCB_CMD_PGRX_GCFG) * @DCB_ATTR_CEE_PFC: PFC configuration (DCB_CMD_PFC_GCFG) * @DCB_ATTR_CEE_APP_TABLE: APP configuration (multi DCB_CMD_GAPP) * @DCB_ATTR_CEE_FEAT: DCBX features flags (DCB_CMD_GFEATCFG) * * An aggregated collection of the cee std negotiated parameters. */ enum cee_attrs { DCB_ATTR_CEE_UNSPEC, DCB_ATTR_CEE_PEER_PG, DCB_ATTR_CEE_PEER_PFC, DCB_ATTR_CEE_PEER_APP_TABLE, DCB_ATTR_CEE_TX_PG, DCB_ATTR_CEE_RX_PG, DCB_ATTR_CEE_PFC, DCB_ATTR_CEE_APP_TABLE, DCB_ATTR_CEE_FEAT, __DCB_ATTR_CEE_MAX }; #define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1) enum peer_app_attr { DCB_ATTR_CEE_PEER_APP_UNSPEC, DCB_ATTR_CEE_PEER_APP_INFO, DCB_ATTR_CEE_PEER_APP, __DCB_ATTR_CEE_PEER_APP_MAX }; #define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1) enum cee_attrs_app { DCB_ATTR_CEE_APP_UNSPEC, DCB_ATTR_CEE_APP, __DCB_ATTR_CEE_APP_MAX }; #define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1) /** * enum dcbnl_pfc_attrs - DCB Priority Flow Control user priority nested attrs * * @DCB_PFC_UP_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_PFC_UP_ATTR_0: Priority Flow Control value for User Priority 0 (NLA_U8) * @DCB_PFC_UP_ATTR_1: Priority Flow Control value for User Priority 1 (NLA_U8) * @DCB_PFC_UP_ATTR_2: Priority Flow Control value for User Priority 2 (NLA_U8) * @DCB_PFC_UP_ATTR_3: Priority Flow Control value for User Priority 3 (NLA_U8) * @DCB_PFC_UP_ATTR_4: Priority Flow Control value for User Priority 4 (NLA_U8) * @DCB_PFC_UP_ATTR_5: Priority Flow Control value for User Priority 5 (NLA_U8) * @DCB_PFC_UP_ATTR_6: Priority Flow Control value for User Priority 6 (NLA_U8) * @DCB_PFC_UP_ATTR_7: Priority Flow Control value for User Priority 7 (NLA_U8) * @DCB_PFC_UP_ATTR_MAX: highest attribute number currently defined * @DCB_PFC_UP_ATTR_ALL: apply to all priority flow control attrs (NLA_FLAG) * */ enum dcbnl_pfc_up_attrs { DCB_PFC_UP_ATTR_UNDEFINED, DCB_PFC_UP_ATTR_0, DCB_PFC_UP_ATTR_1, DCB_PFC_UP_ATTR_2, DCB_PFC_UP_ATTR_3, DCB_PFC_UP_ATTR_4, DCB_PFC_UP_ATTR_5, DCB_PFC_UP_ATTR_6, DCB_PFC_UP_ATTR_7, DCB_PFC_UP_ATTR_ALL, __DCB_PFC_UP_ATTR_ENUM_MAX, DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1, }; /** * enum dcbnl_pg_attrs - DCB Priority Group attributes * * @DCB_PG_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_PG_ATTR_TC_0: Priority Group Traffic Class 0 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_1: Priority Group Traffic Class 1 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_2: Priority Group Traffic Class 2 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_3: Priority Group Traffic Class 3 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_4: Priority Group Traffic Class 4 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_5: Priority Group Traffic Class 5 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_6: Priority Group Traffic Class 6 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_7: Priority Group Traffic Class 7 configuration (NLA_NESTED) * @DCB_PG_ATTR_TC_MAX: highest attribute number currently defined * @DCB_PG_ATTR_TC_ALL: apply to all traffic classes (NLA_NESTED) * @DCB_PG_ATTR_BW_ID_0: Percent of link bandwidth for Priority Group 0 (NLA_U8) * @DCB_PG_ATTR_BW_ID_1: Percent of link bandwidth for Priority Group 1 (NLA_U8) * @DCB_PG_ATTR_BW_ID_2: Percent of link bandwidth for Priority Group 2 (NLA_U8) * @DCB_PG_ATTR_BW_ID_3: Percent of link bandwidth for Priority Group 3 (NLA_U8) * @DCB_PG_ATTR_BW_ID_4: Percent of link bandwidth for Priority Group 4 (NLA_U8) * @DCB_PG_ATTR_BW_ID_5: Percent of link bandwidth for Priority Group 5 (NLA_U8) * @DCB_PG_ATTR_BW_ID_6: Percent of link bandwidth for Priority Group 6 (NLA_U8) * @DCB_PG_ATTR_BW_ID_7: Percent of link bandwidth for Priority Group 7 (NLA_U8) * @DCB_PG_ATTR_BW_ID_MAX: highest attribute number currently defined * @DCB_PG_ATTR_BW_ID_ALL: apply to all priority groups (NLA_FLAG) * */ enum dcbnl_pg_attrs { DCB_PG_ATTR_UNDEFINED, DCB_PG_ATTR_TC_0, DCB_PG_ATTR_TC_1, DCB_PG_ATTR_TC_2, DCB_PG_ATTR_TC_3, DCB_PG_ATTR_TC_4, DCB_PG_ATTR_TC_5, DCB_PG_ATTR_TC_6, DCB_PG_ATTR_TC_7, DCB_PG_ATTR_TC_MAX, DCB_PG_ATTR_TC_ALL, DCB_PG_ATTR_BW_ID_0, DCB_PG_ATTR_BW_ID_1, DCB_PG_ATTR_BW_ID_2, DCB_PG_ATTR_BW_ID_3, DCB_PG_ATTR_BW_ID_4, DCB_PG_ATTR_BW_ID_5, DCB_PG_ATTR_BW_ID_6, DCB_PG_ATTR_BW_ID_7, DCB_PG_ATTR_BW_ID_MAX, DCB_PG_ATTR_BW_ID_ALL, __DCB_PG_ATTR_ENUM_MAX, DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1, }; /** * enum dcbnl_tc_attrs - DCB Traffic Class attributes * * @DCB_TC_ATTR_PARAM_UNDEFINED: unspecified attribute to catch errors * @DCB_TC_ATTR_PARAM_PGID: (NLA_U8) Priority group the traffic class belongs to * Valid values are: 0-7 * @DCB_TC_ATTR_PARAM_UP_MAPPING: (NLA_U8) Traffic class to user priority map * Some devices may not support changing the * user priority map of a TC. * @DCB_TC_ATTR_PARAM_STRICT_PRIO: (NLA_U8) Strict priority setting * 0 - none * 1 - group strict * 2 - link strict * @DCB_TC_ATTR_PARAM_BW_PCT: optional - (NLA_U8) If supported by the device and * not configured to use link strict priority, * this is the percentage of bandwidth of the * priority group this traffic class belongs to * @DCB_TC_ATTR_PARAM_ALL: (NLA_FLAG) all traffic class parameters * */ enum dcbnl_tc_attrs { DCB_TC_ATTR_PARAM_UNDEFINED, DCB_TC_ATTR_PARAM_PGID, DCB_TC_ATTR_PARAM_UP_MAPPING, DCB_TC_ATTR_PARAM_STRICT_PRIO, DCB_TC_ATTR_PARAM_BW_PCT, DCB_TC_ATTR_PARAM_ALL, __DCB_TC_ATTR_PARAM_ENUM_MAX, DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1, }; /** * enum dcbnl_cap_attrs - DCB Capability attributes * * @DCB_CAP_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_CAP_ATTR_ALL: (NLA_FLAG) all capability parameters * @DCB_CAP_ATTR_PG: (NLA_U8) device supports Priority Groups * @DCB_CAP_ATTR_PFC: (NLA_U8) device supports Priority Flow Control * @DCB_CAP_ATTR_UP2TC: (NLA_U8) device supports user priority to * traffic class mapping * @DCB_CAP_ATTR_PG_TCS: (NLA_U8) bitmap where each bit represents a * number of traffic classes the device * can be configured to use for Priority Groups * @DCB_CAP_ATTR_PFC_TCS: (NLA_U8) bitmap where each bit represents a * number of traffic classes the device can be * configured to use for Priority Flow Control * @DCB_CAP_ATTR_GSP: (NLA_U8) device supports group strict priority * @DCB_CAP_ATTR_BCN: (NLA_U8) device supports Backwards Congestion * Notification * @DCB_CAP_ATTR_DCBX: (NLA_U8) device supports DCBX engine * */ enum dcbnl_cap_attrs { DCB_CAP_ATTR_UNDEFINED, DCB_CAP_ATTR_ALL, DCB_CAP_ATTR_PG, DCB_CAP_ATTR_PFC, DCB_CAP_ATTR_UP2TC, DCB_CAP_ATTR_PG_TCS, DCB_CAP_ATTR_PFC_TCS, DCB_CAP_ATTR_GSP, DCB_CAP_ATTR_BCN, DCB_CAP_ATTR_DCBX, __DCB_CAP_ATTR_ENUM_MAX, DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1, }; /** * DCBX capability flags * * @DCB_CAP_DCBX_HOST: DCBX negotiation is performed by the host LLDP agent. * 'set' routines are used to configure the device with * the negotiated parameters * * @DCB_CAP_DCBX_LLD_MANAGED: DCBX negotiation is not performed in the host but * by another entity * 'get' routines are used to retrieve the * negotiated parameters * 'set' routines can be used to set the initial * negotiation configuration * * @DCB_CAP_DCBX_VER_CEE: for a non-host DCBX engine, indicates the engine * supports the CEE protocol flavor * * @DCB_CAP_DCBX_VER_IEEE: for a non-host DCBX engine, indicates the engine * supports the IEEE protocol flavor * * @DCB_CAP_DCBX_STATIC: for a non-host DCBX engine, indicates the engine * supports static configuration (i.e no actual * negotiation is performed negotiated parameters equal * the initial configuration) * */ #define DCB_CAP_DCBX_HOST 0x01 #define DCB_CAP_DCBX_LLD_MANAGED 0x02 #define DCB_CAP_DCBX_VER_CEE 0x04 #define DCB_CAP_DCBX_VER_IEEE 0x08 #define DCB_CAP_DCBX_STATIC 0x10 /** * enum dcbnl_numtcs_attrs - number of traffic classes * * @DCB_NUMTCS_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_NUMTCS_ATTR_ALL: (NLA_FLAG) all traffic class attributes * @DCB_NUMTCS_ATTR_PG: (NLA_U8) number of traffic classes used for * priority groups * @DCB_NUMTCS_ATTR_PFC: (NLA_U8) number of traffic classes which can * support priority flow control */ enum dcbnl_numtcs_attrs { DCB_NUMTCS_ATTR_UNDEFINED, DCB_NUMTCS_ATTR_ALL, DCB_NUMTCS_ATTR_PG, DCB_NUMTCS_ATTR_PFC, __DCB_NUMTCS_ATTR_ENUM_MAX, DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1, }; enum dcbnl_bcn_attrs{ DCB_BCN_ATTR_UNDEFINED = 0, DCB_BCN_ATTR_RP_0, DCB_BCN_ATTR_RP_1, DCB_BCN_ATTR_RP_2, DCB_BCN_ATTR_RP_3, DCB_BCN_ATTR_RP_4, DCB_BCN_ATTR_RP_5, DCB_BCN_ATTR_RP_6, DCB_BCN_ATTR_RP_7, DCB_BCN_ATTR_RP_ALL, DCB_BCN_ATTR_BCNA_0, DCB_BCN_ATTR_BCNA_1, DCB_BCN_ATTR_ALPHA, DCB_BCN_ATTR_BETA, DCB_BCN_ATTR_GD, DCB_BCN_ATTR_GI, DCB_BCN_ATTR_TMAX, DCB_BCN_ATTR_TD, DCB_BCN_ATTR_RMIN, DCB_BCN_ATTR_W, DCB_BCN_ATTR_RD, DCB_BCN_ATTR_RU, DCB_BCN_ATTR_WRTT, DCB_BCN_ATTR_RI, DCB_BCN_ATTR_C, DCB_BCN_ATTR_ALL, __DCB_BCN_ATTR_ENUM_MAX, DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1, }; /** * enum dcb_general_attr_values - general DCB attribute values * * @DCB_ATTR_UNDEFINED: value used to indicate an attribute is not supported * */ enum dcb_general_attr_values { DCB_ATTR_VALUE_UNDEFINED = 0xff }; #define DCB_APP_IDTYPE_ETHTYPE 0x00 #define DCB_APP_IDTYPE_PORTNUM 0x01 enum dcbnl_app_attrs { DCB_APP_ATTR_UNDEFINED, DCB_APP_ATTR_IDTYPE, DCB_APP_ATTR_ID, DCB_APP_ATTR_PRIORITY, __DCB_APP_ATTR_ENUM_MAX, DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1, }; /** * enum dcbnl_featcfg_attrs - features conifiguration flags * * @DCB_FEATCFG_ATTR_UNDEFINED: unspecified attribute to catch errors * @DCB_FEATCFG_ATTR_ALL: (NLA_FLAG) all features configuration attributes * @DCB_FEATCFG_ATTR_PG: (NLA_U8) configuration flags for priority groups * @DCB_FEATCFG_ATTR_PFC: (NLA_U8) configuration flags for priority * flow control * @DCB_FEATCFG_ATTR_APP: (NLA_U8) configuration flags for application TLV * */ #define DCB_FEATCFG_ERROR 0x01 /* error in feature resolution */ #define DCB_FEATCFG_ENABLE 0x02 /* enable feature */ #define DCB_FEATCFG_WILLING 0x04 /* feature is willing */ #define DCB_FEATCFG_ADVERTISE 0x08 /* advertise feature */ enum dcbnl_featcfg_attrs { DCB_FEATCFG_ATTR_UNDEFINED, DCB_FEATCFG_ATTR_ALL, DCB_FEATCFG_ATTR_PG, DCB_FEATCFG_ATTR_PFC, DCB_FEATCFG_ATTR_APP, __DCB_FEATCFG_ATTR_ENUM_MAX, DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1, }; #endif /* __LINUX_DCBNL_H__ */
SAVE FILE
TERMINAL
EXEC