summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/lde.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:15:36 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:15:36 +0000
commit72beaa9cac8bdc9b7c6e7477aac41b109241ca8e (patch)
tree842bdc535bdba7d15d4f5b72a37108c447e7249a /usr.sbin/ldpd/lde.h
parent0912c01ade1880e8a02f8c81ab21d922fede2fed (diff)
Implement RFC 5919 (LDP End-of-LIB).
Diffstat (limited to 'usr.sbin/ldpd/lde.h')
-rw-r--r--usr.sbin/ldpd/lde.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/lde.h b/usr.sbin/ldpd/lde.h
index 785236ef372..ec76293560f 100644
--- a/usr.sbin/ldpd/lde.h
+++ b/usr.sbin/ldpd/lde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde.h,v 1.48 2017/03/04 00:12:26 renato Exp $ */
+/* $OpenBSD: lde.h,v 1.49 2017/03/04 00:15:35 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -87,6 +87,7 @@ struct lde_nbr {
struct in_addr id;
int v4_enabled; /* announce/process v4 msgs */
int v6_enabled; /* announce/process v6 msgs */
+ int flags; /* capabilities */
struct fec_tree recv_req;
struct fec_tree sent_req;
struct fec_tree recv_map;
@@ -146,6 +147,8 @@ void lde_send_labelrelease(struct lde_nbr *, struct fec_node *,
struct map *, uint32_t);
void lde_send_notification(struct lde_nbr *, uint32_t, uint32_t,
uint16_t);
+void lde_send_notification_eol_prefix(struct lde_nbr *, int);
+void lde_send_notification_eol_pwid(struct lde_nbr *, uint16_t);
struct lde_nbr *lde_nbr_find_by_lsrid(struct in_addr);
struct lde_nbr *lde_nbr_find_by_addr(int, union ldpd_addr *);
struct lde_map *lde_map_add(struct lde_nbr *, struct fec_node *, int);