From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rani Ahmed Date: Thu, 02 Feb 2006 07:33:51 +0000 Subject: [LARTC] A question in tcng Message-Id: <43E1B5DF.7070302@idm.net.lb> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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