summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpe.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:44:36 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:44:36 +0000
commit58d5954fc304aee318e25ebbbb4df7e803bbe4c9 (patch)
tree82a824db5e430b9b144ac6b84545c97a852fcf03 /usr.sbin/ldpd/ldpe.h
parent1d59adfbf165119a67b61d16f23ed5c28dbb67b4 (diff)
Kill send_notification_nbr().
Be more clever and trigger the PDU SENT event inside send_notification() when tcp->nbr is set. This way we can eliminate send_notification_nbr() and always use send_notification() instead.
Diffstat (limited to 'usr.sbin/ldpd/ldpe.h')
-rw-r--r--usr.sbin/ldpd/ldpe.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ldpd/ldpe.h b/usr.sbin/ldpd/ldpe.h
index 011ccb9e762..25295375119 100644
--- a/usr.sbin/ldpd/ldpe.h
+++ b/usr.sbin/ldpd/ldpe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpe.h,v 1.70 2017/03/03 23:30:57 renato Exp $ */
+/* $OpenBSD: ldpe.h,v 1.71 2017/03/03 23:44:35 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -159,9 +159,7 @@ int recv_keepalive(struct nbr *, char *, uint16_t);
/* notification.c */
void send_notification_full(struct tcp_conn *, struct notify_msg *);
-void send_notification(uint32_t, struct tcp_conn *, uint32_t,
- uint16_t);
-void send_notification_nbr(struct nbr *, uint32_t, uint32_t, uint16_t);
+void send_notification(struct tcp_conn *, uint32_t, uint32_t, uint16_t);
int recv_notification(struct nbr *, char *, uint16_t);
int gen_status_tlv(struct ibuf *, uint32_t, uint32_t, uint16_t);