aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_tipc_netlink.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: fix bugs pointed out by syz-checkDmitry Vyukov2022-01-131-4/+6
| | | | Update #590
* sys/linux: add ieee802154 descriptionsDmitry Vyukov2021-02-121-2/+2
|
* sys/linux: add descriptions for new tipc crypto APIsJiaheng Hu2020-06-181-0/+12
| | | | | | | | | Added the TIPC_NLA_NODE_KEY and TIPC_NLA_NODE_ID fields in the socket_tipc_netlink.txt file. Created a new struct to hold the key. Created two new descriptions for TIPC_NL_KEY_SET and TIPC_NL_KEY_FLUSH. The related kernel commits can be seen in https://git.kernel.org/linus/134bdac39766 and https://git.kernel.org/linus/e1f32190cf7d.
* pkg/compiler: refactor attribute handlingDmitry Vyukov2020-04-191-1/+1
| | | | | | | | | | | | 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: check for missing/duplicate netlink attrsDmitry Vyukov2020-01-231-0/+13
| | | | Update #590
* sys/linux: mark all nested netlink attributes as nlnestDmitry Vyukov2020-01-221-9/+9
| | | | | | | | | | | As far as I understand most subsystems don't care about the nest flag, but some do. But marking them as nest won't harm (?). Let's mark all of them. Caught several cases where should have been used array[policy] but used just policy. Update #590
* tools/syz-check: improve matching netlink attributesDmitry Vyukov2020-01-221-2/+2
| | | | | | | | | | 1. Match policies that has a _suffix in our descriptions (we frequently do this to improve precision or avoid dup names). 2. Rename policies in descriptions to match kernel names. 3. Match policy if there are several such names in kernel. 4. Recognize policies with helper sub-policies. Update #590
* sys/linux: fix 2 netlink data layout bugsDmitry Vyukov2020-01-071-1/+1
| | | | | | | | | | | 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: fix warnings in template definitionDmitry Vyukov2019-12-221-4/+8
| | | | Update #590
* sys/linux: add AF_TIPC netlink interface and packet formatsDmitry Vyukov2018-12-091-0/+185