Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
f2f99e2e
Commit
f2f99e2e
authored
Aug 31, 2004
by
osdl.net!shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no longer need xstats stub
(Logical change 1.77)
parent
3d327bf5
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
62 additions
and
158 deletions
+62
-158
tc/m_gact.c
tc/m_gact.c
+0
-7
tc/m_police.c
tc/m_police.c
+1
-9
tc/q_atm.c
tc/q_atm.c
+5
-14
tc/q_cbq.c
tc/q_cbq.c
+6
-8
tc/q_dsmark.c
tc/q_dsmark.c
+5
-14
tc/q_fifo.c
tc/q_fifo.c
+8
-20
tc/q_gred.c
tc/q_gred.c
+3
-12
tc/q_hfsc.c
tc/q_hfsc.c
+6
-7
tc/q_htb.c
tc/q_htb.c
+12
-14
tc/q_ingress.c
tc/q_ingress.c
+3
-10
tc/q_netem.c
tc/q_netem.c
+0
-6
tc/q_prio.c
tc/q_prio.c
+3
-11
tc/q_red.c
tc/q_red.c
+4
-5
tc/q_sfq.c
tc/q_sfq.c
+3
-11
tc/q_tbf.c
tc/q_tbf.c
+3
-10
No files found.
tc/m_gact.c
View file @
f2f99e2e
...
...
@@ -239,15 +239,8 @@ print_gact(struct action_util *au,FILE * f, struct rtattr *arg)
return
0
;
}
int
gact_print_xstats
(
struct
action_util
*
au
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
action_util
gact_util
=
{
.
id
=
"gact"
,
.
parse_aopt
=
parse_gact
,
.
print_aopt
=
print_gact
,
.
print_xstats
=
gact_print_xstats
,
};
tc/m_police.c
View file @
f2f99e2e
...
...
@@ -30,7 +30,6 @@ struct action_util police_util = {
.
id
=
"police"
,
.
parse_aopt
=
act_parse_police
,
.
print_aopt
=
print_police
,
.
print_xstats
=
police_print_xstats
,
};
static
void
explain
(
void
)
...
...
@@ -309,7 +308,7 @@ int parse_police(int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n)
}
int
print_police
(
struct
action_util
*
a
,
FILE
*
f
,
struct
rtattr
*
arg
)
print_police
(
struct
action_util
*
a
,
FILE
*
f
,
struct
rtattr
*
arg
)
{
SPRINT_BUF
(
b1
);
struct
tc_police
*
p
;
...
...
@@ -359,10 +358,3 @@ int
tc_print_police
(
FILE
*
f
,
struct
rtattr
*
arg
)
{
return
print_police
(
&
police_util
,
f
,
arg
);
}
int
police_print_xstats
(
struct
action_util
*
au
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
tc/q_atm.c
View file @
f2f99e2e
...
...
@@ -250,19 +250,10 @@ static int atm_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
}
static
int
atm_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
atm_util
=
{
NULL
,
"atm"
,
atm_parse_opt
,
atm_print_opt
,
atm_print_xstats
,
atm_parse_class_opt
,
atm_print_opt
.
id
=
"atm"
,
.
parse_qopt
=
atm_parse_opt
,
.
print_qopt
=
atm_print_opt
,
.
parse_copt
=
atm_parse_class_opt
,
.
print_copt
=
atm_print_opt
,
};
tc/q_cbq.c
View file @
f2f99e2e
...
...
@@ -543,13 +543,11 @@ static int cbq_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstat
}
struct
qdisc_util
cbq_util
=
{
NULL
,
"cbq"
,
cbq_parse_opt
,
cbq_print_opt
,
cbq_print_xstats
,
cbq_parse_class_opt
,
cbq_print_opt
,
.
id
=
"cbq"
,
.
parse_qopt
=
cbq_parse_opt
,
.
print_qopt
=
cbq_print_opt
,
.
print_xstats
=
cbq_print_xstats
,
.
parse_copt
=
cbq_parse_class_opt
,
.
print_copt
=
cbq_print_opt
,
};
tc/q_dsmark.c
View file @
f2f99e2e
...
...
@@ -168,19 +168,10 @@ static int dsmark_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
}
static
int
dsmark_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
dsmark_util
=
{
NULL
,
"dsmark"
,
dsmark_parse_opt
,
dsmark_print_opt
,
dsmark_print_xstats
,
dsmark_parse_class_opt
,
dsmark_print_opt
.
id
=
"dsmark"
,
.
parse_qopt
=
dsmark_parse_opt
,
.
print_qopt
=
dsmark_print_opt
,
.
parse_copt
=
dsmark_parse_class_opt
,
.
print_copt
=
dsmark_print_opt
,
};
tc/q_fifo.c
View file @
f2f99e2e
...
...
@@ -78,33 +78,21 @@ static int fifo_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
fifo_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
bfifo_util
=
{
NULL
,
"bfifo"
,
fifo_parse_opt
,
fifo_print_opt
,
fifo_print_xstats
,
.
id
=
"bfifo"
,
.
parse_qopt
=
fifo_parse_opt
,
.
print_qopt
=
fifo_print_opt
,
};
struct
qdisc_util
pfifo_util
=
{
NULL
,
"pfifo"
,
fifo_parse_opt
,
fifo_print_opt
,
fifo_print_xstats
,
.
id
=
"pfifo"
,
.
parse_qopt
=
fifo_parse_opt
,
.
print_qopt
=
fifo_print_opt
,
};
extern
int
prio_print_opt
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
opt
);
struct
qdisc_util
pfifo_fast_util
=
{
NULL
,
"pfifo_fast"
,
NULL
,
prio_print_opt
,
fifo_print_xstats
,
.
id
=
"pfifo_fast"
,
.
print_qopt
=
prio_print_opt
,
};
tc/q_gred.c
View file @
f2f99e2e
...
...
@@ -329,17 +329,8 @@ static int gred_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
gred_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
gred_util
=
{
NULL
,
"gred"
,
gred_parse_opt
,
gred_print_opt
,
gred_print_xstats
,
.
id
=
"gred"
,
.
parse_qopt
=
gred_parse_opt
,
.
print_qopt
=
gred_print_opt
,
};
tc/q_hfsc.c
View file @
f2f99e2e
...
...
@@ -278,13 +278,12 @@ hfsc_print_class_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
}
struct
qdisc_util
hfsc_util
=
{
NULL
,
"hfsc"
,
hfsc_parse_opt
,
hfsc_print_opt
,
hfsc_print_xstats
,
hfsc_parse_class_opt
,
hfsc_print_class_opt
,
.
id
=
"hfsc"
,
.
parse_qopt
=
hfsc_parse_opt
,
.
print_qopt
=
hfsc_print_opt
,
.
print_xstats
=
hfsc_print_xstats
,
.
parse_copt
=
hfsc_parse_class_opt
,
.
print_copt
=
hfsc_print_class_opt
,
};
static
int
...
...
tc/q_htb.c
View file @
f2f99e2e
...
...
@@ -312,22 +312,20 @@ static int htb_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstat
}
struct
qdisc_util
htb_util
=
{
NULL
,
"htb"
,
htb_parse_opt
,
htb_print_opt
,
htb_print_xstats
,
htb_parse_class_opt
,
htb_print_opt
,
.
id
=
"htb"
,
.
parse_qopt
=
htb_parse_opt
,
.
print_qopt
=
htb_print_opt
,
.
print_xstats
=
htb_print_xstats
,
.
parse_copt
=
htb_parse_class_opt
,
.
print_copt
=
htb_print_opt
,
};
/* for testing of old one */
struct
qdisc_util
htb2_util
=
{
NULL
,
"htb2"
,
htb_parse_opt
,
htb_print_opt
,
htb_print_xstats
,
htb_parse_class_opt
,
htb_print_opt
,
.
id
=
"htb2"
,
.
parse_qopt
=
htb_parse_opt
,
.
print_qopt
=
htb_print_opt
,
.
print_xstats
=
htb_print_xstats
,
.
parse_copt
=
htb_parse_class_opt
,
.
print_copt
=
htb_print_opt
,
};
tc/q_ingress.c
View file @
f2f99e2e
...
...
@@ -62,15 +62,8 @@ static int ingress_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
ingress_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
ingress_util
=
{
NULL
,
"ingress"
,
ingress_parse_opt
,
ingress_print_opt
,
ingress_print_xstats
,
.
id
=
"ingress"
,
.
parse_qopt
=
ingress_parse_opt
,
.
print_qopt
=
ingress_print_opt
,
};
tc/q_netem.c
View file @
f2f99e2e
...
...
@@ -285,15 +285,9 @@ static int netem_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
netem_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
netem_util
=
{
.
id
=
"netem"
,
.
parse_qopt
=
netem_parse_opt
,
.
print_qopt
=
netem_print_opt
,
.
print_xstats
=
netem_print_xstats
,
};
tc/q_prio.c
View file @
f2f99e2e
...
...
@@ -111,17 +111,9 @@ int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
prio_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
prio_util
=
{
NULL
,
"prio"
,
prio_parse_opt
,
prio_print_opt
,
prio_print_xstats
,
.
id
=
"prio"
,
.
parse_qopt
=
prio_parse_opt
,
.
print_qopt
=
prio_print_opt
,
};
tc/q_red.c
View file @
f2f99e2e
...
...
@@ -214,9 +214,8 @@ static int red_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstat
struct
qdisc_util
red_util
=
{
NULL
,
"red"
,
red_parse_opt
,
red_print_opt
,
red_print_xstats
,
.
id
=
"red"
,
.
parse_qopt
=
red_parse_opt
,
.
print_qopt
=
red_print_opt
,
.
print_xstats
=
red_print_xstats
,
};
tc/q_sfq.c
View file @
f2f99e2e
...
...
@@ -100,16 +100,8 @@ static int sfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
sfq_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
sfq_util
=
{
NULL
,
"sfq"
,
sfq_parse_opt
,
sfq_print_opt
,
sfq_print_xstats
,
.
id
=
"sfq"
,
.
parse_qopt
=
sfq_parse_opt
,
.
print_qopt
=
sfq_print_opt
,
};
tc/q_tbf.c
View file @
f2f99e2e
...
...
@@ -257,16 +257,9 @@ static int tbf_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return
0
;
}
static
int
tbf_print_xstats
(
struct
qdisc_util
*
qu
,
FILE
*
f
,
struct
rtattr
*
xstats
)
{
return
0
;
}
struct
qdisc_util
tbf_util
=
{
NULL
,
"tbf"
,
tbf_parse_opt
,
tbf_print_opt
,
tbf_print_xstats
,
.
id
=
"tbf"
,
.
parse_qopt
=
tbf_parse_opt
,
.
print_qopt
=
tbf_print_opt
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment