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
52d5ac3f
Commit
52d5ac3f
authored
Jul 05, 2005
by
shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build issues
parent
c515871c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
ChangeLog
ChangeLog
+4
-0
Makefile
Makefile
+8
-1
misc/ss.c
misc/ss.c
+2
-1
tc/Makefile
tc/Makefile
+1
-1
No files found.
ChangeLog
View file @
52d5ac3f
2005-07-05 Thomas Graf <tgraf@suug.ch>
* Build check for GNU Bison
2005-06-23 Jamal Hadi Salim <hadi@znyx.com>
2005-06-23 Jamal Hadi Salim <hadi@znyx.com>
* Fix for options process with ipt
* Fix for options process with ipt
...
...
Makefile
View file @
52d5ac3f
...
@@ -31,10 +31,17 @@ SUBDIRS=lib ip tc misc netem
...
@@ -31,10 +31,17 @@ SUBDIRS=lib ip tc misc netem
LIBNETLINK
=
../lib/libnetlink.a ../lib/libutil.a
LIBNETLINK
=
../lib/libnetlink.a ../lib/libutil.a
all
:
Config
all
:
flex_check
Config
@
for
i
in
$(SUBDIRS)
;
\
@
for
i
in
$(SUBDIRS)
;
\
do
$(MAKE)
$(MFLAGS)
-C
$$
i
;
done
do
$(MAKE)
$(MFLAGS)
-C
$$
i
;
done
flex_check
:
@
if
[
-z
"
`
flex
-h
|
grep
'^Usage: flex '
`
"
]
;
then
\
echo
"GNU flex required, please install it."
;
\
echo
" see http://lex.sourceforge.net"
;
\
exit
1
;
\
fi
Config
:
Config
:
sh configure
$(KERNEL_INCLUDE)
sh configure
$(KERNEL_INCLUDE)
...
...
misc/ss.c
View file @
52d5ac3f
...
@@ -1338,6 +1338,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct tcpdiagmsg *r)
...
@@ -1338,6 +1338,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct tcpdiagmsg *r)
if
(
info
->
tcpi_options
&
TCPI_OPT_ECN
)
if
(
info
->
tcpi_options
&
TCPI_OPT_ECN
)
printf
(
" ecn"
);
printf
(
" ecn"
);
}
}
if
(
tb
[
TCPDIAG_CONG
])
if
(
tb
[
TCPDIAG_CONG
])
printf
(
"%s"
,
(
char
*
)
RTA_DATA
(
tb
[
TCPDIAG_CONG
]));
printf
(
"%s"
,
(
char
*
)
RTA_DATA
(
tb
[
TCPDIAG_CONG
]));
...
@@ -1355,7 +1356,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct tcpdiagmsg *r)
...
@@ -1355,7 +1356,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct tcpdiagmsg *r)
printf
(
" cwnd:%d"
,
info
->
tcpi_snd_cwnd
);
printf
(
" cwnd:%d"
,
info
->
tcpi_snd_cwnd
);
if
(
info
->
tcpi_snd_ssthresh
<
0xFFFF
)
if
(
info
->
tcpi_snd_ssthresh
<
0xFFFF
)
printf
(
" ssthresh:%d"
,
info
->
tcpi_snd_ssthresh
);
printf
(
" ssthresh:%d"
,
info
->
tcpi_snd_ssthresh
);
rtt
=
(
double
)
info
->
tcpi_rtt
;
rtt
=
(
double
)
info
->
tcpi_rtt
;
if
(
tb
[
TCPDIAG_VEGASINFO
])
{
if
(
tb
[
TCPDIAG_VEGASINFO
])
{
const
struct
tcpvegas_info
*
vinfo
const
struct
tcpvegas_info
*
vinfo
...
...
tc/Makefile
View file @
52d5ac3f
...
@@ -86,4 +86,4 @@ q_atm.so: q_atm.c
...
@@ -86,4 +86,4 @@ q_atm.so: q_atm.c
$(YACC)
$(YACCFLAGS)
-o
$@
$<
$(YACC)
$(YACCFLAGS)
-o
$@
$<
%.lex.c
:
%.l
%.lex.c
:
%.l
$(LEX)
$(LEXFLAGS)
-o
$@
$<
$(LEX)
$(LEXFLAGS)
-o
$@
$<
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