summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-05-02 22:28:31 +0100
committerRoy Marples <roy@marples.name>2018-05-02 22:28:31 +0100
commitcce54a1d8a3a9908f417d6b3028a8197abbf01bf (patch)
treef9e69a35fd2784ae4d8279932b41262525e60137
parent2aca3a18d87c837b594b126b895c799185c5712f (diff)
downloaddhcpcd-cce54a1d8a3a9908f417d6b3028a8197abbf01bf.tar.xz
dhcp6: Softwire Address and Port-Mapped Clients, RFC7598
Add support for these options. Untested, should work aside from the documented issue, patches welcome.
-rw-r--r--src/dhcpcd-definitions.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/dhcpcd-definitions.conf b/src/dhcpcd-definitions.conf
index f8117d27..e0ab2b79 100644
--- a/src/dhcpcd-definitions.conf
+++ b/src/dhcpcd-definitions.conf
@@ -579,6 +579,37 @@ define6 80 ip6address link_address
define6 82 request uint32 sol_max_rt
define6 83 request uint32 inf_max_rt
+# DHCPv6 Softwire Address and Port-Mapped Clients, RFC7598
+define6 89 embed s46_rule
+embed bitflags=0000000F flags
+embed byte ea_len
+embed byte prefix4_len
+embed ipaddress ipv4_prefix
+embed ip6address ipv6_prefix
+define6 90 ip6address s64_br
+define6 91 embed s46_dmr
+embed byte prefix_len
+embed binhex prefix
+define6 92 embed s46_v4v6bind
+embed ipaddress ipv4_address
+embed byte ipv6_prefix_len
+embed binhex ipv6_prefix_and_options
+# Cannot decode options after variable length address ...
+#encap 93 option
+define6 93 embed s46_portparams
+embed byte offset
+embed byte psid_len
+embed uint16 psid
+define6 94 embed s46_cont_mape
+encap 89 option
+encap 90 option
+define6 95 embed s46_cont_mapt
+encap 89 option
+encap 91 option
+define6 96 embed s46_cont_lw
+encap 90 option
+encap 92 option
+
# DHCPv6 Address Selection Policy
# Currently not supported