you may use a construct like this:

field mpls_hdr = raw if meta_protocol == ETH_P_MPLS; /* or whatever */
field ip_hdr = mpls_hrd[4]; /* skip shim header */

...
    do_whatever if ip_dscp == some_value;
...

well , would you please tell me where should i
add these ?

thanks :)

folke.

_________________________________________________________________
Get a speedy connection with MSN Broadband.� Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to