summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-11-09 17:14:02 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-11-09 17:14:02 +0000
commitbfb6d1c0358ee8f5c9f6ede9db29e7906ceaf2d0 (patch)
tree5c80033b6c0b2a2ca4c8a0b72716b8031fda3302 /sys/net
parent6e03bb45be5d11fe00839093ae0c76a05df73f97 (diff)
Add RTP_PROPOSAL_SOLICIT to allow unwind(8) to solicit DNS proposals
from slaacd and dhclient when it starts. Discussed with deraadt who notes that it's a bit odd to have this as a route priority. One idea is to have this as a dedicated route message and not a priority. But we want to move this forward and learn how it can be used so we are going with this for now. OK deraadt
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index f116002d058..d338adddaa1 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.176 2019/06/21 17:11:42 mpi Exp $ */
+/* $OpenBSD: route.h,v 1.177 2019/11/09 17:14:01 florian Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -165,6 +165,7 @@ struct rtentry {
#define RTP_PROPOSAL_STATIC 57
#define RTP_PROPOSAL_DHCLIENT 58
#define RTP_PROPOSAL_SLAAC 59
+#define RTP_PROPOSAL_SOLICIT 60
#define RTP_MAX 63 /* maximum priority */
#define RTP_ANY 64 /* any of the above */
#define RTP_MASK 0x7f