X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/21ae6221cf930ed4aa9bb6a4f9cafab2cdc5fe76..1c898f7017d2f3bfc07dfdadd077d70ccf6066c1:/bgp.h diff --git a/bgp.h b/bgp.h index fc2e517..bf429bd 100644 --- a/bgp.h +++ b/bgp.h @@ -223,6 +223,7 @@ enum bgp_mp_handling { struct bgp_peer { char name[32]; /* peer name */ in_addr_t addr; /* peer address */ + in_addr_t source_addr; /* our source address */ int as; /* AS number */ int sock; enum bgp_state state; /* FSM state */ @@ -265,7 +266,7 @@ extern int bgp_configured; /* actions */ int bgp_setup(int as); int bgp_start(struct bgp_peer *peer, char *name, int as, int keepalive, - int hold, int enable); + int hold, struct in_addr update_source, int enable); void bgp_stop(struct bgp_peer *peer); void bgp_halt(struct bgp_peer *peer);