]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
decode horrific structure
authorAlan T. DeKok <aland@freeradius.org>
Sat, 16 Nov 2019 15:05:29 +0000 (10:05 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 16 Nov 2019 15:05:29 +0000 (10:05 -0500)
share/dictionary/dhcpv6/dictionary.rfc6225

index 45042c6fd344dddc7d52639b6bdfc3b0d97d97e1..d212c225f50026917f46cb9f95214dcad4ba2afc 100644 (file)
 #
 ##############################################################################
 
-ATTRIBUTE      Geolocation                             63      octets          # Complex struct see RFC 6225
+ATTRIBUTE      Geolocation                             63      struct
+MEMBER         GeoLocation-Latitude-Uncertainty        bit[6]
+MEMBER         GeoLocation-Latitude                    bit[34]  # 9 bits of integer, 25 bits of fraction
+MEMBER         GeoLocation-Longitude-Uncertainty       bit[6]
+MEMBER         GeoLocation-Longitude1                  bit[34]  # 9 bits of integer, 25 bits of fraction
+MEMBER         GeoLocation-Altitude-Type               bit[4]
+MEMBER         GeoLocation-Altitude-Uncertainty        bit[6]
+MEMBER         GeoLocation-Altitude                    bit[30]
+MEMBER         GeoLocation-Version                     bit[2]  # must be 1
+MEMBER         GeoLocation-Reserved                    bit[3]
+MEMBER         GeoLocation-Datum                       bit[3]