Add the NLM_F_BULK flag, which marks a delete request as a bulk delete, to the netlink flags known to the YNL Python library. It has the same value as NLM_F_ACK_TLVS, but that one is only used in replies, whereas NLM_F_BULK is only used in requests. Signed-off-by: Petr Machata Reviewed-by: Nikolay Aleksandrov Acked-by: Przemek Kitszel --- CC: Donald Hunter tools/net/ynl/pyynl/lib/ynl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/net/ynl/pyynl/lib/ynl.py b/tools/net/ynl/pyynl/lib/ynl.py index fb5acb8acded..0e9bcd0f2599 100644 --- a/tools/net/ynl/pyynl/lib/ynl.py +++ b/tools/net/ynl/pyynl/lib/ynl.py @@ -61,6 +61,8 @@ class Netlink: NLM_F_CREATE = 0x400 NLM_F_APPEND = 0x800 + NLM_F_BULK = 0x200 + NLM_F_CAPPED = 0x100 NLM_F_ACK_TLVS = 0x200 -- 2.56.1