Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
3b31c538
Commit
3b31c538
authored
Jun 04, 2000
by
Martin Mareš
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documented all the trivial protocols.
parent
2a863dd6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
1 deletion
+33
-1
Doc
Doc
+0
-1
proto/Doc
proto/Doc
+1
-0
proto/pipe/Doc
proto/pipe/Doc
+1
-0
proto/pipe/pipe.c
proto/pipe/pipe.c
+12
-0
proto/static/Doc
proto/static/Doc
+1
-0
proto/static/static.c
proto/static/static.c
+18
-0
No files found.
Doc
View file @
3b31c538
...
...
@@ -4,5 +4,4 @@ C conf
C filter
C proto
C sysdep
C client
C lib
proto/Doc
View file @
3b31c538
...
...
@@ -4,3 +4,4 @@ C ospf
C pipe
C rip
C static
S ../nest/rt-dev.c
proto/pipe/Doc
View file @
3b31c538
S pipe.c
proto/pipe/pipe.c
View file @
3b31c538
...
...
@@ -6,6 +6,18 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
/**
* DOC: Pipe
*
* The Pipe protocol is very simple. It just connects to two routing tables
* using proto_add_announce_hook() and whenever it receives a rt_notify()
* about a change in one of the tables, it converts it to a rte_update()
* in the other one.
*
* To avoid pipe loops, Pipe keeps a `being updated' flag in each routing
* table.
*/
#undef LOCAL_DEBUG
#include "nest/bird.h"
...
...
proto/static/Doc
View file @
3b31c538
S static.c
proto/static/static.c
View file @
3b31c538
...
...
@@ -6,6 +6,24 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
/**
* DOC: Static
*
* The Static protocol is implemented in a very straightforward way. It keeps
* a two lists of static routes: one containing interface routes and one
* holding the remaining ones. Interface routes are inserted and removed according
* to interface events received from the core via the if_notify() hook, routes
* pointing to a neighboring router use a sticky node in the neighbor cache
* to be notified about gaining or losing the neighbor and finally special
* routes like black holes or rejects are inserted all the time.
*
* The only other thing worth mentioning is that when asked for reconfiguration,
* Static not only compares the two configurations, but it also calculates
* difference between the lists of static routes mentioned in the old config
* and the lists in the new one and it just inserts the newly added routes
* and removes the obsolete ones.
*/
#undef LOCAL_DEBUG
#include "nest/bird.h"
...
...
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