diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-11-05 15:14:27 -0500 |
---|---|---|
committer | Thomas Graf <tgr@axs.localdomain> | 2005-11-05 16:02:29 -0500 |
commit | b38c7eef7e536d12051cc3d5864032f2f907cdfe (patch) | |
tree | fcf0b38267b9f5cb77f98ffdbc3dc16b31a0908a /include/linux/pkt_sched.h | |
parent | d8f64e19605d6ce40bc560e7bc919e2e02a79c1b (diff) |
[PKT_SCHED]: GRED: Support ECN marking
Adds a new u8 flags in a unused padding area of the netlink
message. Adds ECN marking support to be used instead of dropping
packets immediately.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include/linux/pkt_sched.h')
-rw-r--r-- | include/linux/pkt_sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index d053add3dca7..0ebe320223e2 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h | |||
@@ -220,8 +220,8 @@ struct tc_gred_sopt | |||
220 | __u32 DPs; | 220 | __u32 DPs; |
221 | __u32 def_DP; | 221 | __u32 def_DP; |
222 | __u8 grio; | 222 | __u8 grio; |
223 | __u8 pad1; | 223 | __u8 flags; |
224 | __u16 pad2; | 224 | __u16 pad1; |
225 | }; | 225 | }; |
226 | 226 | ||
227 | /* HTB section */ | 227 | /* HTB section */ |