From 2638249d34cc7f600fba25edd29538c00a3aca31 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 19 Mar 2000 22:09:07 +0000 Subject: Bare skeleton of the BGP. --- proto/bgp/bgp.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 proto/bgp/bgp.h (limited to 'proto/bgp/bgp.h') diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h new file mode 100644 index 00000000..2e352be4 --- /dev/null +++ b/proto/bgp/bgp.h @@ -0,0 +1,31 @@ +/* + * BIRD -- The Border Gateway Protocol + * + * (c) 2000 Martin Mares + * + * Can be freely distributed and used under the terms of the GNU GPL. + */ + +#ifndef _BIRD_BGP_H_ +#define _BIRD_BGP_H_ + +struct bgp_config { + struct proto_config c; + unsigned int local_as, remote_as; + ip_addr remote_ip; + int multihop; /* Number of hops if multihop */ +}; + +struct bgp_proto { + struct proto p; +}; + +struct bgp_route { +}; + +struct bgp_attrs { +}; + +void bgp_check(struct bgp_config *c); + +#endif -- cgit v1.2.3