]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
convert octets to struct
authorAlan T. DeKok <aland@freeradius.org>
Sun, 27 Oct 2019 13:34:17 +0000 (09:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 27 Oct 2019 13:34:17 +0000 (09:34 -0400)
share/dictionary/dhcpv6/dictionary.rfc7078

index 489750ebf4e3f4266e7c4eb6f2cdad3129c837f9..2437a46e7cf5f173cfb1d077e4fc4c6d33efeefa 100644 (file)
 #
 ##############################################################################
 
-ATTRIBUTE      Address-Selection                       84      octets          # Complex struct see RFC 7078
-ATTRIBUTE      Address-Selection-Table                 85      octets          # Complex struct see RFC 7078
+ATTRIBUTE      Address-Selection                       84      struct
+MEMBER         Address-Selection-Flags                 uint8
+MEMBER         Address-Selection-Table-Rows            octets  # really "group" of Address-Selection-Table
+
+VALUE  Address-Selection-Flags Privacy-Reference       0x01    # bit mask
+VALUE  Address-Selection-Flags Automatic-Row-Addition  0x02    # bit mask
+
+ATTRIBUTE      Address-Selection-Table                 85      struct
+MEMBER         Address-Selection-Table-Label           uint8
+MEMBER         Address-Selection-Table-Precedence      uint8
+MEMBER         Address-Selection-Table-Prefix          ipv6prefix
+