summaryrefslogtreecommitdiffstats
path: root/proto/ospf/hello.h
blob: 0e47669273f81b1d198ef0263a11cb389e0e9e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *      BIRD -- OSPF
 *
 *      (c) 1999 - 2004 Ondrej Filip <feela@network.cz>
 *
 *      Can be freely distributed and used under the terms of the GNU GPL.
 *
 */

#ifndef _BIRD_OSPF_HELLO_H_
#define _BIRD_OSPF_HELLO_H_

void ospf_hello_receive(struct ospf_packet *ps_i, struct ospf_iface *ifa,
			struct ospf_neighbor *n, ip_addr faddr);
void ospf_hello_send(struct ospf_iface *ifa, int kind, struct ospf_neighbor *dirn);

#define OHS_HELLO    0
#define OHS_POLL     1
#define OHS_SHUTDOWN 2

#endif /* _BIRD_OSPF_HELLO_H_ */