Auto merged

2004/08/11 14:27:34-07:00 osdl.net!shemminger
Increase size of netlink buffer.

(Logical change 1.71)
This commit is contained in:
osdl.net!shemminger 2004-08-23 20:21:21 +00:00
parent a2218e8eb7
commit f307c24e2f
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,6 @@
#define TCA_BUF_MAX (64*1024)
extern int do_qdisc(int argc, char **argv);
extern int do_class(int argc, char **argv);
extern int do_filter(int argc, char **argv);

View File

@ -44,15 +44,15 @@ static void usage(void)
int tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv)
{
struct rtnl_handle rth;
struct {
struct nlmsghdr n;
struct tcmsg t;
char buf[4096];
} req;
struct qdisc_util *q = NULL;
struct tc_estimator est;
char d[16];
char k[16];
struct {
struct nlmsghdr n;
struct tcmsg t;
char buf[TCA_BUF_MAX];
} req;
memset(&req, 0, sizeof(req));
memset(&est, 0, sizeof(est));