mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Sending of lspd as responce to lsreq done.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user