[LARTC] [tcng] classes on several interfaces at once ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is it possible with the tcng-macros or something else to make classes in such a way so that I write them once and set simultaneously classes on many interfaces.. what i mean , something like this :

#define-xx  superClass(a,b,c) .......

then using superClass(x,y,z) should generate :


dev eth0 {
	egress {
		class(rate x){}
	}
}

dev eth1 {
	egress {
		class(rate y){}
	}
}

dev eth2 {
	egress {
		class(rate z){}
	}
}

thanx 
raptor


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux