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
cd96887f
Commit
cd96887f
authored
Mar 17, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export neighbour_valid.
parent
c2248ea1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
neighbour.c
neighbour.c
+1
-1
neighbour.h
neighbour.h
+1
-0
No files found.
neighbour.c
View file @
cd96887f
...
...
@@ -37,7 +37,7 @@ THE SOFTWARE.
struct
neighbour
neighs
[
MAXNEIGHBOURS
];
int
numneighs
=
0
;
static
int
int
neighbour_valid
(
struct
neighbour
*
neigh
)
{
return
neigh
->
hello_seqno
!=
-
2
;
...
...
neighbour.h
View file @
cd96887f
...
...
@@ -38,6 +38,7 @@ struct neighbour {
extern
struct
neighbour
neighs
[
MAXNEIGHBOURS
];
extern
int
numneighs
;
int
neighbour_valid
(
struct
neighbour
*
neigh
);
void
flush_neighbour
(
struct
neighbour
*
neigh
);
struct
neighbour
*
find_neighbour
(
const
unsigned
char
*
address
,
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