From 2722f6ea29a96e156763baeee0973554ac43c568 Mon Sep 17 00:00:00 2001 From: initramfs Date: Sat, 17 Sep 2022 15:09:47 +0800 Subject: qos: T4688: add xml template for limiter actions --- .../include/qos/limiter-actions.xml.i | 66 ++++++++++++++++++++++ interface-definitions/qos.xml.in | 2 + 2 files changed, 68 insertions(+) create mode 100644 interface-definitions/include/qos/limiter-actions.xml.i diff --git a/interface-definitions/include/qos/limiter-actions.xml.i b/interface-definitions/include/qos/limiter-actions.xml.i new file mode 100644 index 000000000..a993423aa --- /dev/null +++ b/interface-definitions/include/qos/limiter-actions.xml.i @@ -0,0 +1,66 @@ + + + + Default action for packets exceeding the limiter (default: drop) + + continue drop ok reclassify pipe + + + continue + Don't do anything, just continue with the next action in line + + + drop + Drop the packet immediately + + + ok + Accept the packet + + + reclassify + Treat the packet as non-matching to the filter this action is attached to and continue with the next filter in line (if any) + + + pipe + Pass the packet to the next action in line + + + (continue|drop|ok|reclassify|pipe) + + + drop + + + + Default action for packets not exceeding the limiter (default: ok) + + continue drop ok reclassify pipe + + + continue + Don't do anything, just continue with the next action in line + + + drop + Drop the packet immediately + + + ok + Accept the packet + + + reclassify + Treat the packet as non-matching to the filter this action is attached to and continue with the next filter in line (if any) + + + pipe + Pass the packet to the next action in line + + + (continue|drop|ok|reclassify|pipe) + + + ok + + diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index e8f575a1e..e2dbcbeef 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -188,6 +188,7 @@ #include #include #include + #include Priority for rule evaluation @@ -211,6 +212,7 @@ #include #include + #include #include -- cgit v1.2.3