Displaying 3 results from an estimated 3 matches for "lan_ingress".
Did you mean:
lan_egress
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
...; >
> > > cheers
> > >
> > > charles
> > >
> > >
> > > /*
> > > * tc next generation script by
> > > * charles shick
> > > */
> > >
> > > #define LAN "eth0"
> > > #define LAN_INGRESS 700000
> > > #define LAN_EGRESS 700000
> > >
> > > dev LAN {
> > >
> > > # ingress {
> > > # $policer = SLB( cir LAN_INGRESS kbps );
> > > # class ( <> ) if SLB_ok( $policer );
> > > # drop if 1...
2004 Oct 04
0
building module with tcng
...odule from my tcng configuration file.
could someone verify the syntax for building a kernel module?
i did it as shown below ... module gets built but i cannot load it.
thanks
charles
ps -- sorry, don''t know c++ :-)
[root]# cat /etc/tcng.test
#define LAN "eth0"
#define LAN_INGRESS 750000
#define LAN_EGRESS 750000
dev LAN {
egress {
class ( <$adsl_high> ) if 1;
htb ( ) { class ( rate LAN_EGRESS kbps, ceil LAN_EGRESS kbps ) {
$adsl_high = class ( prio 1, rate LAN_EGRESS kbps, burst
6kB, ceil LAN_EGRESS kbps )
{ sfq...