1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Prog Doc: Complete several missing parameters

This commit is contained in:
Pavel Tvrdik
2016-05-12 15:49:44 +02:00
parent fff7498d6a
commit 8e433d6a52
13 changed files with 20 additions and 8 deletions

View File

@@ -554,12 +554,13 @@ lsa_validate_prefix(struct ospf_lsa_header *lsa, struct ospf_lsa_prefix *body)
/**
* lsa_validate - check whether given LSA is valid
* @lsa: LSA header
* @lsa_type: one of %LSA_T_xxx
* @ospf2: %true means OSPF version 2, %false means OSPF version 3
* @body: pointer to LSA body
*
* Checks internal structure of given LSA body (minimal length,
* consistency). Returns true if valid.
*/
int
lsa_validate(struct ospf_lsa_header *lsa, u32 lsa_type, int ospf2, void *body)
{