aboutsummaryrefslogtreecommitdiffstats
path: root/sys/socket.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-871/+0
|
* sys: add AF_PACKET sockets descriptionAndrey Konovalov2017-09-011-1/+1
|
* sys: change proc arguments to the format used by const/flags/lenDmitry Vyukov2017-08-311-5/+5
| | | | | | | | All other types have optional underlying type as the last argument. Proc have it as first. This creates very irregular syntax and complicates parsing. Make type the last argument. Note: this is a breaking change if you have descriptions on the side.
* all: support i386 archDmitry Vyukov2017-08-191-0/+2
| | | | Update #191
* sys/syz-extract: switch to the new parserDmitry Vyukov2017-08-181-2/+0
|
* sys: reformat descriptionsDmitry Vyukov2017-08-181-290/+300
|
* sys: fix a single case of field starting from a digitDmitry Vyukov2017-08-181-1/+1
| | | | In preparation for a stricter parser.
* sys: fix typo in ETHTOOLGCHANNELS const and diagnose such casesDmitry Vyukov2017-08-091-1/+1
|
* sys: fix recvmmsg signatureDmitry Vyukov2017-08-091-1/+1
| | | | recvmmsg has timeout argument.
* sys: add ETHTOOL ioctl in socket.txtJB Cayrou2017-06-191-1/+445
| | | | | | Add ioctl$sock_SIOCETHTOOL and ETHTOOL structures defined in uapi/linux/ethtool.h http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/ethtool.h
* sys: add basic AF_LLC sockets descriptionsAndrey Konovalov2017-05-291-2/+2
|
* sys: make ifindex a resourceAndrey Konovalov2017-04-201-2/+15
| | | | | Also split ioctl$sock_inet_ifreq into multple ioctls to make it possible to disable or enable particular ones.
* sys: rename sockaddr_all to sockaddr_storageAndrey Konovalov2017-04-201-14/+14
|
* sys: fix sendmmsg and recvmmsgAndrey Konovalov2017-04-201-24/+35
|
* sys: use consistent ioctl$sock* name for socket ioctlsAndrey Konovalov2017-04-081-18/+18
|
* sys: add ipv4 arp ioctlsAndrey Konovalov2017-04-071-1/+3
|
* sys: add more socket ioctlsAndrey Konovalov2017-04-071-9/+83
|
* sys: add loopback and syzN devices to devnameAndrey Konovalov2017-04-071-3/+12
|
* sys: rearrange and improve socket.txtAndrey Konovalov2017-04-071-40/+242
|
* sys: restore autobind TODOAndrey Konovalov2017-02-101-0/+2
|
* sys: fix socket.txt includeAndrey Konovalov2017-02-101-0/+1
|
* sys: add sock_in and sock_in6 typesAndrey Konovalov2017-02-101-1/+1
|
* sys: split socket.txt into multiple files based on socket typeAndrey Konovalov2017-02-091-685/+3
| | | | | This just moves syscall descriptions and fixes up includes without any semantic changes.
* prog, sys: add icmpv6 packet descriptions and checksumsAndrey Konovalov2017-02-081-4/+4
| | | | | | Also generalize checksums into the two kinds: inet and pseudo. Inet checksums is just the Internet checksum of a packet. Pseudo checksum is the Internet checksum of a packet with a pseudo header.
* prog, sys: add icmp descriptions and checksumAndrey Konovalov2017-02-061-0/+44
|
* prog, sys: add udp description and checksumAndrey Konovalov2017-02-021-0/+40
|
* prog, sys: add ipv6 description and checksumAndrey Konovalov2017-02-021-0/+24
|
* prog, sys: add tcp packets descriptionsAndrey Konovalov2017-01-301-0/+23
| | | | Also embed tcp checksums into packets.
* sys: improve cmsghdr descriptionDmitry Vyukov2017-01-181-10/+9
|
* sys: improve sockaddr_un descriptionDmitry Vyukov2017-01-181-8/+3
| | | | | 1. Embed real filename. 2. Use proc type for unique identifiers.
* sys: move sockaddr description to templatesAndrey Konovalov2016-11-291-0/+16
|
* sys: add proc type to denote per proccess integersAndrey Konovalov2016-11-251-2/+2
|
* sys: allow to specify buffer size for stringsDmitry Vyukov2016-11-111-2/+5
| | | | | | | | This allows to write: string[salg_type, 14] which will give a string buffer of size 14 regardless of actual string size. Convert salg_type/salg_name to this.
* sys: don't imply pointer indirection for string argumentsDmitry Vyukov2016-11-111-1/+1
| | | | | In preparation for extending string functionality and to make it less magical.
* sys: fix incorrect argument type introduced in ↵Dmitry Vyukov2016-08-281-1/+1
| | | | 76906672672365b9e31328a0047baf62db9190b6
* sys: specify resources in text descriptionsDmitry Vyukov2016-08-271-171/+198
| | | | | | Currently to add a new resource one needs to modify multiple source files, which complicates descirption of new system calls. Move resource descriptions from source code to text desciptions.
* overhaul syscall description generation processDmitry Vyukov2016-08-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | This splits generation process into two phases: 1. Extract values of constants from linux kernel sources. 2. Generate Go code. Constant values are checked in. The advantage is that the second phase is now completely independent from linux source files, kernel version, presence of headers for particular drivers, etc. This allows to change what Go code we generate any time without access to all kernel headers (which in future won't be limited to only upstream headers). Constant extraction process does require proper kernel sources, but this can be done only once by the person who added the driver and has access to the required sources. Then the constant values are checked in for others to use. Consant extraction process is per-file/per-arch. That is, if I am adding a driver that is not present upstream and that works only on a single arch, I will check in constants only for that driver and for that arch.
* sys: add removed defines to fix generate in linux-nextLorenzo Stoakes2016-03-111-0/+3
| | | | | This patch redefines constants that were removed in patches between 4.4 and linux-next, so both linux-next and mainline work with make generate.
* sys: support /dev/random and /dev/net/tunBaozeng Ding2016-01-261-0/+5
|
* sys: add basic netlink supportDmitry Vyukov2016-01-231-2/+2
|
* sys: implement array byte size argumentsDmitry Vyukov2016-01-231-2/+1
|
* sys: use kernel headers instead of host headersDmitry Vyukov2016-01-221-134/+12
| | | | | | | | This solves several problems: - host usually have outdates headers, so previously we need to define missing consts - host may not have some headers at all - generation depends on linux distribution and version - some of the consts cannot be defined at all (e.g. ioctls that use struct arguments)
* sys: support /dev/snd/seqDmitry Vyukov2016-01-111-3/+4
|
* sys: implement sockaddr_storageDmitry Vyukov2015-12-311-0/+10
|
* sys: implement fixed-size arraysDmitry Vyukov2015-12-301-22/+3
|
* sys: add sctp supportDmitry Vyukov2015-12-301-51/+42
|
* sys: add union typeDmitry Vyukov2015-12-291-10/+28
|
* sys: support for AF_UNIX socketsDmitry Vyukov2015-12-281-17/+154
|
* sys: move more subsystems into separate filesDmitry Vyukov2015-12-281-0/+586