Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
a5f1a60e
Commit
a5f1a60e
authored
Jun 03, 1998
by
Martin Mareš
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed protocol declarations a bit.
parent
33beab4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
nest/protocol.h
nest/protocol.h
+6
-3
No files found.
nest/protocol.h
View file @
a5f1a60e
...
...
@@ -22,8 +22,8 @@ struct rtattr;
*/
struct
protocol
{
node
n
;
char
*
name
;
unsigned
type
;
/* ??? List values ??? */
unsigned
debug
;
/* Default debugging flags */
void
(
*
init
)(
struct
protocol
*
);
/* Boot time */
...
...
@@ -34,12 +34,15 @@ struct protocol {
void
protos_init
(
void
);
void
protos_preconfig
(
void
);
void
protos_postconfig
(
void
);
void
protos_start
(
void
);
extern
list
protocol_list
;
/*
* Known protocols
*/
extern
struct
protocol
proto_
static
;
extern
struct
protocol
proto_
device
;
/*
* Routing Protocol Instance
...
...
@@ -53,7 +56,7 @@ struct proto {
pool
*
pool
;
/* Local objects */
unsigned
preference
;
/* Default route preference */
void
(
*
if_notify
)(
struct
proto
*
,
struct
iface
*
new
,
struct
iface
*
old
);
void
(
*
if_notify
)(
struct
proto
*
,
unsigned
flags
,
struct
iface
*
new
,
struct
iface
*
old
);
void
(
*
rt_notify
)(
struct
proto
*
,
struct
rte
*
new
,
struct
rte
*
old
);
void
(
*
neigh_notify
)(
struct
neighbor
*
neigh
);
void
(
*
dump
)(
struct
proto
*
);
/* Debugging dump */
...
...
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