~ubuntu-branches/ubuntu/hardy/iproute/hardy-proposed

« back to all changes in this revision

Viewing changes to tc/tc_util.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-07-06 10:23:46 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060706102346-tyd1mfjvay0nmz90
Tags: 20051007-4ubuntu1
* Merge from debian unstable, remaining changes:
  - versioned dependency on linux-kernel-headers,
  - MAX_ROUNDS patch to ip/ipaddress.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#define MAX_MSG 16384
5
5
#include <linux/pkt_sched.h>
6
6
#include <linux/pkt_cls.h>
 
7
#include <linux/gen_stats.h>
7
8
#include "tc_core.h"
8
9
 
9
10
struct qdisc_util
58
59
extern char * sprint_usecs(__u32 usecs, char *buf);
59
60
extern char * sprint_percent(__u32 percent, char *buf);
60
61
 
61
 
extern void print_tcstats_attr(FILE *fp, const struct rtattr *ts);
 
62
extern void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats);
 
63
extern void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats);
62
64
 
63
65
extern int get_tc_classid(__u32 *h, const char *str);
64
66
extern int print_tc_classid(char *buf, int len, __u32 h);