summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
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.
*