| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This reduces number of const files/lines from 1288/96599 to 158/11603.
Const files are generated on next-20200813.
Update #1983
|
| |
|
|
| |
https://elixir.bootlin.com/linux/v5.8-rc4/source/net/ipv4/nexthop.c#L1961
|
| |
|
|
|
| |
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/seg6_local.h#L21
https://elixir.bootlin.com/linux/latest/source/net/ipv6/seg6_local.c#L649
|
| |
|
|
|
| |
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/lwtunnel.h#L102
https://elixir.bootlin.com/linux/latest/source/net/core/lwt_bpf.c#L364
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/ipv4/ip_tunnel_core.c#L713
|
| |
|
|
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/ipv6/ila/ila_lwt.c#L121
The comment is about their statement in the kernel file:
https://elixir.bootlin.com/linux/latest/source/net/ipv6/ila/ila_lwt.c#L196
|
| |
|
|
|
|
|
|
|
| |
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/lwtunnel.h#L102
https://elixir.bootlin.com/linux/latest/source/net/ipv4/ip_tunnel_core.c#L219
The policies added have a suffix (_lwt), because they already exist in syzkaller
with the kernel name. An example of a union with the same name described in
sys/linux/socket_netlink_route_sched.txt:
https://elixir.bootlin.com/linux/latest/source/net/sched/cls_flower.c#L709
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/mpls/mpls_iptunnel.c#L25
|
| |
|
|
|
| |
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/rpl.h#L19
update google#533
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/bridge/br_mdb.c#L837
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/bridge/br_vlan.c#L2045
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/ipv6/addrlabel.c#L625
|
| |
|
|
| |
https://elixir.bootlin.com/linux/latest/source/net/core/rtnetlink.c#L5565
|
| | |
|
| |
|
|
| |
Update #590
|
| |
|
|
| |
Update #590
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
| | |
|
| |
|
|
| |
+ some netlink descriptions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel get mpls lable like
```
unsigned entry = be32_to_cpu(hdr->label_stack_entry);
result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT;
```
So we just need to store the label in big endian order.
For mpls rta types, kernel accpet only one lable for RTA_DST and
multi labels for RTA_NEWDST.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Add interface specified policies for IFLA_LINKINFO. I only added the
interfaces we create in initial setup. Remain other types of interfaces
in the TODO list.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
|
| |
|
|
| |
Only mount for now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fix RTA_MULTIPATH data type. We only need struct rtnexthop,
no need to use array type.
v1 -> v2:
Use uid and sock_port instead of int32/16. Use flags for FRA_PROTOCOL
and FRA_IP_PROTO.
Add type fib_rule_hdr because even though the structure is same with rtmsg.
The table, action and flags values are not same.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
|
| |
|
|
|
|
|
|
| |
Update RTM_GETSTATS PAYLOAD format.
Also fix ipv4_getroute and ipmr_getroute PAYLOAD format.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
|
| | |
|
| | |
|
| |
|