diff options
| author | Jamal Hadi Salim <hadi@znyx.com> | 2004-06-15 06:37:41 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-06-15 06:37:41 -0700 |
| commit | 4e54c4816bfe51c145382d272b19c2ae41e9e36f (patch) | |
| tree | b339b5972390a72c296ef6bdab04f58a93cf1191 /include/linux/skbuff.h | |
| parent | 71279d2bf78ec4f7026531e85b36c1d3d7fcb4c2 (diff) | |
[NET]: Add tc extensions infrastructure.
Signed-off-by: Jamal Hadi Salim <hadi@znyx.com>
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include/linux/skbuff.h')
| -rw-r--r-- | include/linux/skbuff.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 7bf6501a9024..dcadb7781b9d 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -155,6 +155,7 @@ struct skb_shared_info { * @sk: Socket we are owned by * @stamp: Time we arrived * @dev: Device we arrived on/are leaving by + * @input_dev: Device we arrived on * @real_dev: The real device we are using * @h: Transport layer header * @nh: Network layer header @@ -197,6 +198,7 @@ struct sk_buff { struct sock *sk; struct timeval stamp; struct net_device *dev; + struct net_device *input_dev; struct net_device *real_dev; union { @@ -262,9 +264,15 @@ struct sk_buff { } private; #endif #ifdef CONFIG_NET_SCHED - __u32 tc_index; /* traffic control index */ + __u32 tc_index; /* traffic control index */ +#ifdef CONFIG_NET_CLS_ACT + __u32 tc_verd; /* traffic control verdict */ + __u32 tc_classid; /* traffic control classid */ + #endif + #endif + /* These elements must be at the end, see alloc_skb() for details. */ unsigned int truesize; atomic_t users; |
