aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: remove nl_generic_attr_nonested hackDmitry Vyukov2024-11-181-6/+1
| | | | | It was needed to work around restriction on recursion via arrays. Since we permit it now, we can remove the hack.
* sys/linux: use a wider range for netlink attributesAleksandr Nogikh2024-02-031-4/+7
|
* pkg/compiler: refactor attribute handlingDmitry Vyukov2020-04-191-3/+3
| | | | | | | | | | | | Introduce common infrastructure for describing and parsing attribute instead of custom per-attribute code scattered across several locations. Change align attribute syntax from the weird align_N to align[N]. This also allows to use literal constants as N. Introduce notion of builtin constants. Currently we have only PTR_SIZE, which is needed to replace align_ptr with align[PTR_SIZE].
* sys/linux: add NETLINK_SOCK_DIAG descriptionsDmitry Vyukov2020-02-211-1/+1
| | | | Incomplete, but something.
* sys/linux: add NETLINK_RDMA descriptionsDmitry Vyukov2020-02-211-1/+1
|
* sys/linux: fix more netlink warningsDmitry Vyukov2020-01-231-0/+5
| | | | | | | | | | Handle NLA_BITFIELD32. Match string attribtues better. Calculate and check min size for varlen structs. Fix NLA_UNSPEC size check. Fix some things in descriptions. Update #590
* sys/linux: add ipset descriptionsDmitry Vyukov2020-01-071-1/+1
|
* sys/linux: fix 2 netlink data layout bugsDmitry Vyukov2020-01-071-6/+19
| | | | | | | | | | | 1. Turns out that NLA_F_NESTED is actually used and checked (nla_parse_nested checks it, while nla_parse_nested_deprecated does not). Similarly, ipset extensively checks NLA_F_NET_BYTEORDER. So we need these bits. 2. nla_len must not account for the trailing alighnment padding. This means we set wrong len for payloads that are not multiple of 4 (int8/int16/strings/arrays/some structs/etc).
* sys/linux: add AF_TIPC netlink interface and packet formatsDmitry Vyukov2018-12-091-1/+1
|
* pkg/compiler: check for unused declarationsDmitry Vyukov2018-06-301-1/+0
| | | | | Error on unused structs/unions/resources/flags. Finds tons of bugs.
* sys/linux: fix nlattr alignmentDmitry Vyukov2018-03-211-1/+1
| | | | It seems that alignment is never present in the nlattr.
* sys/linux: remove proc type from network descriptionsDmitry Vyukov2018-02-261-2/+2
| | | | | | | | | | We now always create net namespace for testing, so socket ports and other IDs do not overlap between different test processes. Proc types play badly with squashing packets to ANYBLOB. To squash into a block we need concrete value, but it depends on process id. Removing proc also makes tun setup and address descriptions simpler.
* sys/linux: use type templates for netlinkDmitry Vyukov2018-01-131-54/+46
| | | | -350 lines of descriptions
* sys/linux: regenerate arm consts + small netlink fixedDmitry Vyukov2018-01-111-4/+8
| | | | | | | | Arm was broken on upstream kernel for some time due to some assembler error. Now it seems to be fixed, so regenerate consts. Also fix small issues in new netlink descriptions.
* sys/linux: add AF_NETLINK/NETLINK_NETFILTER descriptionsDmitry Vyukov2018-01-091-2/+47
|
* sys/linux: add AF_NETLINK/NETLINK_CRYPTO descriptionsDmitry Vyukov2018-01-091-3/+5
|
* sys/linux: netlink xfrm supportDmitry Vyukov2017-12-311-12/+38
|
* sys/linux: assorted improvementsDmitry Vyukov2017-12-291-4/+5
| | | | Mostly extensions of API in 4.15.
* sys/linux: fix control len in msghdr'sDmitry Vyukov2017-11-271-1/+1
| | | | Contol len is in bytes, not array elements.
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-0/+73