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/lsalib.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 proto/ospf/lsalib.h (limited to 'proto/ospf/lsalib.h') diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h new file mode 100644 index 00000000..e759aa07 --- /dev/null +++ b/proto/ospf/lsalib.h @@ -0,0 +1,18 @@ +/* + * BIRD -- OSPF + * + * (c) 2000 Ondrej Filip + * + * Can be freely distributed and used under the terms of the GNU GPL. + * + */ + +#ifndef _BIRD_OSPF_LSALIB_H_ +#define _BIRD_OSPF_LSALIB_H_ + +void htonlsah(struct ospf_lsa_header *h, struct ospf_lsa_header *n); +void ntohlsah(struct ospf_lsa_header *n, struct ospf_lsa_header *h); +void htonlsab(void *h, void *n, u8 type, u16 len); +void ntohlsab(void *n, void *h, u8 type, u16 len); + +#endif /* _BIRD_OSPF_LSALIB_H_ */ -- cgit v1.2.3