summaryrefslogtreecommitdiff
path: root/zebra/rtadv.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-01 16:37:24 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-01 16:37:24 -0400
commit3fec765a8d986664a555c161b814b4bf3332cdf0 (patch)
tree85a3ff88141b295939abcfb835813fe0ffcf772f /zebra/rtadv.h
parent5f047032e7ebe97ba98229cb979cf940689d869a (diff)
zebra: implement draft-bz-v4goawayflag-00
Adds support for V4 GoAway flag as described in https://www.ietf.org/id/draft-bz-v4goawayflag-00.txt This option allows advertising neighbors to indicate to recipients that they should disable IPv4 on the link. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/rtadv.h')
-rw-r--r--zebra/rtadv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rtadv.h b/zebra/rtadv.h
index 03db13fd69..5db2c40366 100644
--- a/zebra/rtadv.h
+++ b/zebra/rtadv.h
@@ -28,6 +28,9 @@
/* NB: RTADV is defined in zebra/interface.h above */
#if defined(HAVE_RTADV)
+/* currently undefined in icmp6.h */
+#define ND_RA_FLAG_V4_GOAWAY 0x01
+
/* Router advertisement prefix. */
struct rtadv_prefix {
/* Prefix to be advertised. */