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>
Showing
- include/net/sch_generic.h 1 addition, 0 deletionsinclude/net/sch_generic.h
- include/uapi/linux/rtnetlink.h 7 additions, 0 deletionsinclude/uapi/linux/rtnetlink.h
- net/sched/cls_api.c 300 additions, 8 deletionsnet/sched/cls_api.c
- security/selinux/nlmsgtab.c 1 addition, 1 deletionsecurity/selinux/nlmsgtab.c
Loading
Please register or sign in to comment