summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpd.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-01-23 08:43:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-01-23 08:43:46 +0000
commit9e8907da2406cd6bf943225116fda7ccd02e9ad9 (patch)
tree51f4c0a087dc988ced046eacd947ceecb41c210a /usr.sbin/ldpd/ldpd.h
parentd9029de5b5ab85cdae82e6e708aef71f82c8c9e6 (diff)
teach ldpd to ask if a potential pseudowire interface can do pwe3
this makes ldpd open the ioctl socket early so the config parser can run the SIOCGPWE3 ioctl against the requested interface. ok claudio@
Diffstat (limited to 'usr.sbin/ldpd/ldpd.h')
-rw-r--r--usr.sbin/ldpd/ldpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpd.h b/usr.sbin/ldpd/ldpd.h
index 6d2f15c29e0..468161a3e87 100644
--- a/usr.sbin/ldpd/ldpd.h
+++ b/usr.sbin/ldpd/ldpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpd.h,v 1.89 2019/01/23 02:02:04 dlg Exp $ */
+/* $OpenBSD: ldpd.h,v 1.90 2019/01/23 08:43:45 dlg Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -569,6 +569,7 @@ struct kif *kif_findname(char *);
void kif_clear(void);
int kmpw_set(struct kpw *);
int kmpw_unset(struct kpw *);
+int kmpw_find(const char *);
/* util.c */
uint8_t mask2prefixlen(in_addr_t);