[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>
This commit is contained in:
Thomas Graf 2005-11-05 21:14:27 +01:00 committed by Thomas Graf
parent d8f64e1960
commit b38c7eef7e
2 changed files with 23 additions and 6 deletions

View file

@ -220,8 +220,8 @@ struct tc_gred_sopt
__u32 DPs;
__u32 def_DP;
__u8 grio;
__u8 pad1;
__u16 pad2;
__u8 flags;
__u16 pad1;
};
/* HTB section */