Re: IPv6 priority in TC filter

2006-01-05 Thread jamal
On Thu, 2006-05-01 at 16:39 -0800, David S. Miller wrote: > From: Devanshu Mehta <[EMAIL PROTECTED]> > Date: Tue, 03 Jan 2006 13:58:09 -0500 > > > From f_u32.c: > > > >if (strcmp(*argv, "priority") == 0) { > >NEXT_ARG(); > >res = parse_u8(&argc, &argv, sel,

Re: IPv6 priority in TC filter

2006-01-05 Thread David S. Miller
From: Devanshu Mehta <[EMAIL PROTECTED]> Date: Tue, 03 Jan 2006 13:58:09 -0500 > From f_u32.c: > >if (strcmp(*argv, "priority") == 0) { >NEXT_ARG(); >res = parse_u8(&argc, &argv, sel, 0, 0); >goto done; >} ... > I believe, the code

IPv6 priority in TC filter

2006-01-03 Thread Devanshu Mehta
Hi, I have recently started to use 'tc' on ipv6 traffic and have come across an issue with tc filter. As per tc_filter.c in iproute2-050816, to match 'priority' of an ipv6 packet, the u32 filter matches against the first 8 bits of the packet. From f_u32.c: if (strcmp(*argv, "priority")