Skip to contentSkip to conversation

A question in tcng

LARTC Rani Ahmed 1 participant 1 message Feb 2, 2006

lore
Share & tools
lore

Rani Ahmed

author
#0 lore 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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc