aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink_route_sched.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: run make extractAleksandr Nogikh2024-01-301-104/+0
| | | | | Split out deprecated descriptions from socket_netlink_route_sched.txt. Adjust outdated descriptions.
* sys/linux: update consts to next-20230331Dmitry Vyukov2023-04-031-0/+10
|
* sys/linux: fix bugs pointed out by syz-checkDmitry Vyukov2022-01-131-16/+21
| | | | Update #590
* sys/linux: change netlink policies to the new $ conventionDmitry Vyukov2022-01-131-18/+18
|
* sys/linux: add fq_pie description for netlink_route_schedMara Mihali2021-05-261-0/+16
|
* sys/linux: add tca_flower_key_mpls_opts descritpionIoana-Ruxandra Stăncioi2020-08-101-1/+14
| | | | | | | mpls_opts: https://elixir.bootlin.com/linux/v5.8-rc4/source/net/sched/cls_flower.c#L670 mpls_opts_lse: https://elixir.bootlin.com/linux/v5.8-rc4/source/net/sched/cls_flower.c#L731
* sys/linux: fix some warnings in descriptionsDmitry Vyukov2020-06-131-0/+1
| | | | | syz-check pointed to a new batch of bugs in descriptions. Fix them.
* sys/linux: fix some warnings in descriptionsDmitry Vyukov2020-05-251-3/+13
|
* pkg/compiler: refactor attribute handlingDmitry Vyukov2020-04-191-5/+5
| | | | | | | | | | | | 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: fix more netlink warningsDmitry Vyukov2020-01-231-7/+4
| | | | | | | | | | 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: fix incorrect nlattr sizesDmitry Vyukov2020-01-221-3/+3
| | | | Update #590
* sys/linux: more fixing of netlink policy namesDmitry Vyukov2020-01-221-10/+10
| | | | Update #590
* sys/linux: mark all nested netlink attributes as nlnestDmitry Vyukov2020-01-221-39/+39
| | | | | | | | | | | 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-199/+187
| | | | | | | | | | 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: add new netlink warningsDmitry Vyukov2020-01-221-0/+2
| | | | Update #590
* sys/linux: fix 2 netlink data layout bugsDmitry Vyukov2020-01-071-33/+37
| | | | | | | | | | | 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-10/+14
| | | | Update #590
* sys/linux: fix 240 warnings in descriptionsDmitry Vyukov2019-12-201-3/+8
| | | | | | Sweeping fix of everything up to socket_netlink_route.txt. Update #590
* sys/linux: extend CAN descriptionsDmitry Vyukov2019-11-021-5/+0
|
* sys/linux/socket_netlink_route_sched: update tca_policesHangbin Liu2019-10-241-0/+2
| | | | | | | | | Update #533 This patch update tca_polices by adding new polices TCA_POLICE_RATE64 and TCA_POLICE_PEAKRATE64 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add new tc actionsHangbin Liu2019-10-241-2/+66
| | | | | | | | Update #533 This patch add new tc actions: ct, ctinfo, xt, mpls Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add tc flower filterHangbin Liu2019-10-241-0/+112
| | | | | | Update #533 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add some new classesHangbin Liu2019-10-241-0/+16
| | | | | | | | | | | | | Update #533 In this patch I added new classes: cake, cbs, fq_codel, mq, mqprio, multiq, netem, prio, red, sfb, sfq, skbprio, taprio, tbf, ingress, clsact. These classes has Qdisc_class_ops in kernel, but no netlink parameters. So we can testing them by just calling them directly. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add some new qdiscsHangbin Liu2019-10-241-1/+78
| | | | | | | | | | Update #533 In this patch I added new qdiscs cake, etf, pfifo_fast, plug, qfq, rr, skbprio, taprio, atm, drr, blackhole, clsact, ingress, mq. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: fix tcm_info structureHangbin Liu2019-10-241-0/+2
| | | | | | | | | Update #533 Don't know why I didn't add tcm__pad in tcm_info structure at the begining. But let's fix it now. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add chain actionsHangbin Liu2019-10-241-0/+3
| | | | | | | | Update #533 Chain actions also use filter policies, so we can add them easily. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: improve key and net_sch descriptionsDmitry Vyukov2019-05-141-9/+11
| | | | Use the len paths to resolve pending TODOs.
* sys/linux: update TODO commentsDmitry Vyukov2019-01-241-7/+6
| | | | | | Change TODO comments that refer to missing description language features to NEED comments as that it's easier to grep for them. Remove some outdated comments. Fix 2 easy fixable TODOs.
* sys: consistently mark all paddings as const[0]Dmitry Vyukov2018-12-101-6/+6
|
* pkg/compiler: check for unused declarationsDmitry Vyukov2018-06-301-5/+0
| | | | | Error on unused structs/unions/resources/flags. Finds tons of bugs.
* sys/linux: add remaining qdisc/tclass/tfilter/actions for netlink route schedHangbin Liu2018-06-081-19/+739
| | | | | | Update #533 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: add AF_NETLINK/NETLINK_ROUTE SCHED supportHangbin Liu2018-05-081-0/+392
Update #533 As TC(net sched) is a large group, I separate it from socket_netlink_route.txt. Currently I only implement the framework with two qdisc/tclass/filters. I will add the others later. v2: Fix tcm_handle major and minor order. Add tcm_handle_offsets. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>