diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2018-07-23 03:23:06 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-23 23:44:12 -0400 |
| commit | 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e (patch) | |
| tree | b6d291d08192b09e78cd72791b53b53e3852af65 /include/uapi/linux | |
| parent | f71e0ca4db187af7c44987e9d21e9042c3046070 (diff) | |
net: sched: introduce chain object to uapi
Allow user to create, destroy, get and dump chain objects. Do that by
extending rtnl commands by the chain-specific ones. User will now be
able to explicitly create or destroy chains (so far this was done only
automatically according the filter/act needs and refcounting). Also, the
user will receive notification about any chain creation or destuction.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/rtnetlink.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 7d8502313c99..46399367627f 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h | |||
| @@ -150,6 +150,13 @@ enum { | |||
| 150 | RTM_NEWCACHEREPORT = 96, | 150 | RTM_NEWCACHEREPORT = 96, |
| 151 | #define RTM_NEWCACHEREPORT RTM_NEWCACHEREPORT | 151 | #define RTM_NEWCACHEREPORT RTM_NEWCACHEREPORT |
| 152 | 152 | ||
| 153 | RTM_NEWCHAIN = 100, | ||
| 154 | #define RTM_NEWCHAIN RTM_NEWCHAIN | ||
| 155 | RTM_DELCHAIN, | ||
| 156 | #define RTM_DELCHAIN RTM_DELCHAIN | ||
| 157 | RTM_GETCHAIN, | ||
| 158 | #define RTM_GETCHAIN RTM_GETCHAIN | ||
| 159 | |||
| 153 | __RTM_MAX, | 160 | __RTM_MAX, |
| 154 | #define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1) | 161 | #define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1) |
| 155 | }; | 162 | }; |
