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
a488e1c1
Commit
a488e1c1
authored
Mar 16, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flush send_self_retract. It is dead code now.
parent
599cbf5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
message.c
message.c
+0
-29
message.h
message.h
+0
-1
No files found.
message.c
View file @
a488e1c1
...
@@ -835,35 +835,6 @@ send_self_update(struct network *net, int force_seqno)
...
@@ -835,35 +835,6 @@ send_self_update(struct network *net, int force_seqno)
}
}
}
}
void
send_self_retract
(
struct
network
*
net
)
{
int
i
;
if
(
net
==
NULL
)
{
for
(
i
=
0
;
i
<
numnets
;
i
++
)
{
if
(
!
nets
[
i
].
up
)
continue
;
send_self_retract
(
&
nets
[
i
]);
}
return
;
}
flushupdates
();
debugf
(
"Retracting self on %s.
\n
"
,
net
->
ifname
);
myseqno
=
seqno_plus
(
myseqno
,
1
);
seqno_time
=
now
;
delay_jitter
(
&
net
->
self_update_time
,
&
net
->
self_update_timeout
,
net
->
self_update_interval
);
for
(
i
=
0
;
i
<
numxroutes
;
i
++
)
{
really_send_update
(
net
,
myid
,
xroutes
[
i
].
prefix
,
xroutes
[
i
].
plen
,
myseqno
,
0xFFFF
);
}
schedule_update_flush
(
net
,
1
);
}
void
void
send_neighbour_update
(
struct
neighbour
*
neigh
,
struct
network
*
net
)
send_neighbour_update
(
struct
neighbour
*
neigh
,
struct
network
*
net
)
{
{
...
...
message.h
View file @
a488e1c1
...
@@ -58,7 +58,6 @@ void send_update(struct network *net, int urgent,
...
@@ -58,7 +58,6 @@ void send_update(struct network *net, int urgent,
const
unsigned
char
*
prefix
,
unsigned
char
plen
);
const
unsigned
char
*
prefix
,
unsigned
char
plen
);
void
update_myseqno
(
int
force
);
void
update_myseqno
(
int
force
);
void
send_self_update
(
struct
network
*
net
,
int
force_seqno
);
void
send_self_update
(
struct
network
*
net
,
int
force_seqno
);
void
send_self_retract
(
struct
network
*
net
);
void
send_neighbour_update
(
struct
neighbour
*
neigh
,
struct
network
*
net
);
void
send_neighbour_update
(
struct
neighbour
*
neigh
,
struct
network
*
net
);
void
send_ihu
(
struct
neighbour
*
neigh
,
struct
network
*
net
);
void
send_ihu
(
struct
neighbour
*
neigh
,
struct
network
*
net
);
void
schedule_flush_now
(
struct
network
*
net
);
void
schedule_flush_now
(
struct
network
*
net
);
...
...
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