diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-09-03 08:18:25 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2013-09-03 08:18:25 -0700 |
commit | efa4dde4c7fe7e0fd4a7172b1222816f419e8cd8 (patch) | |
tree | 88fc2a662d1191c2a642834cfbf88afdfca10dba | |
parent | 1ed509bb522225050edfa1ed7ddc7255e9a18bd5 (diff) |
Update kernel headers to 3.11
Last minute addition to pkt_sched.h
-rw-r--r-- | include/linux/pkt_sched.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index dbd71b0c..09d62b92 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -73,9 +73,17 @@ struct tc_estimator { #define TC_H_ROOT (0xFFFFFFFFU) #define TC_H_INGRESS (0xFFFFFFF1U) +/* Need to corrospond to iproute2 tc/tc_core.h "enum link_layer" */ +enum tc_link_layer { + TC_LINKLAYER_UNAWARE, /* Indicate unaware old iproute2 util */ + TC_LINKLAYER_ETHERNET, + TC_LINKLAYER_ATM, +}; +#define TC_LINKLAYER_MASK 0x0F /* limit use to lower 4 bits */ + struct tc_ratespec { unsigned char cell_log; - unsigned char __reserved; + __u8 linklayer; /* lower 4 bits */ unsigned short overhead; short cell_align; unsigned short mpu; |