Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
3875be86
Commit
3875be86
authored
May 16, 2014
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set default value of enable-timestamps to false.
parent
14efd56f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
babeld.man
babeld.man
+3
-9
interface.c
interface.c
+3
-3
No files found.
babeld.man
View file @
3875be86
...
...
@@ -331,15 +331,9 @@ infinity, this can be set to a fairly large value, unless significant
packet loss is expected. The default is four times the hello interval.
.TP
.BR enable\-timestamps " {" true | false }
This specifies whether we should send timestamps with each Hello and
IHU message, in order to compute RTTs. The overhead is about 8 bytes
per message. When set to
.BR false ,
the behaviour on this interface is identical to a non-RTT-aware
babeld. Namely, we are unable to compute RTTs, and our neighbours on
this interface are also unable to compute RTTs to us. The default is
.B true
for all interfaces.
Enable sending timestamps with each Hello and IHU message in order to
compute RTT values. The default is
.BR false .
.TP
.BI rtt\-exponential\-decay " decay"
This specifies the decay factor for the exponential moving average of
...
...
interface.c
View file @
3875be86
...
...
@@ -293,6 +293,9 @@ interface_up(struct interface *ifp, int up)
if
(
IF_CONF
(
ifp
,
faraway
)
==
CONFIG_YES
)
ifp
->
flags
|=
IF_FARAWAY
;
if
(
IF_CONF
(
ifp
,
enable_timestamps
)
==
CONFIG_YES
)
ifp
->
enable_timestamps
=
1
;
if
(
IF_CONF
(
ifp
,
hello_interval
)
>
0
)
ifp
->
hello_interval
=
IF_CONF
(
ifp
,
hello_interval
);
else
if
((
ifp
->
flags
&
IF_WIRED
))
...
...
@@ -305,9 +308,6 @@ interface_up(struct interface *ifp, int up)
IF_CONF
(
ifp
,
update_interval
)
:
ifp
->
hello_interval
*
4
;
ifp
->
enable_timestamps
=
(
IF_CONF
(
ifp
,
enable_timestamps
)
==
CONFIG_NO
)
?
0
:
1
;
ifp
->
rtt_exponential_decay
=
IF_CONF
(
ifp
,
rtt_exponential_decay
)
>
0
?
IF_CONF
(
ifp
,
rtt_exponential_decay
)
:
42
;
...
...
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