提交 aec745e2 编写于 作者: W Willem de Bruijn 提交者: David S. Miller

net-tc: remove unused tc_verd fields

Remove the last reference to tc_verd's munge and redirect ttl bits.
These fields are no longer used.
Signed-off-by: NWillem de Bruijn <willemb@google.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 29b84f20
...@@ -17,10 +17,6 @@ ...@@ -17,10 +17,6 @@
/* verdict bit breakdown /* verdict bit breakdown
* *
bit 0: when set -> this packet has been munged already
bit 1: when set -> It is ok to munge this packet
bit 2,3,4,5: Reclassify counter - sort of reverse TTL - if exceeded bit 2,3,4,5: Reclassify counter - sort of reverse TTL - if exceeded
assume loop assume loop
...@@ -31,8 +27,6 @@ bit 6,7: Where this packet was last seen ...@@ -31,8 +27,6 @@ bit 6,7: Where this packet was last seen
bit 8: when set --> Request not to classify on ingress. bit 8: when set --> Request not to classify on ingress.
bits 9,10,11: redirect counter - redirect TTL. Loop avoidance
* *
* */ * */
...@@ -56,7 +50,6 @@ bits 9,10,11: redirect counter - redirect TTL. Loop avoidance ...@@ -56,7 +50,6 @@ bits 9,10,11: redirect counter - redirect TTL. Loop avoidance
#define SET_TC_AT(v,n) ((V_TC_AT(n)) | (v & ~M_TC_AT)) #define SET_TC_AT(v,n) ((V_TC_AT(n)) | (v & ~M_TC_AT))
#define MAX_REC_LOOP 4 #define MAX_REC_LOOP 4
#define MAX_RED_LOOP 4
#endif #endif
/* Action attributes */ /* Action attributes */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册