Statistics
| Branch: | Revision:

iof-bird-daemon / proto / ospf / packet.h @ df49d4e1

History | View | Annotate | Download (656 Bytes)

1
/*
2
 *      BIRD -- OSPF
3
 *
4
 *      (c) 1999 Ondrej Filip <feela@network.cz>
5
 *
6
 *      Can be freely distributed and used under the terms of the GNU GPL.
7
 *
8
 */
9

    
10
#ifndef _BIRD_OSPF_PACKET_H_
11
#define _BIRD_OSPF_PACKET_H_
12

    
13
void fill_ospf_pkt_hdr(struct ospf_iface *ifa, void *buf, u8 h_type);
14
void ospf_tx_authenticate(struct ospf_iface *ifa, struct ospf_packet *pkt);
15
void ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt);
16
int  ospf_rx_hook(sock *sk, int size);
17
void ospf_tx_hook(sock *sk);
18
void ospf_err_hook(sock *sk, int err);
19
void sk_send_to_agt(sock *sk, u16 len, struct ospf_iface *ifa, u8 state);
20

    
21
#endif /* _BIRD_OSPF_PACKET_H_ */