summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldpd/ldpd.h')
-rw-r--r--usr.sbin/ldpd/ldpd.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/usr.sbin/ldpd/ldpd.h b/usr.sbin/ldpd/ldpd.h
index 80233d849fe..1947219051c 100644
--- a/usr.sbin/ldpd/ldpd.h
+++ b/usr.sbin/ldpd/ldpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpd.h,v 1.19 2010/05/25 09:35:45 claudio Exp $ */
+/* $OpenBSD: ldpd.h,v 1.20 2010/05/25 13:29:45 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -275,8 +275,6 @@ struct kroute {
u_int32_t local_label;
u_int32_t remote_label;
u_int16_t flags;
- u_int16_t rtlabel;
- u_int32_t ext_tag;
u_short ifindex;
u_int8_t prefixlen;
u_int8_t priority;
@@ -300,18 +298,6 @@ struct kif {
u_int8_t nh_reachable; /* for nexthop verification */
};
-/* name2id */
-struct n2id_label {
- TAILQ_ENTRY(n2id_label) entry;
- char *name;
- u_int16_t id;
- u_int32_t ext_tag;
- int ref;
-};
-
-TAILQ_HEAD(n2id_labels, n2id_label);
-extern struct n2id_labels rt_labels;
-
/* control data structures */
struct ctl_iface {
char name[IF_NAMESIZE];
@@ -429,14 +415,6 @@ const char *if_state_name(int);
const char *if_type_name(enum iface_type);
const char *notification_name(u_int32_t);
-/* name2id.c */
-u_int16_t rtlabel_name2id(const char *);
-const char *rtlabel_id2name(u_int16_t);
-void rtlabel_unref(u_int16_t);
-u_int32_t rtlabel_id2tag(u_int16_t);
-u_int16_t rtlabel_tag2id(u_int32_t);
-void rtlabel_tag(u_int16_t, u_int32_t);
-
/* ldpd.c */
void main_imsg_compose_ldpe(int, pid_t, void *, u_int16_t);
void main_imsg_compose_lde(int, pid_t, void *, u_int16_t);