From: "Folke Aeon" <aeon_folke@hotmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] can anyone help me to solve this problem?
Date: Sat, 26 Oct 2002 13:57:27 +0000 [thread overview]
Message-ID: <marc-lartc-103564072309735@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103555834517971@msgid-missing>
hi , Werner :)
i do the following modification to the net/sched/sch_ingress.c
ingress_enqueue() function , i simply add the following lines
after the line 169: skb->tc_index = TC_H_MIN(res.classid);
if (skb->tc_index > 0xf || skb->tc_index = 0) {
switch (skb->protocol) {
case __constant_htons(ETH_P_IP):
ipv4_change_dsfield(skb->nh.iph,
0x3,skb->tc_index);
break;
case __constant_htons(ETH_P_IPV6):
ipv6_change_dsfield(skb->nh.ipv6h,
0x3,skb->tc_index);
break;
default:
break;
};
};
it works currently, but wonder whether there will be
any negative influence or not. would you please give
some comment on this ?
again , thanks for your precious time.
another thing, i noticed that since the dsmark dequeue
function does not support mpls protocol, so when a mpls
packet arrives, it complains "unsupported protocol".
Although the tcindex value is still there, it just cannot
use it . i think this is where the problem lies in.
folke.
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-10-26 13:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 15:04 [LARTC] can anyone help me to solve this problem? Folke Aeon
2002-10-25 17:39 ` Werner Almesberger
2002-10-26 1:39 ` Folke Aeon
2002-10-26 2:27 ` Folke Aeon
2002-10-26 2:37 ` Werner Almesberger
2002-10-26 3:34 ` Werner Almesberger
2002-10-26 4:05 ` Folke Aeon
2002-10-26 13:57 ` Folke Aeon [this message]
2002-10-26 16:37 ` Werner Almesberger
2002-10-26 16:49 ` Werner Almesberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103564072309735@msgid-missing \
--to=aeon_folke@hotmail.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.