From f45fd3164bf2f9342e12e867f8d68c7fc77d3177 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 31 Mar 2000 00:21:41 +0000 Subject: Sending of lspd as responce to lsreq done. --- proto/ospf/dbdes.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'proto/ospf/dbdes.c') diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c index 9236da7..3a8a9a1 100644 --- a/proto/ospf/dbdes.c +++ b/proto/ospf/dbdes.c @@ -8,32 +8,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) { -- cgit v1.2.3