Back to index

glibc  2.9
Classes | Defines
if_shaper.h File Reference
#include <features.h>
#include <sys/types.h>
#include <net/if.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Classes

struct  shaperconf
union  shaperconf.ss_u

Defines

#define SHAPER_QLEN   10
#define SHAPER_LATENCY   (5 * HZ)
#define SHAPER_MAXSLIP   2
#define SHAPER_BURST   (HZ / 50) /* Good for >128K then */
#define SHAPER_SET_DEV   0x0001
#define SHAPER_SET_SPEED   0x0002
#define SHAPER_GET_DEV   0x0003
#define SHAPER_GET_SPEED   0x0004
#define ss_speed   ss_u.ssu_speed
#define ss_name   ss_u.ssu_name

Class Documentation

struct shaperconf

Definition at line 45 of file if_shaper.h.

Class Members
u_int16_t ss_cmd
union shaperconf ss_u
union shaperconf.ss_u

Definition at line 48 of file if_shaper.h.

Class Members
char ssu_name
u_int32_t ssu_speed

Define Documentation

#define SHAPER_BURST   (HZ / 50) /* Good for >128K then */

Definition at line 38 of file if_shaper.h.

#define SHAPER_GET_DEV   0x0003

Definition at line 42 of file if_shaper.h.

#define SHAPER_GET_SPEED   0x0004

Definition at line 43 of file if_shaper.h.

#define SHAPER_LATENCY   (5 * HZ)

Definition at line 36 of file if_shaper.h.

#define SHAPER_MAXSLIP   2

Definition at line 37 of file if_shaper.h.

#define SHAPER_QLEN   10

Definition at line 29 of file if_shaper.h.

#define SHAPER_SET_DEV   0x0001

Definition at line 40 of file if_shaper.h.

#define SHAPER_SET_SPEED   0x0002

Definition at line 41 of file if_shaper.h.

#define ss_name   ss_u.ssu_name

Definition at line 54 of file if_shaper.h.

#define ss_speed   ss_u.ssu_speed

Definition at line 53 of file if_shaper.h.