search for: parse_u8

Displaying 1 result from an estimated 1 matches for "parse_u8".

Did you mean: parse_at
2005 Dec 20
1
IPv6 priority in tc filter
...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") == 0) { NEXT_ARG(); res = parse_u8(&argc, &argv, sel, 0, 0); goto done; } According to RFC2460 for IPv6 (http://www.ietf.org/rfc/rfc2460.txt), the first 4 bits of the packet are the version number and the subsequent 8 bits are the traffic class. Shouldn''t the u32 filter be matching against...