aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-01-08 14:52:57 +0100
committerValentin Rothberg <rothberg@redhat.com>2019-01-11 13:38:11 +0100
commitbd40dcfc2bc7c9014ea1f33482fb63aacbcdfe87 (patch)
tree5f06e4e289f16d9164d692590a3fe6541b5384cf /vendor/github.com/vishvananda/netlink/nl/tc_linux.go
parent545f24421247c9f6251a634764db3f8f8070a812 (diff)
downloadpodman-bd40dcfc2bc7c9014ea1f33482fb63aacbcdfe87.tar.gz
podman-bd40dcfc2bc7c9014ea1f33482fb63aacbcdfe87.tar.bz2
podman-bd40dcfc2bc7c9014ea1f33482fb63aacbcdfe87.zip
vendor: update everything
* If possible, update each dependency to the latest available version. * Use releases over commit IDs and avoid vendoring branches. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/vishvananda/netlink/nl/tc_linux.go')
-rw-r--r--vendor/github.com/vishvananda/netlink/nl/tc_linux.go35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/github.com/vishvananda/netlink/nl/tc_linux.go b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
index e91fb21c5..94ebc290a 100644
--- a/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
+++ b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
@@ -673,3 +673,38 @@ const (
TCA_FW_MASK
TCA_FW_MAX = TCA_FW_MASK
)
+
+const (
+ TCA_MATCHALL_UNSPEC = iota
+ TCA_MATCHALL_CLASSID
+ TCA_MATCHALL_ACT
+ TCA_MATCHALL_FLAGS
+)
+
+const (
+ TCA_FQ_UNSPEC = iota
+ TCA_FQ_PLIMIT // limit of total number of packets in queue
+ TCA_FQ_FLOW_PLIMIT // limit of packets per flow
+ TCA_FQ_QUANTUM // RR quantum
+ TCA_FQ_INITIAL_QUANTUM // RR quantum for new flow
+ TCA_FQ_RATE_ENABLE // enable/disable rate limiting
+ TCA_FQ_FLOW_DEFAULT_RATE // obsolete do not use
+ TCA_FQ_FLOW_MAX_RATE // per flow max rate
+ TCA_FQ_BUCKETS_LOG // log2(number of buckets)
+ TCA_FQ_FLOW_REFILL_DELAY // flow credit refill delay in usec
+ TCA_FQ_ORPHAN_MASK // mask applied to orphaned skb hashes
+ TCA_FQ_LOW_RATE_THRESHOLD // per packet delay under this rate
+)
+
+const (
+ TCA_FQ_CODEL_UNSPEC = iota
+ TCA_FQ_CODEL_TARGET
+ TCA_FQ_CODEL_LIMIT
+ TCA_FQ_CODEL_INTERVAL
+ TCA_FQ_CODEL_ECN
+ TCA_FQ_CODEL_FLOWS
+ TCA_FQ_CODEL_QUANTUM
+ TCA_FQ_CODEL_CE_THRESHOLD
+ TCA_FQ_CODEL_DROP_BATCH_SIZE
+ TCA_FQ_CODEL_MEMORY_LIMIT
+)