diff options
author | paul <paul> | 2004-05-01 08:44:08 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-01 08:44:08 +0000 |
commit | eb821189d2778a93069fc1fc2f104db529ec5a1e (patch) | |
tree | a623d680931ee722fb946f56476f23efd1f13685 /bgpd/bgpd.h | |
parent | eb3f463aab7f09e6c1041bf779fd5752b038f847 (diff) |
2004-05-01 Paul Jakma <paul@dishone.st>
* Revert the attempted clean-up of the dummy peer hack, reverts
patchsets 435 (see 2004-02-17 below) and 456.
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r-- | bgpd/bgpd.h | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 6f22e53d..b10e6b67 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -256,29 +256,27 @@ struct peer int ostatus; /* Peer information */ - int *fd; /* connection in use: -> local||accept */ - int ttl; /* TTL of TCP connection to the peer. */ - int fd_local; /* locally initiated connection */ - int fd_accept; /* remote initiated/accepted connection */ - char *desc; /* Description of the peer. */ - unsigned short port; /* Destination port for peer */ - char *host; /* Printable address of the peer. */ - union sockunion su; /* Sockunion address of the peer. */ - time_t uptime; /* Last Up/Down time */ - time_t readtime; /* Last read time */ - time_t resettime; /* Last reset time */ + int fd; /* File descriptor */ + int ttl; /* TTL of TCP connection to the peer. */ + char *desc; /* Description of the peer. */ + unsigned short port; /* Destination port for peer */ + char *host; /* Printable address of the peer. */ + union sockunion su; /* Sockunion address of the peer. */ + time_t uptime; /* Last Up/Down time */ + time_t readtime; /* Last read time */ + time_t resettime; /* Last reset time */ - unsigned int ifindex; /* ifindex of the BGP connection. */ - char *ifname; /* bind interface name. */ - char *update_if; /* interface to send from */ - union sockunion *update_source; /* sockunion to send from */ - struct zlog *log; /* log socket */ - u_char version; /* Peer BGP version. */ - - union sockunion *su_local; /* Sockunion of local address. */ - union sockunion *su_remote; /* Sockunion of remote address. */ - int shared_network; /* Is this peer shared same network. */ - struct bgp_nexthop nexthop; /* Nexthop */ + unsigned int ifindex; /* ifindex of the BGP connection. */ + char *ifname; /* bind interface name. */ + char *update_if; + union sockunion *update_source; + struct zlog *log; + u_char version; /* Peer BGP version. */ + + union sockunion *su_local; /* Sockunion of local address. */ + union sockunion *su_remote; /* Sockunion of remote address. */ + int shared_network; /* Is this peer shared same network. */ + struct bgp_nexthop nexthop; /* Nexthop */ /* Peer address family configuration. */ u_char afc[AFI_MAX][SAFI_MAX]; |