|
Last change
on this file was
2,
checked in by jglee, 11 years ago
|
|
first commit
|
-
Property svn:executable set to
*
|
|
File size:
370 bytes
|
| Line | |
|---|
| 1 | #ifndef __LINUX_SHAPER_H |
|---|
| 2 | #define __LINUX_SHAPER_H |
|---|
| 3 | |
|---|
| 4 | #include <asm/types.h> |
|---|
| 5 | |
|---|
| 6 | #define SHAPER_SET_DEV 0x0001 |
|---|
| 7 | #define SHAPER_SET_SPEED 0x0002 |
|---|
| 8 | #define SHAPER_GET_DEV 0x0003 |
|---|
| 9 | #define SHAPER_GET_SPEED 0x0004 |
|---|
| 10 | |
|---|
| 11 | struct shaperconf |
|---|
| 12 | { |
|---|
| 13 | __u16 ss_cmd; |
|---|
| 14 | union |
|---|
| 15 | { |
|---|
| 16 | char ssu_name[14]; |
|---|
| 17 | __u32 ssu_speed; |
|---|
| 18 | } ss_u; |
|---|
| 19 | #define ss_speed ss_u.ssu_speed |
|---|
| 20 | #define ss_name ss_u.ssu_name |
|---|
| 21 | }; |
|---|
| 22 | |
|---|
| 23 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.