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
7edb0112
Commit
7edb0112
authored
Jan 29, 2018
by
Juliusz Chroboczek
Committed by
Juliusz Chroboczek
Oct 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename send_hello_noupdate to send_hello_noihu.
parent
f107b49e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
babeld.c
babeld.c
+2
-2
message.c
message.c
+2
-2
message.h
message.h
+1
-1
No files found.
babeld.c
View file @
7edb0112
...
...
@@ -812,7 +812,7 @@ main(int argc, char **argv)
send_wildcard_retraction
(
ifp
);
/* Make sure that we expire quickly from our neighbours'
association caches. */
send_hello_no
update
(
ifp
,
10
);
send_hello_no
ihu
(
ifp
,
10
);
flushbuf
(
&
ifp
->
buf
);
usleep
(
roughly
(
1000
));
gettime
(
&
now
);
...
...
@@ -822,7 +822,7 @@ main(int argc, char **argv)
continue
;
/* Make sure they got it. */
send_wildcard_retraction
(
ifp
);
send_hello_no
update
(
ifp
,
1
);
send_hello_no
ihu
(
ifp
,
1
);
flushbuf
(
&
ifp
->
buf
);
usleep
(
roughly
(
10000
));
gettime
(
&
now
);
...
...
message.c
View file @
7edb0112
...
...
@@ -1024,7 +1024,7 @@ send_ack(struct neighbour *neigh, unsigned short nonce, unsigned short interval)
}
void
send_hello_no
update
(
struct
interface
*
ifp
,
unsigned
interval
)
send_hello_no
ihu
(
struct
interface
*
ifp
,
unsigned
interval
)
{
/* This avoids sending multiple hellos in a single packet, which breaks
link quality estimation. */
...
...
@@ -1060,7 +1060,7 @@ send_hello_noupdate(struct interface *ifp, unsigned interval)
void
send_hello
(
struct
interface
*
ifp
)
{
send_hello_no
update
(
ifp
,
(
ifp
->
hello_interval
+
9
)
/
10
);
send_hello_no
ihu
(
ifp
,
(
ifp
->
hello_interval
+
9
)
/
10
);
/* Send full IHU every 3 hellos, and marginal IHU each time */
if
(
ifp
->
hello_seqno
%
3
==
0
)
send_ihu
(
NULL
,
ifp
);
...
...
message.h
View file @
7edb0112
...
...
@@ -58,7 +58,7 @@ void flushbuf(struct buffered *buf);
void
flushupdates
(
struct
interface
*
ifp
);
void
send_ack
(
struct
neighbour
*
neigh
,
unsigned
short
nonce
,
unsigned
short
interval
);
void
send_hello_no
update
(
struct
interface
*
ifp
,
unsigned
interval
);
void
send_hello_no
ihu
(
struct
interface
*
ifp
,
unsigned
interval
);
void
send_hello
(
struct
interface
*
ifp
);
void
flush_unicast
(
int
dofree
);
void
send_update
(
struct
interface
*
ifp
,
int
urgent
,
...
...
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