Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] A question in  tcng
@ 2006-02-02  7:33 Rani Ahmed
  0 siblings, 0 replies; only message in thread
From: Rani Ahmed @ 2006-02-02  7:33 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-02  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02  7:33 [LARTC] A question in tcng Rani Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox