summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/eigrpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eigrpd/eigrpd.h')
-rw-r--r--usr.sbin/eigrpd/eigrpd.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.sbin/eigrpd/eigrpd.h b/usr.sbin/eigrpd/eigrpd.h
index 71985ad0115..f5b2a94375b 100644
--- a/usr.sbin/eigrpd/eigrpd.h
+++ b/usr.sbin/eigrpd/eigrpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpd.h,v 1.21 2016/09/02 16:46:29 renato Exp $ */
+/* $OpenBSD: eigrpd.h,v 1.22 2016/09/02 17:59:58 benno Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -61,6 +61,12 @@
#define F_CTL_ACTIVE 0x0400
#define F_CTL_ALLLINKS 0x0800
+static const char * const log_procnames[] = {
+ "parent",
+ "eigrpe",
+ "rde"
+};
+
struct imsgev {
struct imsgbuf ibuf;
void (*handler)(int, short, void *);
@@ -502,4 +508,17 @@ void config_clear(struct eigrpd_conf *);
/* printconf.c */
void print_config(struct eigrpd_conf *);
+/* logmsg.c */
+const char *log_in6addr(const struct in6_addr *);
+const char *log_in6addr_scope(const struct in6_addr *, unsigned int);
+const char *log_sockaddr(void *);
+const char *log_addr(int, union eigrpd_addr *);
+const char *log_prefix(struct rt_node *);
+const char *log_route_origin(int, struct rde_nbr *);
+const char *opcode_name(uint8_t);
+const char *af_name(int);
+const char *if_type_name(enum iface_type);
+const char *dual_state_name(int);
+const char *ext_proto_name(int);
+
#endif /* _EIGRPD_H_ */