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
38f3c444
Commit
38f3c444
authored
Mar 16, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify time computation in send_request_resend.
parent
8d9cbd6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
message.c
message.c
+8
-5
No files found.
message.c
View file @
38f3c444
...
@@ -517,17 +517,20 @@ send_request_resend(struct neighbour *neigh,
...
@@ -517,17 +517,20 @@ send_request_resend(struct neighbour *neigh,
const
unsigned
char
*
prefix
,
unsigned
char
plen
,
const
unsigned
char
*
prefix
,
unsigned
char
plen
,
unsigned
short
seqno
,
unsigned
short
router_hash
)
unsigned
short
seqno
,
unsigned
short
router_hash
)
{
{
int
time
;
if
(
neigh
)
if
(
neigh
)
send_unicast_request
(
neigh
,
prefix
,
plen
,
127
,
seqno
,
router_hash
);
send_unicast_request
(
neigh
,
prefix
,
plen
,
127
,
seqno
,
router_hash
);
else
else
send_request
(
NULL
,
prefix
,
plen
,
127
,
seqno
,
router_hash
);
send_request
(
NULL
,
prefix
,
plen
,
127
,
seqno
,
router_hash
);
time
=
2000
;
time
=
MIN
(
time
,
wireless_hello_interval
/
2
);
time
=
MIN
(
time
,
wired_hello_interval
/
2
);
time
=
MAX
(
time
,
10
);
record_request
(
prefix
,
plen
,
seqno
,
router_hash
,
record_request
(
prefix
,
plen
,
seqno
,
router_hash
,
neigh
?
neigh
->
network
:
NULL
,
neigh
?
neigh
->
network
:
NULL
,
time
);
MAX
(
10
,
MIN
(
wireless_hello_interval
/
2
,
MIN
(
wired_hello_interval
/
2
,
2000
))));
}
}
static
void
static
void
...
...
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