summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-08 00:53:51 +0200
committerOndrej Filip <feela@network.cz>2000-06-08 00:53:51 +0200
commiteee9cefd8c13184e45878ce8e2ef12fcdece3ded (patch)
tree3a99f89a8d63579c5ddc82429c324ffc7d69d1dd /proto/ospf
parente9ab0b4212dc0939d782c991c86c362e09eb279f (diff)
downloadbird-eee9cefd8c13184e45878ce8e2ef12fcdece3ded.tar
bird-eee9cefd8c13184e45878ce8e2ef12fcdece3ded.zip
Doc
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/Doc1
-rw-r--r--proto/ospf/dbdes.c12
-rw-r--r--proto/ospf/dbdes.h2
3 files changed, 13 insertions, 2 deletions
diff --git a/proto/ospf/Doc b/proto/ospf/Doc
index 3cc298f..40b1534 100644
--- a/proto/ospf/Doc
+++ b/proto/ospf/Doc
@@ -4,3 +4,4 @@ S neighbor.c
S iface.c
S packet.c
S lsalib.c
+S dbdes.c
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index 5272732..b92523a 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -1,13 +1,23 @@
/*
* BIRD -- OSPF
*
- * (c) 1999-2000 Ondrej Filip <feela@network.cz>
+ * (c) 1999 - 2000 Ondrej Filip <feela@network.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#include "ospf.h"
+/**
+ * ospf_dbdes_tx - transmit database description packet
+ * @n: neighbor
+ *
+ * Sending of database description packet is described in 10.6 of RFC 2328.
+ * Reception of each packet is acknoledged in sequence number of another.
+ * When I send a packet to neighbor I keep a copy in buffer. If neighbor
+ * does not reply, I don't create new packet but I just send content
+ * of buffer.
+ */
void
ospf_dbdes_tx(struct ospf_neighbor *n)
{
diff --git a/proto/ospf/dbdes.h b/proto/ospf/dbdes.h
index 09642ff..68549c8 100644
--- a/proto/ospf/dbdes.h
+++ b/proto/ospf/dbdes.h
@@ -1,7 +1,7 @@
/*
* BIRD -- OSPF
*
- * (c) 1999 Ondrej Filip <feela@network.cz>
+ * (c) 1999 - 2000 Ondrej Filip <feela@network.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*