All of lore.kernel.org
 help / color / mirror / Atom feed
* Subject: [LARTC] [tcng] X:Y to tcng corespondence !
@ 2003-03-16 21:32 Jacob Teplitsky
  0 siblings, 0 replies; only message in thread
From: Jacob Teplitsky @ 2003-03-16 21:32 UTC (permalink / raw)
  To: lartc

> Message: 8
> Date: Fri, 14 Mar 2003 21:49:49 +0200
> From: raptor <raptor@tvskat.net>
> To: lartc@mailman.ds9a.nl
> Subject: [LARTC] [tcng] X:Y to tcng corespondence !
> 
> Is there a easy way that I to get class-id<----->tcng-class-path conversation.... and vs. versa..
> 
> --__--__--

There are couple files can be created by tcc:
# cat a.tc
dev "s0e0" {
    egress {
        drop if ip_proto = 30;
        class (<>)
            if 1;
    }
}
dev "s1e0" {
    egress {
        drop if vlan_id = 0;
        class (<>)
            if 1;
    }
}
# cat tcc_map 
device s0e0 - a.tc 1
qdisc s0e0:1 - a.tc 2
class s0e0:1:0 - a.tc 4
qdisc s0e0:2 - a.tc 2
filter s0e0:1::1 - a.tc 2
element s0e0:1::1:0 - a.tc 3
element s0e0:1::1:1 - a.tc 5
device s1e0 - a.tc 8
qdisc s1e0:1 - a.tc 9
class s1e0:1:0 - a.tc 11
qdisc s1e0:2 - a.tc 9
filter s1e0:1::1 - a.tc 9
element s1e0:1::1:0 - a.tc 10
element s1e0:1::1:1 - a.tc 12
# cat var_file 
{ device s0e0
{ qdisc s0e0:1
}
}
{ device s1e0
{ qdisc s1e0:1
}
}


- Jacob
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

only message in thread, other threads:[~2003-03-16 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-16 21:32 Subject: [LARTC] [tcng] X:Y to tcng corespondence ! Jacob Teplitsky

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.