summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphessler <phessler@openbsd.org>2016-09-15 13:09:44 +0000
committerphessler <phessler@openbsd.org>2016-09-15 13:09:44 +0000
commitc1103250c25a84300f5611610f1e70c8007ab0de (patch)
tree0f4037340fbb37cc63f0e372933a22b4af0ddb45
parentmove the error saving code slightly around (diff)
downloadwireguard-openbsd-c1103250c25a84300f5611610f1e70c8007ab0de.tar.xz
wireguard-openbsd-c1103250c25a84300f5611610f1e70c8007ab0de.zip
adjust whitespace and remove an unused struct
-rw-r--r--sys/net/bfd.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/net/bfd.h b/sys/net/bfd.h
index fad98af8f33..26031dabd9d 100644
--- a/sys/net/bfd.h
+++ b/sys/net/bfd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bfd.h,v 1.5 2016/09/15 12:34:48 phessler Exp $ */
+/* $OpenBSD: bfd.h,v 1.6 2016/09/15 13:09:44 phessler Exp $ */
/*
* Copyright (c) 2016 Peter Hessler <phessler@openbsd.org>
@@ -25,8 +25,8 @@
/* Public Interface */
-#define BFD_MODE_ASYNC 1
-#define BFD_MODE_DEMAND 2
+#define BFD_MODE_ASYNC 1
+#define BFD_MODE_DEMAND 2
/* Diagnostic Code (RFC 5880 Page 8) */
#define BFD_DIAG_NONE 0
@@ -53,7 +53,6 @@
#define BFD_FLAG_D 0x02
#define BFD_FLAG_M 0x01
-
struct bfd_msghdr {
unsigned short rtm_msglen; /* to skip over non-understood msgs */
unsigned char rtm_version; /* future binary compatibility */
@@ -101,10 +100,6 @@ struct bfd_softc {
};
#endif /* _KERNEL */
-struct bfd_flags {
- int version;
-};
-
int bfd_rtalloc(struct rtentry *);
void bfd_rtfree(struct rtentry *);
void bfdinit(void);