summaryrefslogtreecommitdiff
path: root/proto/ospf/dbdes.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-31 00:21:41 +0000
committerOndrej Filip <feela@network.cz>2000-03-31 00:21:41 +0000
commitf45fd3164bf2f9342e12e867f8d68c7fc77d3177 (patch)
tree647d271be15eb20a1228db8507e8b73df84e7c25 /proto/ospf/dbdes.c
parent14a7921c83f0ecfc8793b3a38e4ac16ae9bd75d3 (diff)
Sending of lspd as responce to lsreq done.
Diffstat (limited to 'proto/ospf/dbdes.c')
-rw-r--r--proto/ospf/dbdes.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index 9236da75..3a8a9a13 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -9,32 +9,6 @@
#include "ospf.h"
void
-htonlsah(struct ospf_lsa_header *h, struct ospf_lsa_header *n)
-{
- n->age=htons(h->age);
- n->options=h->options;
- n->type=h->type;
- n->id=htonl(h->id);
- n->rt=htonl(h->rt);
- n->sn=htonl(h->sn);
- n->checksum=htons(h->checksum);
- n->length=htons(h->length);
-};
-
-void
-ntohlsah(struct ospf_lsa_header *n, struct ospf_lsa_header *h)
-{
- h->age=ntohs(n->age);
- h->options=n->options;
- h->type=n->type;
- h->id=ntohl(n->id);
- h->rt=ntohl(n->rt);
- h->sn=ntohl(n->sn);
- h->checksum=ntohs(n->checksum);
- h->length=ntohs(n->length);
-};
-
-void
ospf_dbdes_tx(struct ospf_neighbor *n)
{
struct ospf_dbdes_packet *pkt;