summaryrefslogtreecommitdiff
path: root/proto/bmp/bmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bmp/bmp.h')
-rw-r--r--proto/bmp/bmp.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/proto/bmp/bmp.h b/proto/bmp/bmp.h
index 73f40eb8..ff02d3b2 100644
--- a/proto/bmp/bmp.h
+++ b/proto/bmp/bmp.h
@@ -46,12 +46,6 @@ struct bmp_config {
struct bgp_proto;
struct bmp_proto;
-struct bmp_conn {
- struct bmp_proto *bmp;
- struct birdsock *sk;
- event *tx_ev;
-};
-
// Stores sent and received BGP OPEN MSGs
struct bmp_peer_open_msg {
struct bmp_peer_map tx_msg;
@@ -70,7 +64,8 @@ struct rt_table_info {
struct bmp_proto {
struct proto p; // Parent proto
const struct bmp_config *cf; // Shortcut to BMP configuration
- struct bmp_conn *conn; // Connection we have established
+ sock *sk; // TCP connection
+ event *tx_ev; // TX event
char sys_descr[MIB_II_STR_LEN]; // sysDescr MIB-II [RFC1213] object
char sys_name[MIB_II_STR_LEN]; // sysName MIB-II [RFC1213] object
ip_addr station_ip; // Monitoring station IP address