include/linux/pkt_sched.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
     1 #ifndef __LINUX_PKT_SCHED_H
     1 #ifndef __LINUX_PKT_SCHED_H
     2 #define __LINUX_PKT_SCHED_H
     2 #define __LINUX_PKT_SCHED_H
       
     3 
       
     4 #include <linux/types.h>
     3 
     5 
     4 /* Logical priority bands not depending on specific packet scheduler.
     6 /* Logical priority bands not depending on specific packet scheduler.
     5    Every scheduler will map them to real traffic classes, if it has
     7    Every scheduler will map them to real traffic classes, if it has
     6    no more precise mechanism to classify packets.
     8    no more precise mechanism to classify packets.
     7 
     9 
   498 	__u32	correlation;
   500 	__u32	correlation;
   499 };
   501 };
   500 
   502 
   501 #define NETEM_DIST_SCALE	8192
   503 #define NETEM_DIST_SCALE	8192
   502 
   504 
       
   505 /* DRR */
       
   506 
       
   507 enum
       
   508 {
       
   509 	TCA_DRR_UNSPEC,
       
   510 	TCA_DRR_QUANTUM,
       
   511 	__TCA_DRR_MAX
       
   512 };
       
   513 
       
   514 #define TCA_DRR_MAX	(__TCA_DRR_MAX - 1)
       
   515 
       
   516 struct tc_drr_stats
       
   517 {
       
   518 	__u32	deficit;
       
   519 };
       
   520 
   503 #endif
   521 #endif