summaryrefslogtreecommitdiff
path: root/proto/pipe/pipe.h
blob: 60c857eb620bced417abc4106f6b58dfc81ed279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *	BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
 *
 *	(c) 1999 Martin Mares <mj@ucw.cz>
 *
 *	Can be freely distributed and used under the terms of the GNU GPL.
 */

#ifndef _BIRD_PIPE_H_
#define _BIRD_PIPE_H_

struct pipe_config {
  struct proto_config c;
  struct rtable_config *peer;		/* Table we're connected to */
  u8 max_generation;
};

struct pipe_proto {
  struct proto p;
  struct channel *pri;
  struct channel *sec;
  struct tbf rl_gen;
};

#endif