Home | History | Annotate | Download | only in linux
      1 #ifndef __LINUX_SHAPER_H
      2 #define __LINUX_SHAPER_H
      3 
      4 
      5 #define SHAPER_SET_DEV		0x0001
      6 #define SHAPER_SET_SPEED	0x0002
      7 #define SHAPER_GET_DEV		0x0003
      8 #define SHAPER_GET_SPEED	0x0004
      9 
     10 struct shaperconf
     11 {
     12 	__u16	ss_cmd;
     13 	union
     14 	{
     15 		char 	ssu_name[14];
     16 		__u32	ssu_speed;
     17 	} ss_u;
     18 #define ss_speed ss_u.ssu_speed
     19 #define ss_name ss_u.ssu_name
     20 };
     21 
     22 #endif
     23