diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2016-11-03 20:23:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 21:45:23 +0300 |
commit | 622ec2c9d52405973c9f1ca5116eb1c393adfc7d (patch) | |
tree | a3de4c86ceba4dca3217e0207adc76daa9d8eaf9 /include/uapi/linux/rtnetlink.h | |
parent | 86741ec25462e4c8cdce6df2f41ead05568c7d5e (diff) | |
download | linux-622ec2c9d52405973c9f1ca5116eb1c393adfc7d.tar.xz |
net: core: add UID to flows, rules, and routes
- Define a new FIB rule attributes, FRA_UID_RANGE, to describe a
range of UIDs.
- Define a RTA_UID attribute for per-UID route lookups and dumps.
- Support passing these attributes to and from userspace via
rtnetlink. The value INVALID_UID indicates no UID was
specified.
- Add a UID field to the flow structures.
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
-rw-r--r-- | include/uapi/linux/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 5a78be518101..e14377f2ec27 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -318,6 +318,7 @@ enum rtattr_type_t { RTA_ENCAP, RTA_EXPIRES, RTA_PAD, + RTA_UID, __RTA_MAX }; |