From: Rani Ahmed <rani79@idm.net.lb>
To: lartc@vger.kernel.org
Subject: [LARTC] A question in tcng
Date: Thu, 02 Feb 2006 07:33:51 +0000 [thread overview]
Message-ID: <43E1B5DF.7070302@idm.net.lb> (raw)
this my tcng code.
when converting tcng to tc code, i get in the tc code for the (ipproto
"skip") =>(ipproto 57). sure, it's taken from the mapping
/etc/protocols . ipproto is the protocol value.
what kind of "ipproto" integer value should it be to mean (ipproto "any"
) or (ipproto "whatever" ) or (ipproto "don't_care" )? i'll replace the
string value later from my /etc/protocols . however, i think it's zero.
i know i could have not inserted the option (ipproto), but it's
complaining about it.
rsvp is not working as rsvp() (without parameters, i mean). the
documetation says it can be without parameters.
ingress {
// can be also rsvp(ipproto "tcp") or whatever in /etc/protocols
according to requirements
rsvp(ipproto "skip") {
// example on using the on() function
/*
on ( src 192.168.2.1 ,sport 30, dst 192.168.2.1, dport 21)
police(rate 5kBps,burst 5kB) drop ;
*/
class(1)
on ( src 192.168.2.2 , dst 192.168.2.1)
police(rate 5kBps,burst 50kB) drop ; //,mtu 1510B
} // end rsvp
} // end ingress
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
reply other threads:[~2006-02-02 7:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=43E1B5DF.7070302@idm.net.lb \
--to=rani79@idm.net.lb \
--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.