Current Path: > > usr > include > linux
Operation : Linux premium107.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| android | Directory | - | - | |
| byteorder | Directory | - | - | |
| caif | Directory | - | - | |
| can | Directory | - | - | |
| cifs | Directory | - | - | |
| dvb | Directory | - | - | |
| genwqe | Directory | - | - | |
| hdlc | Directory | - | - | |
| hsi | Directory | - | - | |
| iio | Directory | - | - | |
| isdn | Directory | - | - | |
| mmc | Directory | - | - | |
| netfilter | Directory | - | - | |
| netfilter_arp | Directory | - | - | |
| netfilter_bridge | Directory | - | - | |
| netfilter_ipv4 | Directory | - | - | |
| netfilter_ipv6 | Directory | - | - | |
| nfsd | Directory | - | - | |
| raid | Directory | - | - | |
| sched | Directory | - | - | |
| spi | Directory | - | - | |
| sunrpc | Directory | - | - | |
| tc_act | Directory | - | - | |
| tc_ematch | Directory | - | - | |
| usb | Directory | - | - | |
| wimax | Directory | - | - | |
| a.out.h | File | 6892 bytes | December 10 2025 14:18:01. | |
| acct.h | File | 3733 bytes | December 10 2025 14:18:00. | |
| adb.h | File | 1140 bytes | December 10 2025 14:18:00. | |
| adfs_fs.h | File | 936 bytes | December 10 2025 14:18:01. | |
| affs_hardblocks.h | File | 1544 bytes | December 10 2025 14:17:58. | |
| agpgart.h | File | 3940 bytes | December 10 2025 14:17:59. | |
| aio_abi.h | File | 3417 bytes | December 10 2025 14:18:01. | |
| am437x-vpfe.h | File | 3681 bytes | December 10 2025 14:18:01. | |
| apm_bios.h | File | 3683 bytes | December 10 2025 14:18:01. | |
| arcfb.h | File | 213 bytes | December 10 2025 14:18:00. | |
| arm_sdei.h | File | 2751 bytes | December 10 2025 14:18:01. | |
| aspeed-lpc-ctrl.h | File | 1780 bytes | December 10 2025 14:17:58. | |
| atalk.h | File | 1023 bytes | December 10 2025 14:17:58. | |
| atm.h | File | 7888 bytes | December 10 2025 14:18:00. | |
| atm_eni.h | File | 648 bytes | December 10 2025 14:17:58. | |
| atm_he.h | File | 406 bytes | December 10 2025 14:17:59. | |
| atm_idt77105.h | File | 955 bytes | December 10 2025 14:17:59. | |
| atm_nicstar.h | File | 1278 bytes | December 10 2025 14:17:58. | |
| atm_tcp.h | File | 1622 bytes | December 10 2025 14:18:00. | |
| atm_zatm.h | File | 1540 bytes | December 10 2025 14:18:01. | |
| atmapi.h | File | 952 bytes | December 10 2025 14:18:01. | |
| atmarp.h | File | 1296 bytes | December 10 2025 14:17:59. | |
| atmbr2684.h | File | 3271 bytes | December 10 2025 14:17:59. | |
| atmclip.h | File | 576 bytes | December 10 2025 14:17:58. | |
| atmdev.h | File | 7677 bytes | December 10 2025 14:17:59. | |
| atmioc.h | File | 1646 bytes | December 10 2025 14:17:59. | |
| atmlec.h | File | 2381 bytes | December 10 2025 14:17:58. | |
| atmmpc.h | File | 4226 bytes | December 10 2025 14:17:58. | |
| atmppp.h | File | 639 bytes | December 10 2025 14:18:00. | |
| atmsap.h | File | 4970 bytes | December 10 2025 14:17:58. | |
| atmsvc.h | File | 1853 bytes | December 10 2025 14:17:58. | |
| audit.h | File | 20394 bytes | December 10 2025 14:17:59. | |
| auto_dev-ioctl.h | File | 4986 bytes | December 10 2025 14:17:58. | |
| auto_fs.h | File | 6428 bytes | December 10 2025 14:18:00. | |
| auto_fs4.h | File | 451 bytes | December 10 2025 14:18:01. | |
| auxvec.h | File | 1597 bytes | December 10 2025 14:18:00. | |
| ax25.h | File | 2824 bytes | December 10 2025 14:18:01. | |
| b1lli.h | File | 1717 bytes | December 10 2025 14:17:59. | |
| batadv_packet.h | File | 20495 bytes | December 10 2025 14:17:58. | |
| batman_adv.h | File | 11977 bytes | December 10 2025 14:18:00. | |
| baycom.h | File | 883 bytes | December 10 2025 14:17:58. | |
| bcache.h | File | 8366 bytes | December 10 2025 14:17:58. | |
| bcm933xx_hcs.h | File | 419 bytes | December 10 2025 14:17:58. | |
| bfs_fs.h | File | 1893 bytes | December 10 2025 14:18:00. | |
| binfmts.h | File | 628 bytes | December 10 2025 14:18:00. | |
| blkpg.h | File | 904 bytes | December 10 2025 14:18:01. | |
| blktrace_api.h | File | 4701 bytes | December 10 2025 14:17:58. | |
| blkzoned.h | File | 6608 bytes | December 10 2025 14:17:58. | |
| bpf.h | File | 228660 bytes | December 10 2025 14:18:00. | |
| bpf_common.h | File | 1367 bytes | December 10 2025 14:18:00. | |
| bpf_perf_event.h | File | 529 bytes | December 10 2025 14:18:00. | |
| bpfilter.h | File | 465 bytes | December 10 2025 14:17:58. | |
| bpqether.h | File | 981 bytes | December 10 2025 14:18:00. | |
| bsg.h | File | 2494 bytes | December 10 2025 14:18:00. | |
| bt-bmc.h | File | 572 bytes | December 10 2025 14:17:59. | |
| btf.h | File | 4796 bytes | December 10 2025 14:17:58. | |
| btrfs.h | File | 28913 bytes | December 10 2025 14:17:59. | |
| btrfs_tree.h | File | 25285 bytes | December 10 2025 14:18:00. | |
| can.h | File | 7881 bytes | December 10 2025 14:17:59. | |
| capability.h | File | 13521 bytes | December 10 2025 14:17:58. | |
| capi.h | File | 3124 bytes | December 10 2025 14:18:01. | |
| cciss_defs.h | File | 3281 bytes | December 10 2025 14:18:01. | |
| cciss_ioctl.h | File | 2761 bytes | December 10 2025 14:18:00. | |
| cdrom.h | File | 28859 bytes | December 10 2025 14:18:00. | |
| cec-funcs.h | File | 53901 bytes | December 10 2025 14:18:00. | |
| cec.h | File | 37691 bytes | December 10 2025 14:18:00. | |
| cfm_bridge.h | File | 1456 bytes | December 10 2025 14:18:00. | |
| cgroupstats.h | File | 2219 bytes | December 10 2025 14:17:58. | |
| chio.h | File | 5344 bytes | December 10 2025 14:17:59. | |
| close_range.h | File | 377 bytes | December 10 2025 14:18:00. | |
| cm4000_cs.h | File | 1806 bytes | December 10 2025 14:18:01. | |
| cn_proc.h | File | 3456 bytes | December 10 2025 14:17:59. | |
| coda.h | File | 17505 bytes | December 10 2025 14:18:00. | |
| coda_psdev.h | File | 783 bytes | December 10 2025 14:17:59. | |
| coff.h | File | 12476 bytes | December 10 2025 14:17:58. | |
| connector.h | File | 2253 bytes | December 10 2025 14:18:01. | |
| const.h | File | 788 bytes | December 10 2025 14:18:01. | |
| coresight-stm.h | File | 674 bytes | December 10 2025 14:18:00. | |
| cramfs_fs.h | File | 3555 bytes | December 10 2025 14:18:00. | |
| cryptouser.h | File | 3392 bytes | December 10 2025 14:17:59. | |
| cuda.h | File | 905 bytes | December 10 2025 14:17:59. | |
| cyclades.h | File | 17108 bytes | December 10 2025 14:18:00. | |
| cycx_cfm.h | File | 2990 bytes | December 10 2025 14:17:59. | |
| dcbnl.h | File | 25238 bytes | December 10 2025 14:18:00. | |
| dccp.h | File | 6436 bytes | December 10 2025 14:17:59. | |
| devlink.h | File | 21556 bytes | December 10 2025 14:17:59. | |
| dlm.h | File | 2553 bytes | December 10 2025 14:17:59. | |
| dlm_device.h | File | 2543 bytes | December 10 2025 14:18:00. | |
| dlm_netlink.h | File | 1159 bytes | December 10 2025 14:18:01. | |
| dlm_plock.h | File | 894 bytes | December 10 2025 14:18:01. | |
| dlmconstants.h | File | 5080 bytes | December 10 2025 14:18:01. | |
| dm-ioctl.h | File | 11400 bytes | December 10 2025 14:18:00. | |
| dm-log-userspace.h | File | 15191 bytes | December 10 2025 14:17:59. | |
| dma-buf.h | File | 5247 bytes | December 10 2025 14:17:58. | |
| dn.h | File | 4642 bytes | December 10 2025 14:18:01. | |
| dqblk_xfs.h | File | 9245 bytes | December 10 2025 14:17:58. | |
| edd.h | File | 5604 bytes | December 10 2025 14:17:59. | |
| efs_fs_sb.h | File | 2227 bytes | December 10 2025 14:18:00. | |
| elf-em.h | File | 2187 bytes | December 10 2025 14:17:59. | |
| elf-fdpic.h | File | 1124 bytes | December 10 2025 14:18:00. | |
| elf.h | File | 13471 bytes | December 10 2025 14:17:59. | |
| elfcore.h | File | 2995 bytes | December 10 2025 14:17:58. | |
| errno.h | File | 23 bytes | December 10 2025 14:17:59. | |
| errqueue.h | File | 1477 bytes | December 10 2025 14:17:59. | |
| erspan.h | File | 1059 bytes | December 10 2025 14:18:01. | |
| ethtool.h | File | 83855 bytes | December 10 2025 14:18:00. | |
| ethtool_netlink.h | File | 22826 bytes | December 10 2025 14:18:01. | |
| eventpoll.h | File | 2734 bytes | December 10 2025 14:18:00. | |
| fadvise.h | File | 842 bytes | December 10 2025 14:18:01. | |
| falloc.h | File | 3584 bytes | December 10 2025 14:18:00. | |
| fanotify.h | File | 5341 bytes | December 10 2025 14:17:58. | |
| fb.h | File | 16477 bytes | December 10 2025 14:18:00. | |
| fcntl.h | File | 4174 bytes | December 10 2025 14:18:01. | |
| fd.h | File | 11672 bytes | December 10 2025 14:17:59. | |
| fdreg.h | File | 5420 bytes | December 10 2025 14:17:59. | |
| fib_rules.h | File | 2036 bytes | December 10 2025 14:17:58. | |
| fiemap.h | File | 2775 bytes | December 10 2025 14:17:59. | |
| filter.h | File | 2216 bytes | December 10 2025 14:17:58. | |
| firewire-cdev.h | File | 43886 bytes | December 10 2025 14:17:58. | |
| firewire-constants.h | File | 3231 bytes | December 10 2025 14:17:59. | |
| flat.h | File | 2148 bytes | December 10 2025 14:17:58. | |
| fou.h | File | 694 bytes | December 10 2025 14:18:00. | |
| fpga-dfl.h | File | 8728 bytes | December 10 2025 14:17:59. | |
| fs.h | File | 13424 bytes | December 10 2025 14:18:00. | |
| fsl_hypervisor.h | File | 7301 bytes | December 10 2025 14:18:00. | |
| fsmap.h | File | 4393 bytes | December 10 2025 14:17:59. | |
| fuse.h | File | 23473 bytes | December 10 2025 14:18:00. | |
| futex.h | File | 4993 bytes | December 10 2025 14:18:01. | |
| gameport.h | File | 897 bytes | December 10 2025 14:18:00. | |
| gen_stats.h | File | 1526 bytes | December 10 2025 14:18:01. | |
| genetlink.h | File | 2175 bytes | December 10 2025 14:18:00. | |
| gfs2_ondisk.h | File | 14743 bytes | December 10 2025 14:17:59. | |
| gigaset_dev.h | File | 1442 bytes | December 10 2025 14:17:58. | |
| gpio.h | File | 6751 bytes | December 10 2025 14:18:00. | |
| gsmmux.h | File | 1041 bytes | December 10 2025 14:17:58. | |
| gtp.h | File | 681 bytes | December 10 2025 14:17:58. | |
| hash_info.h | File | 921 bytes | December 10 2025 14:17:59. | |
| hdlc.h | File | 637 bytes | December 10 2025 14:18:00. | |
| hdlcdrv.h | File | 2908 bytes | December 10 2025 14:17:58. | |
| hdreg.h | File | 22703 bytes | December 10 2025 14:17:59. | |
| hid.h | File | 1901 bytes | December 10 2025 14:18:00. | |
| hiddev.h | File | 6345 bytes | December 10 2025 14:18:00. | |
| hidraw.h | File | 1993 bytes | December 10 2025 14:17:59. | |
| hpet.h | File | 743 bytes | December 10 2025 14:17:58. | |
| hsr_netlink.h | File | 1081 bytes | December 10 2025 14:18:01. | |
| hw_breakpoint.h | File | 742 bytes | December 10 2025 14:18:00. | |
| hyperv.h | File | 11152 bytes | December 10 2025 14:17:59. | |
| hysdn_if.h | File | 1382 bytes | December 10 2025 14:18:01. | |
| i2c-dev.h | File | 2612 bytes | December 10 2025 14:18:00. | |
| i2c.h | File | 7132 bytes | December 10 2025 14:18:01. | |
| i2o-dev.h | File | 11555 bytes | December 10 2025 14:17:59. | |
| i8k.h | File | 1528 bytes | December 10 2025 14:18:00. | |
| icmp.h | File | 2975 bytes | December 10 2025 14:18:00. | |
| icmpv6.h | File | 4038 bytes | December 10 2025 14:18:01. | |
| idxd.h | File | 8417 bytes | December 10 2025 14:17:58. | |
| if.h | File | 10901 bytes | December 10 2025 14:17:59. | |
| if_addr.h | File | 1886 bytes | December 10 2025 14:17:59. | |
| if_addrlabel.h | File | 721 bytes | December 10 2025 14:18:00. | |
| if_alg.h | File | 946 bytes | December 10 2025 14:17:59. | |
| if_arcnet.h | File | 3717 bytes | December 10 2025 14:18:00. | |
| if_arp.h | File | 6577 bytes | December 10 2025 14:17:59. | |
| if_bonding.h | File | 5291 bytes | December 10 2025 14:17:58. | |
| if_bridge.h | File | 19514 bytes | December 10 2025 14:18:01. | |
| if_cablemodem.h | File | 986 bytes | December 10 2025 14:17:59. | |
| if_eql.h | File | 1349 bytes | December 10 2025 14:17:58. | |
| if_ether.h | File | 8248 bytes | December 10 2025 14:17:59. | |
| if_fc.h | File | 1738 bytes | December 10 2025 14:17:58. | |
| if_fddi.h | File | 3748 bytes | December 10 2025 14:18:00. | |
| if_frad.h | File | 3019 bytes | December 10 2025 14:17:59. | |
| if_hippi.h | File | 4235 bytes | December 10 2025 14:17:58. | |
| if_infiniband.h | File | 1245 bytes | December 10 2025 14:17:59. | |
| if_link.h | File | 31005 bytes | December 10 2025 14:18:01. | |
| if_ltalk.h | File | 210 bytes | December 10 2025 14:18:01. | |
| if_macsec.h | File | 5832 bytes | December 10 2025 14:17:58. | |
| if_packet.h | File | 7919 bytes | December 10 2025 14:17:59. | |
| if_phonet.h | File | 424 bytes | December 10 2025 14:17:58. | |
| if_plip.h | File | 660 bytes | December 10 2025 14:17:58. | |
| if_ppp.h | File | 29 bytes | December 10 2025 14:18:00. | |
| if_pppol2tp.h | File | 3292 bytes | December 10 2025 14:17:59. | |
| if_pppox.h | File | 4879 bytes | December 10 2025 14:17:59. | |
| if_slip.h | File | 872 bytes | December 10 2025 14:17:58. | |
| if_team.h | File | 2600 bytes | December 10 2025 14:17:58. | |
| if_tun.h | File | 4098 bytes | December 10 2025 14:17:58. | |
| if_tunnel.h | File | 4512 bytes | December 10 2025 14:17:59. | |
| if_vlan.h | File | 1831 bytes | December 10 2025 14:17:58. | |
| if_x25.h | File | 881 bytes | December 10 2025 14:17:59. | |
| if_xdp.h | File | 3011 bytes | December 10 2025 14:18:01. | |
| ife.h | File | 351 bytes | December 10 2025 14:17:58. | |
| igmp.h | File | 3064 bytes | December 10 2025 14:17:59. | |
| ila.h | File | 1246 bytes | December 10 2025 14:17:59. | |
| in.h | File | 10014 bytes | December 10 2025 14:17:59. | |
| in6.h | File | 7438 bytes | December 10 2025 14:18:01. | |
| in_route.h | File | 936 bytes | December 10 2025 14:18:01. | |
| inet_diag.h | File | 4672 bytes | December 10 2025 14:17:58. | |
| inotify.h | File | 3292 bytes | December 10 2025 14:18:00. | |
| input-event-codes.h | File | 28606 bytes | December 10 2025 14:17:59. | |
| input.h | File | 15985 bytes | December 10 2025 14:18:00. | |
| io_uring.h | File | 6207 bytes | December 10 2025 14:17:59. | |
| ioctl.h | File | 163 bytes | December 10 2025 14:17:58. | |
| iommu.h | File | 4904 bytes | December 10 2025 14:17:59. | |
| ip.h | File | 4728 bytes | December 10 2025 14:18:01. | |
| ip6_tunnel.h | File | 1953 bytes | December 10 2025 14:17:59. | |
| ip_vs.h | File | 13631 bytes | December 10 2025 14:18:00. | |
| ipc.h | File | 2101 bytes | December 10 2025 14:18:00. | |
| ipmi.h | File | 15442 bytes | December 10 2025 14:17:59. | |
| ipmi_bmc.h | File | 464 bytes | December 10 2025 14:18:01. | |
| ipmi_msgdefs.h | File | 3430 bytes | December 10 2025 14:17:58. | |
| ipmi_ssif_bmc.h | File | 441 bytes | December 10 2025 14:17:58. | |
| ipsec.h | File | 947 bytes | December 10 2025 14:18:01. | |
| ipv6.h | File | 3967 bytes | December 10 2025 14:17:58. | |
| ipv6_route.h | File | 1908 bytes | December 10 2025 14:17:58. | |
| ipx.h | File | 2347 bytes | December 10 2025 14:18:00. | |
| irqnr.h | File | 104 bytes | December 10 2025 14:17:58. | |
| isdn.h | File | 5774 bytes | December 10 2025 14:17:59. | |
| isdn_divertif.h | File | 1200 bytes | December 10 2025 14:18:00. | |
| isdn_ppp.h | File | 1923 bytes | December 10 2025 14:18:00. | |
| isdnif.h | File | 2370 bytes | December 10 2025 14:17:59. | |
| iso_fs.h | File | 6485 bytes | December 10 2025 14:17:59. | |
| isst_if.h | File | 5384 bytes | December 10 2025 14:17:59. | |
| ivtv.h | File | 3022 bytes | December 10 2025 14:18:00. | |
| ivtvfb.h | File | 1207 bytes | December 10 2025 14:18:00. | |
| jffs2.h | File | 7018 bytes | December 10 2025 14:17:59. | |
| joystick.h | File | 3434 bytes | December 10 2025 14:18:01. | |
| kcm.h | File | 822 bytes | December 10 2025 14:17:58. | |
| kcmp.h | File | 522 bytes | December 10 2025 14:18:00. | |
| kcov.h | File | 1099 bytes | December 10 2025 14:17:58. | |
| kd.h | File | 6253 bytes | December 10 2025 14:17:58. | |
| kdev_t.h | File | 383 bytes | December 10 2025 14:17:59. | |
| kernel-page-flags.h | File | 900 bytes | December 10 2025 14:17:58. | |
| kernel.h | File | 438 bytes | December 10 2025 14:18:00. | |
| kernelcapi.h | File | 1019 bytes | December 10 2025 14:18:01. | |
| kexec.h | File | 1835 bytes | December 10 2025 14:17:59. | |
| keyboard.h | File | 12783 bytes | December 10 2025 14:17:58. | |
| keyctl.h | File | 3500 bytes | December 10 2025 14:18:01. | |
| kfd_ioctl.h | File | 28814 bytes | December 10 2025 14:17:59. | |
| kfd_sysfs.h | File | 4350 bytes | December 10 2025 14:17:58. | |
| kvm.h | File | 61561 bytes | December 10 2025 14:18:01. | |
| kvm_para.h | File | 1001 bytes | December 10 2025 14:17:58. | |
| l2tp.h | File | 5591 bytes | December 10 2025 14:17:59. | |
| libc-compat.h | File | 8289 bytes | December 10 2025 14:18:01. | |
| lightnvm.h | File | 5042 bytes | December 10 2025 14:17:59. | |
| limits.h | File | 937 bytes | December 10 2025 14:17:59. | |
| lirc.h | File | 7813 bytes | December 10 2025 14:18:01. | |
| llc.h | File | 3164 bytes | December 10 2025 14:18:00. | |
| loop.h | File | 3497 bytes | December 10 2025 14:17:59. | |
| lp.h | File | 4190 bytes | December 10 2025 14:18:01. | |
| lwtunnel.h | File | 2179 bytes | December 10 2025 14:17:58. | |
| magic.h | File | 3531 bytes | December 10 2025 14:18:01. | |
| major.h | File | 4713 bytes | December 10 2025 14:17:59. | |
| map_to_7segment.h | File | 7251 bytes | December 10 2025 14:17:58. | |
| matroxfb.h | File | 1464 bytes | December 10 2025 14:18:00. | |
| max2175.h | File | 1035 bytes | December 10 2025 14:18:00. | |
| mdio.h | File | 17272 bytes | December 10 2025 14:17:58. | |
| media-bus-format.h | File | 6411 bytes | December 10 2025 14:17:59. | |
| media.h | File | 11382 bytes | December 10 2025 14:17:59. | |
| mei.h | File | 3475 bytes | December 10 2025 14:18:00. | |
| membarrier.h | File | 7899 bytes | December 10 2025 14:17:58. | |
| memfd.h | File | 1324 bytes | December 10 2025 14:17:58. | |
| mempolicy.h | File | 2231 bytes | December 10 2025 14:18:00. | |
| meye.h | File | 2529 bytes | December 10 2025 14:17:58. | |
| mic_common.h | File | 6519 bytes | December 10 2025 14:18:00. | |
| mic_ioctl.h | File | 2252 bytes | December 10 2025 14:17:59. | |
| mii.h | File | 9496 bytes | December 10 2025 14:17:59. | |
| minix_fs.h | File | 2122 bytes | December 10 2025 14:17:59. | |
| mman.h | File | 1385 bytes | December 10 2025 14:17:59. | |
| mmtimer.h | File | 2117 bytes | December 10 2025 14:17:58. | |
| module.h | File | 255 bytes | December 10 2025 14:17:58. | |
| mount.h | File | 4546 bytes | December 10 2025 14:17:58. | |
| mpls.h | File | 2302 bytes | December 10 2025 14:18:00. | |
| mpls_iptunnel.h | File | 761 bytes | December 10 2025 14:18:01. | |
| mptcp.h | File | 5608 bytes | December 10 2025 14:18:00. | |
| mqueue.h | File | 2201 bytes | December 10 2025 14:18:00. | |
| mroute.h | File | 5427 bytes | December 10 2025 14:18:01. | |
| mroute6.h | File | 4577 bytes | December 10 2025 14:17:59. | |
| mrp_bridge.h | File | 1708 bytes | December 10 2025 14:17:59. | |
| msdos_fs.h | File | 6963 bytes | December 10 2025 14:17:59. | |
| msg.h | File | 3374 bytes | December 10 2025 14:18:00. | |
| mtio.h | File | 8175 bytes | December 10 2025 14:18:00. | |
| n_r3964.h | File | 2410 bytes | December 10 2025 14:17:59. | |
| nbd-netlink.h | File | 2408 bytes | December 10 2025 14:17:59. | |
| nbd.h | File | 3024 bytes | December 10 2025 14:18:00. | |
| ncsi.h | File | 3880 bytes | December 10 2025 14:18:01. | |
| ndctl.h | File | 6866 bytes | December 10 2025 14:18:00. | |
| neighbour.h | File | 5138 bytes | December 10 2025 14:17:59. | |
| net.h | File | 2085 bytes | December 10 2025 14:18:00. | |
| net_dropmon.h | File | 2922 bytes | December 10 2025 14:18:00. | |
| net_namespace.h | File | 715 bytes | December 10 2025 14:17:59. | |
| net_tstamp.h | File | 5806 bytes | December 10 2025 14:17:58. | |
| netconf.h | File | 614 bytes | December 10 2025 14:18:00. | |
| netdevice.h | File | 2253 bytes | December 10 2025 14:18:00. | |
| netfilter.h | File | 1820 bytes | December 10 2025 14:18:00. | |
| netfilter_arp.h | File | 445 bytes | December 10 2025 14:17:59. | |
| netfilter_bridge.h | File | 1168 bytes | December 10 2025 14:18:01. | |
| netfilter_decnet.h | File | 1979 bytes | December 10 2025 14:17:58. | |
| netfilter_ipv4.h | File | 2169 bytes | December 10 2025 14:17:58. | |
| netfilter_ipv6.h | File | 2189 bytes | December 10 2025 14:18:00. | |
| netlink.h | File | 11495 bytes | December 10 2025 14:18:01. | |
| netlink_diag.h | File | 1524 bytes | December 10 2025 14:18:01. | |
| netrom.h | File | 807 bytes | December 10 2025 14:18:00. | |
| nexthop.h | File | 1534 bytes | December 10 2025 14:17:58. | |
| nfc.h | File | 11209 bytes | December 10 2025 14:17:58. | |
| nfs.h | File | 4500 bytes | December 10 2025 14:17:58. | |
| nfs2.h | File | 1468 bytes | December 10 2025 14:17:59. | |
| nfs3.h | File | 2453 bytes | December 10 2025 14:17:59. | |
| nfs4.h | File | 6599 bytes | December 10 2025 14:17:58. | |
| nfs4_mount.h | File | 1932 bytes | December 10 2025 14:17:59. | |
| nfs_fs.h | File | 1641 bytes | December 10 2025 14:17:58. | |
| nfs_idmap.h | File | 2243 bytes | December 10 2025 14:17:59. | |
| nfs_mount.h | File | 2142 bytes | December 10 2025 14:18:01. | |
| nfsacl.h | File | 718 bytes | December 10 2025 14:17:59. | |
| nilfs2_api.h | File | 7589 bytes | December 10 2025 14:17:59. | |
| nilfs2_ondisk.h | File | 18033 bytes | December 10 2025 14:18:00. | |
| nitro_enclaves.h | File | 13152 bytes | December 10 2025 14:18:00. | |
| nl80211.h | File | 335264 bytes | December 10 2025 14:17:58. | |
| nsfs.h | File | 639 bytes | December 10 2025 14:17:59. | |
| nubus.h | File | 8191 bytes | December 10 2025 14:18:01. | |
| nvme_ioctl.h | File | 2112 bytes | December 10 2025 14:17:59. | |
| nvram.h | File | 532 bytes | December 10 2025 14:17:59. | |
| omap3isp.h | File | 20853 bytes | December 10 2025 14:17:59. | |
| omapfb.h | File | 5918 bytes | December 10 2025 14:17:59. | |
| oom.h | File | 511 bytes | December 10 2025 14:17:59. | |
| openat2.h | File | 1289 bytes | December 10 2025 14:17:58. | |
| openvswitch.h | File | 40184 bytes | December 10 2025 14:17:59. | |
| packet_diag.h | File | 1672 bytes | December 10 2025 14:17:58. | |
| param.h | File | 141 bytes | December 10 2025 14:18:01. | |
| parport.h | File | 3644 bytes | December 10 2025 14:18:00. | |
| patchkey.h | File | 892 bytes | December 10 2025 14:18:00. | |
| pci.h | File | 1380 bytes | December 10 2025 14:17:59. | |
| pci_regs.h | File | 57827 bytes | December 10 2025 14:17:58. | |
| pcitest.h | File | 711 bytes | December 10 2025 14:17:59. | |
| perf_event.h | File | 40580 bytes | December 10 2025 14:18:00. | |
| personality.h | File | 2097 bytes | December 10 2025 14:17:59. | |
| pfkeyv2.h | File | 10569 bytes | December 10 2025 14:18:00. | |
| pfrut.h | File | 7987 bytes | December 10 2025 14:18:01. | |
| pg.h | File | 2394 bytes | December 10 2025 14:17:59. | |
| phantom.h | File | 1654 bytes | December 10 2025 14:18:00. | |
| phonet.h | File | 4677 bytes | December 10 2025 14:18:00. | |
| pkt_cls.h | File | 18511 bytes | December 10 2025 14:18:01. | |
| pkt_sched.h | File | 30296 bytes | December 10 2025 14:18:00. | |
| pktcdvd.h | File | 2687 bytes | December 10 2025 14:17:59. | |
| pmu.h | File | 5319 bytes | December 10 2025 14:17:58. | |
| poll.h | File | 22 bytes | December 10 2025 14:18:00. | |
| posix_acl.h | File | 1254 bytes | December 10 2025 14:17:59. | |
| posix_acl_xattr.h | File | 1115 bytes | December 10 2025 14:18:01. | |
| posix_types.h | File | 1098 bytes | December 10 2025 14:17:58. | |
| ppdev.h | File | 3211 bytes | December 10 2025 14:17:59. | |
| ppp-comp.h | File | 2527 bytes | December 10 2025 14:17:58. | |
| ppp-ioctl.h | File | 5475 bytes | December 10 2025 14:17:59. | |
| ppp_defs.h | File | 5107 bytes | December 10 2025 14:17:59. | |
| pps.h | File | 4734 bytes | December 10 2025 14:18:00. | |
| pr.h | File | 1073 bytes | December 10 2025 14:17:59. | |
| prctl.h | File | 8023 bytes | December 10 2025 14:18:00. | |
| psample.h | File | 2271 bytes | December 10 2025 14:17:59. | |
| psci.h | File | 4328 bytes | December 10 2025 14:18:01. | |
| psp-sev.h | File | 4586 bytes | December 10 2025 14:17:59. | |
| ptp_clock.h | File | 7456 bytes | December 10 2025 14:17:58. | |
| ptrace.h | File | 3674 bytes | December 10 2025 14:18:00. | |
| qemu_fw_cfg.h | File | 2469 bytes | December 10 2025 14:18:01. | |
| qnx4_fs.h | File | 2328 bytes | December 10 2025 14:17:59. | |
| qnxtypes.h | File | 624 bytes | December 10 2025 14:18:01. | |
| qrtr.h | File | 893 bytes | December 10 2025 14:17:58. | |
| quota.h | File | 6291 bytes | December 10 2025 14:17:58. | |
| radeonfb.h | File | 360 bytes | December 10 2025 14:17:59. | |
| random.h | File | 1370 bytes | December 10 2025 14:18:01. | |
| raw.h | File | 365 bytes | December 10 2025 14:18:01. | |
| rds.h | File | 9301 bytes | December 10 2025 14:17:59. | |
| reboot.h | File | 1343 bytes | December 10 2025 14:18:00. | |
| reiserfs_fs.h | File | 775 bytes | December 10 2025 14:17:58. | |
| reiserfs_xattr.h | File | 533 bytes | December 10 2025 14:18:00. | |
| resource.h | File | 2347 bytes | December 10 2025 14:18:01. | |
| rfkill.h | File | 6608 bytes | December 10 2025 14:17:59. | |
| rio_cm_cdev.h | File | 3248 bytes | December 10 2025 14:18:01. | |
| rio_mport_cdev.h | File | 9330 bytes | December 10 2025 14:18:00. | |
| romfs_fs.h | File | 1238 bytes | December 10 2025 14:18:01. | |
| rose.h | File | 2232 bytes | December 10 2025 14:17:59. | |
| route.h | File | 2332 bytes | December 10 2025 14:18:00. | |
| rpmsg.h | File | 544 bytes | December 10 2025 14:18:01. | |
| rseq.h | File | 4904 bytes | December 10 2025 14:17:59. | |
| rtc.h | File | 4009 bytes | December 10 2025 14:17:58. | |
| rtnetlink.h | File | 20201 bytes | December 10 2025 14:17:59. | |
| rxrpc.h | File | 5080 bytes | December 10 2025 14:18:00. | |
| scc.h | File | 4597 bytes | December 10 2025 14:17:58. | |
| sched.h | File | 2797 bytes | December 10 2025 14:18:00. | |
| scif_ioctl.h | File | 6382 bytes | December 10 2025 14:17:58. | |
| screen_info.h | File | 2479 bytes | December 10 2025 14:18:00. | |
| sctp.h | File | 35994 bytes | December 10 2025 14:17:59. | |
| sdla.h | File | 2839 bytes | December 10 2025 14:18:00. | |
| seccomp.h | File | 2257 bytes | December 10 2025 14:18:01. | |
| securebits.h | File | 2704 bytes | December 10 2025 14:17:58. | |
| sed-opal.h | File | 3275 bytes | December 10 2025 14:17:58. | |
| seg6.h | File | 1170 bytes | December 10 2025 14:18:01. | |
| seg6_genl.h | File | 589 bytes | December 10 2025 14:17:59. | |
| seg6_hmac.h | File | 423 bytes | December 10 2025 14:18:01. | |
| seg6_iptunnel.h | File | 927 bytes | December 10 2025 14:18:00. | |
| seg6_local.h | File | 2060 bytes | December 10 2025 14:18:01. | |
| selinux_netlink.h | File | 1195 bytes | December 10 2025 14:18:01. | |
| sem.h | File | 3043 bytes | December 10 2025 14:17:58. | |
| serial.h | File | 3866 bytes | December 10 2025 14:18:00. | |
| serial_core.h | File | 6245 bytes | December 10 2025 14:18:00. | |
| serial_reg.h | File | 15496 bytes | December 10 2025 14:17:58. | |
| serio.h | File | 2037 bytes | December 10 2025 14:18:00. | |
| sev-guest.h | File | 2303 bytes | December 10 2025 14:18:00. | |
| shm.h | File | 3785 bytes | December 10 2025 14:18:01. | |
| signal.h | File | 388 bytes | December 10 2025 14:18:00. | |
| signalfd.h | File | 1233 bytes | December 10 2025 14:17:59. | |
| smc.h | File | 8513 bytes | December 10 2025 14:17:58. | |
| smc_diag.h | File | 2728 bytes | December 10 2025 14:17:59. | |
| smiapp.h | File | 1058 bytes | December 10 2025 14:18:00. | |
| snmp.h | File | 13663 bytes | December 10 2025 14:17:59. | |
| sock_diag.h | File | 1301 bytes | December 10 2025 14:17:58. | |
| socket.h | File | 901 bytes | December 10 2025 14:17:58. | |
| sockios.h | File | 6106 bytes | December 10 2025 14:18:01. | |
| sonet.h | File | 2290 bytes | December 10 2025 14:17:58. | |
| sonypi.h | File | 5309 bytes | December 10 2025 14:17:59. | |
| sound.h | File | 1237 bytes | December 10 2025 14:17:59. | |
| soundcard.h | File | 46038 bytes | December 10 2025 14:18:01. | |
| stat.h | File | 6352 bytes | December 10 2025 14:17:58. | |
| stddef.h | File | 1532 bytes | December 10 2025 14:17:59. | |
| stm.h | File | 1275 bytes | December 10 2025 14:18:01. | |
| string.h | File | 238 bytes | December 10 2025 14:17:58. | |
| suspend_ioctls.h | File | 1431 bytes | December 10 2025 14:17:59. | |
| swab.h | File | 6921 bytes | December 10 2025 14:18:00. | |
| switchtec_ioctl.h | File | 5262 bytes | December 10 2025 14:17:58. | |
| sync_file.h | File | 2883 bytes | December 10 2025 14:18:01. | |
| synclink.h | File | 8985 bytes | December 10 2025 14:18:01. | |
| sysctl.h | File | 25842 bytes | December 10 2025 14:17:59. | |
| sysinfo.h | File | 1049 bytes | December 10 2025 14:17:58. | |
| target_core_user.h | File | 4633 bytes | December 10 2025 14:18:01. | |
| taskstats.h | File | 7180 bytes | December 10 2025 14:18:01. | |
| tcp.h | File | 9920 bytes | December 10 2025 14:17:59. | |
| tcp_metrics.h | File | 1549 bytes | December 10 2025 14:18:00. | |
| tdx-guest.h | File | 1305 bytes | December 10 2025 14:18:00. | |
| tee.h | File | 13165 bytes | December 10 2025 14:18:01. | |
| termios.h | File | 506 bytes | December 10 2025 14:18:01. | |
| thermal.h | File | 3309 bytes | December 10 2025 14:17:58. | |
| time.h | File | 1748 bytes | December 10 2025 14:17:58. | |
| time_types.h | File | 1175 bytes | December 10 2025 14:18:01. | |
| timerfd.h | File | 936 bytes | December 10 2025 14:17:58. | |
| times.h | File | 278 bytes | December 10 2025 14:17:59. | |
| timex.h | File | 6403 bytes | December 10 2025 14:18:01. | |
| tiocl.h | File | 1729 bytes | December 10 2025 14:17:58. | |
| tipc.h | File | 8825 bytes | December 10 2025 14:18:00. | |
| tipc_config.h | File | 14708 bytes | December 10 2025 14:18:00. | |
| tipc_netlink.h | File | 9395 bytes | December 10 2025 14:18:00. | |
| tipc_sockets_diag.h | File | 468 bytes | December 10 2025 14:17:59. | |
| tls.h | File | 4288 bytes | December 10 2025 14:18:01. | |
| toshiba.h | File | 1930 bytes | December 10 2025 14:17:58. | |
| tty.h | File | 1585 bytes | December 10 2025 14:18:01. | |
| tty_flags.h | File | 4527 bytes | December 10 2025 14:18:00. | |
| types.h | File | 1476 bytes | December 10 2025 14:18:01. | |
| udf_fs_i.h | File | 697 bytes | December 10 2025 14:17:59. | |
| udp.h | File | 1661 bytes | December 10 2025 14:18:00. | |
| uhid.h | File | 4648 bytes | December 10 2025 14:17:59. | |
| uinput.h | File | 9261 bytes | December 10 2025 14:18:00. | |
| uio.h | File | 732 bytes | December 10 2025 14:17:58. | |
| uleds.h | File | 798 bytes | December 10 2025 14:17:58. | |
| ultrasound.h | File | 4562 bytes | December 10 2025 14:18:01. | |
| un.h | File | 384 bytes | December 10 2025 14:18:00. | |
| unistd.h | File | 220 bytes | December 10 2025 14:17:58. | |
| unix_diag.h | File | 1253 bytes | December 10 2025 14:18:00. | |
| usbdevice_fs.h | File | 8317 bytes | December 10 2025 14:18:00. | |
| usbip.h | File | 640 bytes | December 10 2025 14:17:58. | |
| userfaultfd.h | File | 7774 bytes | December 10 2025 14:18:01. | |
| userio.h | File | 1516 bytes | December 10 2025 14:18:00. | |
| utime.h | File | 215 bytes | December 10 2025 14:17:59. | |
| utsname.h | File | 669 bytes | December 10 2025 14:18:01. | |
| uuid.h | File | 1356 bytes | December 10 2025 14:17:58. | |
| uvcvideo.h | File | 2635 bytes | December 10 2025 14:17:59. | |
| v4l2-common.h | File | 4177 bytes | December 10 2025 14:17:58. | |
| v4l2-controls.h | File | 51777 bytes | December 10 2025 14:17:59. | |
| v4l2-dv-timings.h | File | 31562 bytes | December 10 2025 14:18:00. | |
| v4l2-mediabus.h | File | 5101 bytes | December 10 2025 14:18:01. | |
| v4l2-subdev.h | File | 6096 bytes | December 10 2025 14:17:59. | |
| vbox_err.h | File | 7257 bytes | December 10 2025 14:18:00. | |
| vbox_vmmdev_types.h | File | 8356 bytes | December 10 2025 14:17:59. | |
| vboxguest.h | File | 8729 bytes | December 10 2025 14:18:01. | |
| vdpa.h | File | 1421 bytes | December 10 2025 14:17:59. | |
| version.h | File | 430 bytes | December 10 2025 14:19:00. | |
| veth.h | File | 224 bytes | December 10 2025 14:18:01. | |
| vfio.h | File | 52223 bytes | December 10 2025 14:17:59. | |
| vfio_ccw.h | File | 1317 bytes | December 10 2025 14:17:58. | |
| vfio_zdev.h | File | 2542 bytes | December 10 2025 14:17:58. | |
| vhost.h | File | 6418 bytes | December 10 2025 14:17:59. | |
| vhost_types.h | File | 3997 bytes | December 10 2025 14:18:00. | |
| videodev2.h | File | 90741 bytes | December 10 2025 14:17:58. | |
| virtio_9p.h | File | 2041 bytes | December 10 2025 14:17:58. | |
| virtio_balloon.h | File | 5274 bytes | December 10 2025 14:17:58. | |
| virtio_blk.h | File | 6797 bytes | December 10 2025 14:18:01. | |
| virtio_bt.h | File | 772 bytes | December 10 2025 14:18:00. | |
| virtio_config.h | File | 4005 bytes | December 10 2025 14:18:01. | |
| virtio_console.h | File | 3136 bytes | December 10 2025 14:17:58. | |
| virtio_crypto.h | File | 13874 bytes | December 10 2025 14:18:00. | |
| virtio_fs.h | File | 572 bytes | December 10 2025 14:18:00. | |
| virtio_gpu.h | File | 11454 bytes | December 10 2025 14:17:59. | |
| virtio_ids.h | File | 3269 bytes | December 10 2025 14:17:59. | |
| virtio_input.h | File | 2506 bytes | December 10 2025 14:17:59. | |
| virtio_iommu.h | File | 3783 bytes | December 10 2025 14:18:00. | |
| virtio_mem.h | File | 7157 bytes | December 10 2025 14:17:59. | |
| virtio_mmio.h | File | 4969 bytes | December 10 2025 14:17:58. | |
| virtio_net.h | File | 10549 bytes | December 10 2025 14:17:59. | |
| virtio_pci.h | File | 7406 bytes | December 10 2025 14:17:59. | |
| virtio_ring.h | File | 7497 bytes | December 10 2025 14:18:01. | |
| virtio_rng.h | File | 265 bytes | December 10 2025 14:18:01. | |
| virtio_scsi.h | File | 6035 bytes | December 10 2025 14:17:59. | |
| virtio_snd.h | File | 9304 bytes | December 10 2025 14:17:59. | |
| virtio_types.h | File | 2153 bytes | December 10 2025 14:18:00. | |
| virtio_vsock.h | File | 3086 bytes | December 10 2025 14:18:00. | |
| vm_sockets.h | File | 6494 bytes | December 10 2025 14:17:59. | |
| vm_sockets_diag.h | File | 963 bytes | December 10 2025 14:17:59. | |
| vmcore.h | File | 431 bytes | December 10 2025 14:18:00. | |
| vsockmon.h | File | 1885 bytes | December 10 2025 14:17:59. | |
| vt.h | File | 3059 bytes | December 10 2025 14:17:59. | |
| vtpm_proxy.h | File | 1719 bytes | December 10 2025 14:17:59. | |
| wait.h | File | 682 bytes | December 10 2025 14:18:01. | |
| wanrouter.h | File | 453 bytes | December 10 2025 14:18:00. | |
| watchdog.h | File | 2335 bytes | December 10 2025 14:18:00. | |
| wimax.h | File | 8371 bytes | December 10 2025 14:18:00. | |
| wireless.h | File | 42703 bytes | December 10 2025 14:17:58. | |
| wmi.h | File | 1886 bytes | December 10 2025 14:18:01. | |
| x25.h | File | 3562 bytes | December 10 2025 14:18:00. | |
| xattr.h | File | 2860 bytes | December 10 2025 14:18:01. | |
| xdp_diag.h | File | 1468 bytes | December 10 2025 14:18:01. | |
| xfrm.h | File | 11994 bytes | December 10 2025 14:18:01. | |
| xilinx-v4l2-controls.h | File | 2976 bytes | December 10 2025 14:18:00. | |
| zorro.h | File | 3296 bytes | December 10 2025 14:18:00. | |
| zorro_ids.h | File | 29963 bytes | December 10 2025 14:18:00. |
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2002 Intel Corp.
*
* This file is part of the SCTP kernel implementation
*
* This header represents the structures and constants needed to support
* the SCTP Extension to the Sockets API.
*
* This SCTP implementation is free software;
* you can redistribute it and/or modify it under the terms of
* the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This SCTP implementation is distributed in the hope that 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 GNU CC; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*
* Please send any bug reports or fixes you make to the
* email address(es):
* lksctp developers <linux-sctp@vger.kernel.org>
*
* Or submit a bug report through the following website:
* http://www.sf.net/projects/lksctp
*
* Written or modified by:
* La Monte H.P. Yarroll <piggy@acm.org>
* R. Stewart <randall@sctp.chicago.il.us>
* K. Morneau <kmorneau@cisco.com>
* Q. Xie <qxie1@email.mot.com>
* Karl Knutson <karl@athena.chicago.il.us>
* Jon Grimm <jgrimm@us.ibm.com>
* Daisy Chang <daisyc@us.ibm.com>
* Ryan Layer <rmlayer@us.ibm.com>
* Ardelle Fan <ardelle.fan@intel.com>
* Sridhar Samudrala <sri@us.ibm.com>
* Inaky Perez-Gonzalez <inaky.gonzalez@intel.com>
* Vlad Yasevich <vladislav.yasevich@hp.com>
*
* Any bugs reported given to us we will try to fix... any fixes shared will
* be incorporated into the next SCTP release.
*/
#ifndef _SCTP_H
#define _SCTP_H
#include <linux/types.h>
#include <linux/socket.h>
typedef __s32 sctp_assoc_t;
#define SCTP_FUTURE_ASSOC 0
#define SCTP_CURRENT_ASSOC 1
#define SCTP_ALL_ASSOC 2
/* The following symbols come from the Sockets API Extensions for
* SCTP <draft-ietf-tsvwg-sctpsocket-07.txt>.
*/
#define SCTP_RTOINFO 0
#define SCTP_ASSOCINFO 1
#define SCTP_INITMSG 2
#define SCTP_NODELAY 3 /* Get/set nodelay option. */
#define SCTP_AUTOCLOSE 4
#define SCTP_SET_PEER_PRIMARY_ADDR 5
#define SCTP_PRIMARY_ADDR 6
#define SCTP_ADAPTATION_LAYER 7
#define SCTP_DISABLE_FRAGMENTS 8
#define SCTP_PEER_ADDR_PARAMS 9
#define SCTP_DEFAULT_SEND_PARAM 10
#define SCTP_EVENTS 11
#define SCTP_I_WANT_MAPPED_V4_ADDR 12 /* Turn on/off mapped v4 addresses */
#define SCTP_MAXSEG 13 /* Get/set maximum fragment. */
#define SCTP_STATUS 14
#define SCTP_GET_PEER_ADDR_INFO 15
#define SCTP_DELAYED_ACK_TIME 16
#define SCTP_DELAYED_ACK SCTP_DELAYED_ACK_TIME
#define SCTP_DELAYED_SACK SCTP_DELAYED_ACK_TIME
#define SCTP_CONTEXT 17
#define SCTP_FRAGMENT_INTERLEAVE 18
#define SCTP_PARTIAL_DELIVERY_POINT 19 /* Set/Get partial delivery point */
#define SCTP_MAX_BURST 20 /* Set/Get max burst */
#define SCTP_AUTH_CHUNK 21 /* Set only: add a chunk type to authenticate */
#define SCTP_HMAC_IDENT 22
#define SCTP_AUTH_KEY 23
#define SCTP_AUTH_ACTIVE_KEY 24
#define SCTP_AUTH_DELETE_KEY 25
#define SCTP_PEER_AUTH_CHUNKS 26 /* Read only */
#define SCTP_LOCAL_AUTH_CHUNKS 27 /* Read only */
#define SCTP_GET_ASSOC_NUMBER 28 /* Read only */
#define SCTP_GET_ASSOC_ID_LIST 29 /* Read only */
#define SCTP_AUTO_ASCONF 30
#define SCTP_PEER_ADDR_THLDS 31
#define SCTP_RECVRCVINFO 32
#define SCTP_RECVNXTINFO 33
#define SCTP_DEFAULT_SNDINFO 34
#define SCTP_AUTH_DEACTIVATE_KEY 35
#define SCTP_REUSE_PORT 36
#define SCTP_PEER_ADDR_THLDS_V2 37
/* Internal Socket Options. Some of the sctp library functions are
* implemented using these socket options.
*/
#define SCTP_SOCKOPT_BINDX_ADD 100 /* BINDX requests for adding addrs */
#define SCTP_SOCKOPT_BINDX_REM 101 /* BINDX requests for removing addrs. */
#define SCTP_SOCKOPT_PEELOFF 102 /* peel off association. */
/* Options 104-106 are deprecated and removed. Do not use this space */
#define SCTP_SOCKOPT_CONNECTX_OLD 107 /* CONNECTX old requests. */
#define SCTP_GET_PEER_ADDRS 108 /* Get all peer address. */
#define SCTP_GET_LOCAL_ADDRS 109 /* Get all local address. */
#define SCTP_SOCKOPT_CONNECTX 110 /* CONNECTX requests. */
#define SCTP_SOCKOPT_CONNECTX3 111 /* CONNECTX requests (updated) */
#define SCTP_GET_ASSOC_STATS 112 /* Read only */
#define SCTP_PR_SUPPORTED 113
#define SCTP_DEFAULT_PRINFO 114
#define SCTP_PR_ASSOC_STATUS 115
#define SCTP_PR_STREAM_STATUS 116
#define SCTP_RECONFIG_SUPPORTED 117
#define SCTP_ENABLE_STREAM_RESET 118
#define SCTP_RESET_STREAMS 119
#define SCTP_RESET_ASSOC 120
#define SCTP_ADD_STREAMS 121
#define SCTP_SOCKOPT_PEELOFF_FLAGS 122
#define SCTP_STREAM_SCHEDULER 123
#define SCTP_STREAM_SCHEDULER_VALUE 124
#define SCTP_INTERLEAVING_SUPPORTED 125
#define SCTP_SENDMSG_CONNECT 126
#define SCTP_EVENT 127
#define SCTP_ASCONF_SUPPORTED 128
#define SCTP_AUTH_SUPPORTED 129
#define SCTP_ECN_SUPPORTED 130
#define SCTP_EXPOSE_POTENTIALLY_FAILED_STATE 131
#define SCTP_EXPOSE_PF_STATE SCTP_EXPOSE_POTENTIALLY_FAILED_STATE
#define SCTP_REMOTE_UDP_ENCAPS_PORT 132
#define SCTP_PLPMTUD_PROBE_INTERVAL 133
/* PR-SCTP policies */
#define SCTP_PR_SCTP_NONE 0x0000
#define SCTP_PR_SCTP_TTL 0x0010
#define SCTP_PR_SCTP_RTX 0x0020
#define SCTP_PR_SCTP_PRIO 0x0030
#define SCTP_PR_SCTP_MAX SCTP_PR_SCTP_PRIO
#define SCTP_PR_SCTP_MASK 0x0030
#define __SCTP_PR_INDEX(x) ((x >> 4) - 1)
#define SCTP_PR_INDEX(x) __SCTP_PR_INDEX(SCTP_PR_SCTP_ ## x)
#define SCTP_PR_POLICY(x) ((x) & SCTP_PR_SCTP_MASK)
#define SCTP_PR_SET_POLICY(flags, x) \
do { \
flags &= ~SCTP_PR_SCTP_MASK; \
flags |= x; \
} while (0)
#define SCTP_PR_TTL_ENABLED(x) (SCTP_PR_POLICY(x) == SCTP_PR_SCTP_TTL)
#define SCTP_PR_RTX_ENABLED(x) (SCTP_PR_POLICY(x) == SCTP_PR_SCTP_RTX)
#define SCTP_PR_PRIO_ENABLED(x) (SCTP_PR_POLICY(x) == SCTP_PR_SCTP_PRIO)
/* For enable stream reset */
#define SCTP_ENABLE_RESET_STREAM_REQ 0x01
#define SCTP_ENABLE_RESET_ASSOC_REQ 0x02
#define SCTP_ENABLE_CHANGE_ASSOC_REQ 0x04
#define SCTP_ENABLE_STRRESET_MASK 0x07
#define SCTP_STREAM_RESET_INCOMING 0x01
#define SCTP_STREAM_RESET_OUTGOING 0x02
/* These are bit fields for msghdr->msg_flags. See section 5.1. */
/* On user space Linux, these live in <bits/socket.h> as an enum. */
enum sctp_msg_flags {
MSG_NOTIFICATION = 0x8000,
#define MSG_NOTIFICATION MSG_NOTIFICATION
};
/* 5.3.1 SCTP Initiation Structure (SCTP_INIT)
*
* This cmsghdr structure provides information for initializing new
* SCTP associations with sendmsg(). The SCTP_INITMSG socket option
* uses this same data structure. This structure is not used for
* recvmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ ----------------------
* IPPROTO_SCTP SCTP_INIT struct sctp_initmsg
*/
struct sctp_initmsg {
__u16 sinit_num_ostreams;
__u16 sinit_max_instreams;
__u16 sinit_max_attempts;
__u16 sinit_max_init_timeo;
};
/* 5.3.2 SCTP Header Information Structure (SCTP_SNDRCV)
*
* This cmsghdr structure specifies SCTP options for sendmsg() and
* describes SCTP header information about a received message through
* recvmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ ----------------------
* IPPROTO_SCTP SCTP_SNDRCV struct sctp_sndrcvinfo
*/
struct sctp_sndrcvinfo {
__u16 sinfo_stream;
__u16 sinfo_ssn;
__u16 sinfo_flags;
__u32 sinfo_ppid;
__u32 sinfo_context;
__u32 sinfo_timetolive;
__u32 sinfo_tsn;
__u32 sinfo_cumtsn;
sctp_assoc_t sinfo_assoc_id;
};
/* 5.3.4 SCTP Send Information Structure (SCTP_SNDINFO)
*
* This cmsghdr structure specifies SCTP options for sendmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ -------------------
* IPPROTO_SCTP SCTP_SNDINFO struct sctp_sndinfo
*/
struct sctp_sndinfo {
__u16 snd_sid;
__u16 snd_flags;
__u32 snd_ppid;
__u32 snd_context;
sctp_assoc_t snd_assoc_id;
};
/* 5.3.5 SCTP Receive Information Structure (SCTP_RCVINFO)
*
* This cmsghdr structure describes SCTP receive information
* about a received message through recvmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ -------------------
* IPPROTO_SCTP SCTP_RCVINFO struct sctp_rcvinfo
*/
struct sctp_rcvinfo {
__u16 rcv_sid;
__u16 rcv_ssn;
__u16 rcv_flags;
__u32 rcv_ppid;
__u32 rcv_tsn;
__u32 rcv_cumtsn;
__u32 rcv_context;
sctp_assoc_t rcv_assoc_id;
};
/* 5.3.6 SCTP Next Receive Information Structure (SCTP_NXTINFO)
*
* This cmsghdr structure describes SCTP receive information
* of the next message that will be delivered through recvmsg()
* if this information is already available when delivering
* the current message.
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ -------------------
* IPPROTO_SCTP SCTP_NXTINFO struct sctp_nxtinfo
*/
struct sctp_nxtinfo {
__u16 nxt_sid;
__u16 nxt_flags;
__u32 nxt_ppid;
__u32 nxt_length;
sctp_assoc_t nxt_assoc_id;
};
/* 5.3.7 SCTP PR-SCTP Information Structure (SCTP_PRINFO)
*
* This cmsghdr structure specifies SCTP options for sendmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ -------------------
* IPPROTO_SCTP SCTP_PRINFO struct sctp_prinfo
*/
struct sctp_prinfo {
__u16 pr_policy;
__u32 pr_value;
};
/* 5.3.8 SCTP AUTH Information Structure (SCTP_AUTHINFO)
*
* This cmsghdr structure specifies SCTP options for sendmsg().
*
* cmsg_level cmsg_type cmsg_data[]
* ------------ ------------ -------------------
* IPPROTO_SCTP SCTP_AUTHINFO struct sctp_authinfo
*/
struct sctp_authinfo {
__u16 auth_keynumber;
};
/*
* sinfo_flags: 16 bits (unsigned integer)
*
* This field may contain any of the following flags and is composed of
* a bitwise OR of these values.
*/
enum sctp_sinfo_flags {
SCTP_UNORDERED = (1 << 0), /* Send/receive message unordered. */
SCTP_ADDR_OVER = (1 << 1), /* Override the primary destination. */
SCTP_ABORT = (1 << 2), /* Send an ABORT message to the peer. */
SCTP_SACK_IMMEDIATELY = (1 << 3), /* SACK should be sent without delay. */
/* 2 bits here have been used by SCTP_PR_SCTP_MASK */
SCTP_SENDALL = (1 << 6),
SCTP_PR_SCTP_ALL = (1 << 7),
SCTP_NOTIFICATION = MSG_NOTIFICATION, /* Next message is not user msg but notification. */
SCTP_EOF = MSG_FIN, /* Initiate graceful shutdown process. */
};
typedef union {
__u8 raw;
struct sctp_initmsg init;
struct sctp_sndrcvinfo sndrcv;
} sctp_cmsg_data_t;
/* These are cmsg_types. */
typedef enum sctp_cmsg_type {
SCTP_INIT, /* 5.2.1 SCTP Initiation Structure */
#define SCTP_INIT SCTP_INIT
SCTP_SNDRCV, /* 5.2.2 SCTP Header Information Structure */
#define SCTP_SNDRCV SCTP_SNDRCV
SCTP_SNDINFO, /* 5.3.4 SCTP Send Information Structure */
#define SCTP_SNDINFO SCTP_SNDINFO
SCTP_RCVINFO, /* 5.3.5 SCTP Receive Information Structure */
#define SCTP_RCVINFO SCTP_RCVINFO
SCTP_NXTINFO, /* 5.3.6 SCTP Next Receive Information Structure */
#define SCTP_NXTINFO SCTP_NXTINFO
SCTP_PRINFO, /* 5.3.7 SCTP PR-SCTP Information Structure */
#define SCTP_PRINFO SCTP_PRINFO
SCTP_AUTHINFO, /* 5.3.8 SCTP AUTH Information Structure */
#define SCTP_AUTHINFO SCTP_AUTHINFO
SCTP_DSTADDRV4, /* 5.3.9 SCTP Destination IPv4 Address Structure */
#define SCTP_DSTADDRV4 SCTP_DSTADDRV4
SCTP_DSTADDRV6, /* 5.3.10 SCTP Destination IPv6 Address Structure */
#define SCTP_DSTADDRV6 SCTP_DSTADDRV6
} sctp_cmsg_t;
/*
* 5.3.1.1 SCTP_ASSOC_CHANGE
*
* Communication notifications inform the ULP that an SCTP association
* has either begun or ended. The identifier for a new association is
* provided by this notificaion. The notification information has the
* following format:
*
*/
struct sctp_assoc_change {
__u16 sac_type;
__u16 sac_flags;
__u32 sac_length;
__u16 sac_state;
__u16 sac_error;
__u16 sac_outbound_streams;
__u16 sac_inbound_streams;
sctp_assoc_t sac_assoc_id;
__u8 sac_info[0];
};
/*
* sac_state: 32 bits (signed integer)
*
* This field holds one of a number of values that communicate the
* event that happened to the association. They include:
*
* Note: The following state names deviate from the API draft as
* the names clash too easily with other kernel symbols.
*/
enum sctp_sac_state {
SCTP_COMM_UP,
SCTP_COMM_LOST,
SCTP_RESTART,
SCTP_SHUTDOWN_COMP,
SCTP_CANT_STR_ASSOC,
};
/*
* 5.3.1.2 SCTP_PEER_ADDR_CHANGE
*
* When a destination address on a multi-homed peer encounters a change
* an interface details event is sent. The information has the
* following structure:
*/
struct sctp_paddr_change {
__u16 spc_type;
__u16 spc_flags;
__u32 spc_length;
struct sockaddr_storage spc_aaddr;
int spc_state;
int spc_error;
sctp_assoc_t spc_assoc_id;
} __attribute__((packed, aligned(4)));
/*
* spc_state: 32 bits (signed integer)
*
* This field holds one of a number of values that communicate the
* event that happened to the address. They include:
*/
enum sctp_spc_state {
SCTP_ADDR_AVAILABLE,
SCTP_ADDR_UNREACHABLE,
SCTP_ADDR_REMOVED,
SCTP_ADDR_ADDED,
SCTP_ADDR_MADE_PRIM,
SCTP_ADDR_CONFIRMED,
SCTP_ADDR_POTENTIALLY_FAILED,
#define SCTP_ADDR_PF SCTP_ADDR_POTENTIALLY_FAILED
};
/*
* 5.3.1.3 SCTP_REMOTE_ERROR
*
* A remote peer may send an Operational Error message to its peer.
* This message indicates a variety of error conditions on an
* association. The entire error TLV as it appears on the wire is
* included in a SCTP_REMOTE_ERROR event. Please refer to the SCTP
* specification [SCTP] and any extensions for a list of possible
* error formats. SCTP error TLVs have the format:
*/
struct sctp_remote_error {
__u16 sre_type;
__u16 sre_flags;
__u32 sre_length;
__be16 sre_error;
sctp_assoc_t sre_assoc_id;
__u8 sre_data[0];
};
/*
* 5.3.1.4 SCTP_SEND_FAILED
*
* If SCTP cannot deliver a message it may return the message as a
* notification.
*/
struct sctp_send_failed {
__u16 ssf_type;
__u16 ssf_flags;
__u32 ssf_length;
__u32 ssf_error;
struct sctp_sndrcvinfo ssf_info;
sctp_assoc_t ssf_assoc_id;
__u8 ssf_data[0];
};
struct sctp_send_failed_event {
__u16 ssf_type;
__u16 ssf_flags;
__u32 ssf_length;
__u32 ssf_error;
struct sctp_sndinfo ssfe_info;
sctp_assoc_t ssf_assoc_id;
__u8 ssf_data[0];
};
/*
* ssf_flags: 16 bits (unsigned integer)
*
* The flag value will take one of the following values
*
* SCTP_DATA_UNSENT - Indicates that the data was never put on
* the wire.
*
* SCTP_DATA_SENT - Indicates that the data was put on the wire.
* Note that this does not necessarily mean that the
* data was (or was not) successfully delivered.
*/
enum sctp_ssf_flags {
SCTP_DATA_UNSENT,
SCTP_DATA_SENT,
};
/*
* 5.3.1.5 SCTP_SHUTDOWN_EVENT
*
* When a peer sends a SHUTDOWN, SCTP delivers this notification to
* inform the application that it should cease sending data.
*/
struct sctp_shutdown_event {
__u16 sse_type;
__u16 sse_flags;
__u32 sse_length;
sctp_assoc_t sse_assoc_id;
};
/*
* 5.3.1.6 SCTP_ADAPTATION_INDICATION
*
* When a peer sends a Adaptation Layer Indication parameter , SCTP
* delivers this notification to inform the application
* that of the peers requested adaptation layer.
*/
struct sctp_adaptation_event {
__u16 sai_type;
__u16 sai_flags;
__u32 sai_length;
__u32 sai_adaptation_ind;
sctp_assoc_t sai_assoc_id;
};
/*
* 5.3.1.7 SCTP_PARTIAL_DELIVERY_EVENT
*
* When a receiver is engaged in a partial delivery of a
* message this notification will be used to indicate
* various events.
*/
struct sctp_pdapi_event {
__u16 pdapi_type;
__u16 pdapi_flags;
__u32 pdapi_length;
__u32 pdapi_indication;
sctp_assoc_t pdapi_assoc_id;
__u32 pdapi_stream;
__u32 pdapi_seq;
};
enum { SCTP_PARTIAL_DELIVERY_ABORTED=0, };
/*
* 5.3.1.8. SCTP_AUTHENTICATION_EVENT
*
* When a receiver is using authentication this message will provide
* notifications regarding new keys being made active as well as errors.
*/
struct sctp_authkey_event {
__u16 auth_type;
__u16 auth_flags;
__u32 auth_length;
__u16 auth_keynumber;
__u16 auth_altkeynumber;
__u32 auth_indication;
sctp_assoc_t auth_assoc_id;
};
enum {
SCTP_AUTH_NEW_KEY,
#define SCTP_AUTH_NEWKEY SCTP_AUTH_NEW_KEY /* compatible with before */
SCTP_AUTH_FREE_KEY,
SCTP_AUTH_NO_AUTH,
};
/*
* 6.1.9. SCTP_SENDER_DRY_EVENT
*
* When the SCTP stack has no more user data to send or retransmit, this
* notification is given to the user. Also, at the time when a user app
* subscribes to this event, if there is no data to be sent or
* retransmit, the stack will immediately send up this notification.
*/
struct sctp_sender_dry_event {
__u16 sender_dry_type;
__u16 sender_dry_flags;
__u32 sender_dry_length;
sctp_assoc_t sender_dry_assoc_id;
};
#define SCTP_STREAM_RESET_INCOMING_SSN 0x0001
#define SCTP_STREAM_RESET_OUTGOING_SSN 0x0002
#define SCTP_STREAM_RESET_DENIED 0x0004
#define SCTP_STREAM_RESET_FAILED 0x0008
struct sctp_stream_reset_event {
__u16 strreset_type;
__u16 strreset_flags;
__u32 strreset_length;
sctp_assoc_t strreset_assoc_id;
__u16 strreset_stream_list[];
};
#define SCTP_ASSOC_RESET_DENIED 0x0004
#define SCTP_ASSOC_RESET_FAILED 0x0008
struct sctp_assoc_reset_event {
__u16 assocreset_type;
__u16 assocreset_flags;
__u32 assocreset_length;
sctp_assoc_t assocreset_assoc_id;
__u32 assocreset_local_tsn;
__u32 assocreset_remote_tsn;
};
#define SCTP_ASSOC_CHANGE_DENIED 0x0004
#define SCTP_ASSOC_CHANGE_FAILED 0x0008
#define SCTP_STREAM_CHANGE_DENIED SCTP_ASSOC_CHANGE_DENIED
#define SCTP_STREAM_CHANGE_FAILED SCTP_ASSOC_CHANGE_FAILED
struct sctp_stream_change_event {
__u16 strchange_type;
__u16 strchange_flags;
__u32 strchange_length;
sctp_assoc_t strchange_assoc_id;
__u16 strchange_instrms;
__u16 strchange_outstrms;
};
/*
* Described in Section 7.3
* Ancillary Data and Notification Interest Options
*/
struct sctp_event_subscribe {
__u8 sctp_data_io_event;
__u8 sctp_association_event;
__u8 sctp_address_event;
__u8 sctp_send_failure_event;
__u8 sctp_peer_error_event;
__u8 sctp_shutdown_event;
__u8 sctp_partial_delivery_event;
__u8 sctp_adaptation_layer_event;
__u8 sctp_authentication_event;
__u8 sctp_sender_dry_event;
__u8 sctp_stream_reset_event;
__u8 sctp_assoc_reset_event;
__u8 sctp_stream_change_event;
__u8 sctp_send_failure_event_event;
};
/*
* 5.3.1 SCTP Notification Structure
*
* The notification structure is defined as the union of all
* notification types.
*
*/
union sctp_notification {
struct {
__u16 sn_type; /* Notification type. */
__u16 sn_flags;
__u32 sn_length;
} sn_header;
struct sctp_assoc_change sn_assoc_change;
struct sctp_paddr_change sn_paddr_change;
struct sctp_remote_error sn_remote_error;
struct sctp_send_failed sn_send_failed;
struct sctp_shutdown_event sn_shutdown_event;
struct sctp_adaptation_event sn_adaptation_event;
struct sctp_pdapi_event sn_pdapi_event;
struct sctp_authkey_event sn_authkey_event;
struct sctp_sender_dry_event sn_sender_dry_event;
struct sctp_stream_reset_event sn_strreset_event;
struct sctp_assoc_reset_event sn_assocreset_event;
struct sctp_stream_change_event sn_strchange_event;
struct sctp_send_failed_event sn_send_failed_event;
};
/* Section 5.3.1
* All standard values for sn_type flags are greater than 2^15.
* Values from 2^15 and down are reserved.
*/
enum sctp_sn_type {
SCTP_SN_TYPE_BASE = (1<<15),
SCTP_DATA_IO_EVENT = SCTP_SN_TYPE_BASE,
#define SCTP_DATA_IO_EVENT SCTP_DATA_IO_EVENT
SCTP_ASSOC_CHANGE,
#define SCTP_ASSOC_CHANGE SCTP_ASSOC_CHANGE
SCTP_PEER_ADDR_CHANGE,
#define SCTP_PEER_ADDR_CHANGE SCTP_PEER_ADDR_CHANGE
SCTP_SEND_FAILED,
#define SCTP_SEND_FAILED SCTP_SEND_FAILED
SCTP_REMOTE_ERROR,
#define SCTP_REMOTE_ERROR SCTP_REMOTE_ERROR
SCTP_SHUTDOWN_EVENT,
#define SCTP_SHUTDOWN_EVENT SCTP_SHUTDOWN_EVENT
SCTP_PARTIAL_DELIVERY_EVENT,
#define SCTP_PARTIAL_DELIVERY_EVENT SCTP_PARTIAL_DELIVERY_EVENT
SCTP_ADAPTATION_INDICATION,
#define SCTP_ADAPTATION_INDICATION SCTP_ADAPTATION_INDICATION
SCTP_AUTHENTICATION_EVENT,
#define SCTP_AUTHENTICATION_INDICATION SCTP_AUTHENTICATION_EVENT
SCTP_SENDER_DRY_EVENT,
#define SCTP_SENDER_DRY_EVENT SCTP_SENDER_DRY_EVENT
SCTP_STREAM_RESET_EVENT,
#define SCTP_STREAM_RESET_EVENT SCTP_STREAM_RESET_EVENT
SCTP_ASSOC_RESET_EVENT,
#define SCTP_ASSOC_RESET_EVENT SCTP_ASSOC_RESET_EVENT
SCTP_STREAM_CHANGE_EVENT,
#define SCTP_STREAM_CHANGE_EVENT SCTP_STREAM_CHANGE_EVENT
SCTP_SEND_FAILED_EVENT,
#define SCTP_SEND_FAILED_EVENT SCTP_SEND_FAILED_EVENT
SCTP_SN_TYPE_MAX = SCTP_SEND_FAILED_EVENT,
#define SCTP_SN_TYPE_MAX SCTP_SN_TYPE_MAX
};
/* Notification error codes used to fill up the error fields in some
* notifications.
* SCTP_PEER_ADDRESS_CHAGE : spc_error
* SCTP_ASSOC_CHANGE : sac_error
* These names should be potentially included in the draft 04 of the SCTP
* sockets API specification.
*/
typedef enum sctp_sn_error {
SCTP_FAILED_THRESHOLD,
SCTP_RECEIVED_SACK,
SCTP_HEARTBEAT_SUCCESS,
SCTP_RESPONSE_TO_USER_REQ,
SCTP_INTERNAL_ERROR,
SCTP_SHUTDOWN_GUARD_EXPIRES,
SCTP_PEER_FAULTY,
} sctp_sn_error_t;
/*
* 7.1.1 Retransmission Timeout Parameters (SCTP_RTOINFO)
*
* The protocol parameters used to initialize and bound retransmission
* timeout (RTO) are tunable. See [SCTP] for more information on how
* these parameters are used in RTO calculation.
*/
struct sctp_rtoinfo {
sctp_assoc_t srto_assoc_id;
__u32 srto_initial;
__u32 srto_max;
__u32 srto_min;
};
/*
* 7.1.2 Association Parameters (SCTP_ASSOCINFO)
*
* This option is used to both examine and set various association and
* endpoint parameters.
*/
struct sctp_assocparams {
sctp_assoc_t sasoc_assoc_id;
__u16 sasoc_asocmaxrxt;
__u16 sasoc_number_peer_destinations;
__u32 sasoc_peer_rwnd;
__u32 sasoc_local_rwnd;
__u32 sasoc_cookie_life;
};
/*
* 7.1.9 Set Peer Primary Address (SCTP_SET_PEER_PRIMARY_ADDR)
*
* Requests that the peer mark the enclosed address as the association
* primary. The enclosed address must be one of the association's
* locally bound addresses. The following structure is used to make a
* set primary request:
*/
struct sctp_setpeerprim {
sctp_assoc_t sspp_assoc_id;
struct sockaddr_storage sspp_addr;
} __attribute__((packed, aligned(4)));
/*
* 7.1.10 Set Primary Address (SCTP_PRIMARY_ADDR)
*
* Requests that the local SCTP stack use the enclosed peer address as
* the association primary. The enclosed address must be one of the
* association peer's addresses. The following structure is used to
* make a set peer primary request:
*/
struct sctp_prim {
sctp_assoc_t ssp_assoc_id;
struct sockaddr_storage ssp_addr;
} __attribute__((packed, aligned(4)));
/* For backward compatibility use, define the old name too */
#define sctp_setprim sctp_prim
/*
* 7.1.11 Set Adaptation Layer Indicator (SCTP_ADAPTATION_LAYER)
*
* Requests that the local endpoint set the specified Adaptation Layer
* Indication parameter for all future INIT and INIT-ACK exchanges.
*/
struct sctp_setadaptation {
__u32 ssb_adaptation_ind;
};
/*
* 7.1.13 Peer Address Parameters (SCTP_PEER_ADDR_PARAMS)
*
* Applications can enable or disable heartbeats for any peer address
* of an association, modify an address's heartbeat interval, force a
* heartbeat to be sent immediately, and adjust the address's maximum
* number of retransmissions sent before an address is considered
* unreachable. The following structure is used to access and modify an
* address's parameters:
*/
enum sctp_spp_flags {
SPP_HB_ENABLE = 1<<0, /*Enable heartbeats*/
SPP_HB_DISABLE = 1<<1, /*Disable heartbeats*/
SPP_HB = SPP_HB_ENABLE | SPP_HB_DISABLE,
SPP_HB_DEMAND = 1<<2, /*Send heartbeat immediately*/
SPP_PMTUD_ENABLE = 1<<3, /*Enable PMTU discovery*/
SPP_PMTUD_DISABLE = 1<<4, /*Disable PMTU discovery*/
SPP_PMTUD = SPP_PMTUD_ENABLE | SPP_PMTUD_DISABLE,
SPP_SACKDELAY_ENABLE = 1<<5, /*Enable SACK*/
SPP_SACKDELAY_DISABLE = 1<<6, /*Disable SACK*/
SPP_SACKDELAY = SPP_SACKDELAY_ENABLE | SPP_SACKDELAY_DISABLE,
SPP_HB_TIME_IS_ZERO = 1<<7, /* Set HB delay to 0 */
SPP_IPV6_FLOWLABEL = 1<<8,
SPP_DSCP = 1<<9,
};
struct sctp_paddrparams {
sctp_assoc_t spp_assoc_id;
struct sockaddr_storage spp_address;
__u32 spp_hbinterval;
__u16 spp_pathmaxrxt;
__u32 spp_pathmtu;
__u32 spp_sackdelay;
__u32 spp_flags;
__u32 spp_ipv6_flowlabel;
__u8 spp_dscp;
} __attribute__((packed, aligned(4)));
/*
* 7.1.18. Add a chunk that must be authenticated (SCTP_AUTH_CHUNK)
*
* This set option adds a chunk type that the user is requesting to be
* received only in an authenticated way. Changes to the list of chunks
* will only effect future associations on the socket.
*/
struct sctp_authchunk {
__u8 sauth_chunk;
};
/*
* 7.1.19. Get or set the list of supported HMAC Identifiers (SCTP_HMAC_IDENT)
*
* This option gets or sets the list of HMAC algorithms that the local
* endpoint requires the peer to use.
*/
/* This here is only used by user space as is. It might not be a good idea
* to export/reveal the whole structure with reserved fields etc.
*/
enum {
SCTP_AUTH_HMAC_ID_SHA1 = 1,
SCTP_AUTH_HMAC_ID_SHA256 = 3,
};
struct sctp_hmacalgo {
__u32 shmac_num_idents;
__u16 shmac_idents[];
};
/* Sadly, user and kernel space have different names for
* this structure member, so this is to not break anything.
*/
#define shmac_number_of_idents shmac_num_idents
/*
* 7.1.20. Set a shared key (SCTP_AUTH_KEY)
*
* This option will set a shared secret key which is used to build an
* association shared key.
*/
struct sctp_authkey {
sctp_assoc_t sca_assoc_id;
__u16 sca_keynumber;
__u16 sca_keylength;
__u8 sca_key[];
};
/*
* 7.1.21. Get or set the active shared key (SCTP_AUTH_ACTIVE_KEY)
*
* This option will get or set the active shared key to be used to build
* the association shared key.
*/
struct sctp_authkeyid {
sctp_assoc_t scact_assoc_id;
__u16 scact_keynumber;
};
/*
* 7.1.23. Get or set delayed ack timer (SCTP_DELAYED_SACK)
*
* This option will effect the way delayed acks are performed. This
* option allows you to get or set the delayed ack time, in
* milliseconds. It also allows changing the delayed ack frequency.
* Changing the frequency to 1 disables the delayed sack algorithm. If
* the assoc_id is 0, then this sets or gets the endpoints default
* values. If the assoc_id field is non-zero, then the set or get
* effects the specified association for the one to many model (the
* assoc_id field is ignored by the one to one model). Note that if
* sack_delay or sack_freq are 0 when setting this option, then the
* current values will remain unchanged.
*/
struct sctp_sack_info {
sctp_assoc_t sack_assoc_id;
uint32_t sack_delay;
uint32_t sack_freq;
};
struct sctp_assoc_value {
sctp_assoc_t assoc_id;
uint32_t assoc_value;
};
struct sctp_stream_value {
sctp_assoc_t assoc_id;
uint16_t stream_id;
uint16_t stream_value;
};
/*
* 7.2.2 Peer Address Information
*
* Applications can retrieve information about a specific peer address
* of an association, including its reachability state, congestion
* window, and retransmission timer values. This information is
* read-only. The following structure is used to access this
* information:
*/
struct sctp_paddrinfo {
sctp_assoc_t spinfo_assoc_id;
struct sockaddr_storage spinfo_address;
__s32 spinfo_state;
__u32 spinfo_cwnd;
__u32 spinfo_srtt;
__u32 spinfo_rto;
__u32 spinfo_mtu;
} __attribute__((packed, aligned(4)));
/* Peer addresses's state. */
/* UNKNOWN: Peer address passed by the upper layer in sendmsg or connect[x]
* calls.
* UNCONFIRMED: Peer address received in INIT/INIT-ACK address parameters.
* Not yet confirmed by a heartbeat and not available for data
* transfers.
* ACTIVE : Peer address confirmed, active and available for data transfers.
* INACTIVE: Peer address inactive and not available for data transfers.
*/
enum sctp_spinfo_state {
SCTP_INACTIVE,
SCTP_PF,
#define SCTP_POTENTIALLY_FAILED SCTP_PF
SCTP_ACTIVE,
SCTP_UNCONFIRMED,
SCTP_UNKNOWN = 0xffff /* Value used for transport state unknown */
};
/*
* 7.2.1 Association Status (SCTP_STATUS)
*
* Applications can retrieve current status information about an
* association, including association state, peer receiver window size,
* number of unacked data chunks, and number of data chunks pending
* receipt. This information is read-only. The following structure is
* used to access this information:
*/
struct sctp_status {
sctp_assoc_t sstat_assoc_id;
__s32 sstat_state;
__u32 sstat_rwnd;
__u16 sstat_unackdata;
__u16 sstat_penddata;
__u16 sstat_instrms;
__u16 sstat_outstrms;
__u32 sstat_fragmentation_point;
struct sctp_paddrinfo sstat_primary;
};
/*
* 7.2.3. Get the list of chunks the peer requires to be authenticated
* (SCTP_PEER_AUTH_CHUNKS)
*
* This option gets a list of chunks for a specified association that
* the peer requires to be received authenticated only.
*/
struct sctp_authchunks {
sctp_assoc_t gauth_assoc_id;
__u32 gauth_number_of_chunks;
uint8_t gauth_chunks[];
};
/* The broken spelling has been released already in lksctp-tools header,
* so don't break anyone, now that it's fixed.
*/
#define guth_number_of_chunks gauth_number_of_chunks
/* Association states. */
enum sctp_sstat_state {
SCTP_EMPTY = 0,
SCTP_CLOSED = 1,
SCTP_COOKIE_WAIT = 2,
SCTP_COOKIE_ECHOED = 3,
SCTP_ESTABLISHED = 4,
SCTP_SHUTDOWN_PENDING = 5,
SCTP_SHUTDOWN_SENT = 6,
SCTP_SHUTDOWN_RECEIVED = 7,
SCTP_SHUTDOWN_ACK_SENT = 8,
};
/*
* 8.2.6. Get the Current Identifiers of Associations
* (SCTP_GET_ASSOC_ID_LIST)
*
* This option gets the current list of SCTP association identifiers of
* the SCTP associations handled by a one-to-many style socket.
*/
struct sctp_assoc_ids {
__u32 gaids_number_of_ids;
sctp_assoc_t gaids_assoc_id[];
};
/*
* 8.3, 8.5 get all peer/local addresses in an association.
* This parameter struct is used by SCTP_GET_PEER_ADDRS and
* SCTP_GET_LOCAL_ADDRS socket options used internally to implement
* sctp_getpaddrs() and sctp_getladdrs() API.
*/
struct sctp_getaddrs_old {
sctp_assoc_t assoc_id;
int addr_num;
struct sockaddr *addrs;
};
struct sctp_getaddrs {
sctp_assoc_t assoc_id; /*input*/
__u32 addr_num; /*output*/
__u8 addrs[0]; /*output, variable size*/
};
/* A socket user request obtained via SCTP_GET_ASSOC_STATS that retrieves
* association stats. All stats are counts except sas_maxrto and
* sas_obs_rto_ipaddr. maxrto is the max observed rto + transport since
* the last call. Will return 0 when RTO was not update since last call
*/
struct sctp_assoc_stats {
sctp_assoc_t sas_assoc_id; /* Input */
/* Transport of observed max RTO */
struct sockaddr_storage sas_obs_rto_ipaddr;
__u64 sas_maxrto; /* Maximum Observed RTO for period */
__u64 sas_isacks; /* SACKs received */
__u64 sas_osacks; /* SACKs sent */
__u64 sas_opackets; /* Packets sent */
__u64 sas_ipackets; /* Packets received */
__u64 sas_rtxchunks; /* Retransmitted Chunks */
__u64 sas_outofseqtsns;/* TSN received > next expected */
__u64 sas_idupchunks; /* Dups received (ordered+unordered) */
__u64 sas_gapcnt; /* Gap Acknowledgements Received */
__u64 sas_ouodchunks; /* Unordered data chunks sent */
__u64 sas_iuodchunks; /* Unordered data chunks received */
__u64 sas_oodchunks; /* Ordered data chunks sent */
__u64 sas_iodchunks; /* Ordered data chunks received */
__u64 sas_octrlchunks; /* Control chunks sent */
__u64 sas_ictrlchunks; /* Control chunks received */
};
/*
* 8.1 sctp_bindx()
*
* The flags parameter is formed from the bitwise OR of zero or more of the
* following currently defined flags:
*/
#define SCTP_BINDX_ADD_ADDR 0x01
#define SCTP_BINDX_REM_ADDR 0x02
/* This is the structure that is passed as an argument(optval) to
* getsockopt(SCTP_SOCKOPT_PEELOFF).
*/
typedef struct {
sctp_assoc_t associd;
int sd;
} sctp_peeloff_arg_t;
typedef struct {
sctp_peeloff_arg_t p_arg;
unsigned flags;
} sctp_peeloff_flags_arg_t;
/*
* Peer Address Thresholds socket option
*/
struct sctp_paddrthlds {
sctp_assoc_t spt_assoc_id;
struct sockaddr_storage spt_address;
__u16 spt_pathmaxrxt;
__u16 spt_pathpfthld;
};
/* Use a new structure with spt_pathcpthld for back compatibility */
struct sctp_paddrthlds_v2 {
sctp_assoc_t spt_assoc_id;
struct sockaddr_storage spt_address;
__u16 spt_pathmaxrxt;
__u16 spt_pathpfthld;
__u16 spt_pathcpthld;
};
/*
* Socket Option for Getting the Association/Stream-Specific PR-SCTP Status
*/
struct sctp_prstatus {
sctp_assoc_t sprstat_assoc_id;
__u16 sprstat_sid;
__u16 sprstat_policy;
__u64 sprstat_abandoned_unsent;
__u64 sprstat_abandoned_sent;
};
struct sctp_default_prinfo {
sctp_assoc_t pr_assoc_id;
__u32 pr_value;
__u16 pr_policy;
};
struct sctp_info {
__u32 sctpi_tag;
__u32 sctpi_state;
__u32 sctpi_rwnd;
__u16 sctpi_unackdata;
__u16 sctpi_penddata;
__u16 sctpi_instrms;
__u16 sctpi_outstrms;
__u32 sctpi_fragmentation_point;
__u32 sctpi_inqueue;
__u32 sctpi_outqueue;
__u32 sctpi_overall_error;
__u32 sctpi_max_burst;
__u32 sctpi_maxseg;
__u32 sctpi_peer_rwnd;
__u32 sctpi_peer_tag;
__u8 sctpi_peer_capable;
__u8 sctpi_peer_sack;
__u16 __reserved1;
/* assoc status info */
__u64 sctpi_isacks;
__u64 sctpi_osacks;
__u64 sctpi_opackets;
__u64 sctpi_ipackets;
__u64 sctpi_rtxchunks;
__u64 sctpi_outofseqtsns;
__u64 sctpi_idupchunks;
__u64 sctpi_gapcnt;
__u64 sctpi_ouodchunks;
__u64 sctpi_iuodchunks;
__u64 sctpi_oodchunks;
__u64 sctpi_iodchunks;
__u64 sctpi_octrlchunks;
__u64 sctpi_ictrlchunks;
/* primary transport info */
struct sockaddr_storage sctpi_p_address;
__s32 sctpi_p_state;
__u32 sctpi_p_cwnd;
__u32 sctpi_p_srtt;
__u32 sctpi_p_rto;
__u32 sctpi_p_hbinterval;
__u32 sctpi_p_pathmaxrxt;
__u32 sctpi_p_sackdelay;
__u32 sctpi_p_sackfreq;
__u32 sctpi_p_ssthresh;
__u32 sctpi_p_partial_bytes_acked;
__u32 sctpi_p_flight_size;
__u16 sctpi_p_error;
__u16 __reserved2;
/* sctp sock info */
__u32 sctpi_s_autoclose;
__u32 sctpi_s_adaptation_ind;
__u32 sctpi_s_pd_point;
__u8 sctpi_s_nodelay;
__u8 sctpi_s_disable_fragments;
__u8 sctpi_s_v4mapped;
__u8 sctpi_s_frag_interleave;
__u32 sctpi_s_type;
__u32 __reserved3;
};
struct sctp_reset_streams {
sctp_assoc_t srs_assoc_id;
uint16_t srs_flags;
uint16_t srs_number_streams; /* 0 == ALL */
uint16_t srs_stream_list[]; /* list if srs_num_streams is not 0 */
};
struct sctp_add_streams {
sctp_assoc_t sas_assoc_id;
uint16_t sas_instrms;
uint16_t sas_outstrms;
};
struct sctp_event {
sctp_assoc_t se_assoc_id;
uint16_t se_type;
uint8_t se_on;
};
struct sctp_udpencaps {
sctp_assoc_t sue_assoc_id;
struct sockaddr_storage sue_address;
uint16_t sue_port;
};
/* SCTP Stream schedulers */
enum sctp_sched_type {
SCTP_SS_FCFS,
SCTP_SS_DEFAULT = SCTP_SS_FCFS,
SCTP_SS_PRIO,
SCTP_SS_RR,
SCTP_SS_MAX = SCTP_SS_RR
};
/* Probe Interval socket option */
struct sctp_probeinterval {
sctp_assoc_t spi_assoc_id;
struct sockaddr_storage spi_address;
__u32 spi_interval;
};
#endif /* _SCTP_H */
SILENT KILLER Tool