summaryrefslogtreecommitdiff
path: root/proto/bfd/bfd.h
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-01-07 11:29:05 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-01-11 09:29:51 +0100
commit5b218c3d9bf9357aed0acf535bdfc6684cc5cda4 (patch)
treedcd9dcbd1faa343e0fc603ff7ebec6740a359f8b /proto/bfd/bfd.h
parentb9f56921865dfe816091266e990e94db3e2fdbdf (diff)
BFD: split of v4/v6 sockets
Diffstat (limited to 'proto/bfd/bfd.h')
-rw-r--r--proto/bfd/bfd.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/proto/bfd/bfd.h b/proto/bfd/bfd.h
index 9b61be64..ce7d665b 100644
--- a/proto/bfd/bfd.h
+++ b/proto/bfd/bfd.h
@@ -84,8 +84,10 @@ struct bfd_proto
sock *notify_ws;
list notify_list;
- sock *rx_1;
- sock *rx_m;
+ sock *rx4_1;
+ sock *rx6_1;
+ sock *rx4_m;
+ sock *rx6_m;
list iface_list;
};
@@ -184,7 +186,7 @@ void bfd_show_sessions(struct proto *P);
/* packets.c */
void bfd_send_ctl(struct bfd_proto *p, struct bfd_session *s, int final);
-sock * bfd_open_rx_sk(struct bfd_proto *p, int multihop);
+sock * bfd_open_rx_sk(struct bfd_proto *p, int multihop, int inet_version);
sock * bfd_open_tx_sk(struct bfd_proto *p, ip_addr local, struct iface *ifa);