mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 13:17:08 +00:00
ospf6d: move named constants to ospf6d.h
This commit is contained in:
parent
87d29037b3
commit
a44ed99c57
@ -227,8 +227,6 @@ ospf6_lsack_print (struct ospf6_header *oh)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Receive function */
|
/* Receive function */
|
||||||
#define MSG_OK 0
|
|
||||||
#define MSG_NG 1
|
|
||||||
static int
|
static int
|
||||||
ospf6_header_examin (struct in6_addr *src, struct in6_addr *dst,
|
ospf6_header_examin (struct in6_addr *src, struct in6_addr *dst,
|
||||||
struct ospf6_interface *oi, struct ospf6_header *oh)
|
struct ospf6_interface *oi, struct ospf6_header *oh)
|
||||||
|
@ -49,6 +49,9 @@ extern struct thread_master *master;
|
|||||||
#endif /* IPV6_DROP_MEMBERSHIP */
|
#endif /* IPV6_DROP_MEMBERSHIP */
|
||||||
#endif /* ! IPV6_LEAVE_GROUP */
|
#endif /* ! IPV6_LEAVE_GROUP */
|
||||||
|
|
||||||
|
#define MSG_OK 0
|
||||||
|
#define MSG_NG 1
|
||||||
|
|
||||||
/* cast macro: XXX - these *must* die, ick ick. */
|
/* cast macro: XXX - these *must* die, ick ick. */
|
||||||
#define OSPF6_PROCESS(x) ((struct ospf6 *) (x))
|
#define OSPF6_PROCESS(x) ((struct ospf6 *) (x))
|
||||||
#define OSPF6_AREA(x) ((struct ospf6_area *) (x))
|
#define OSPF6_AREA(x) ((struct ospf6_area *) (x))
|
||||||
|
Loading…
Reference in New Issue
Block a user