Cisco Cisco Packet Data Interworking Function (PDIF)
Diameter Dictionaries and Attribute Definitions
▀ Diameter Attributes
▄ AAA Interface Administration and Reference, StarOS Release 19
78
Table 2. Basic AVP Formats
AVP Data
Format
Format
Meaning
OctetString
The data contains arbitrary data of variable length. Unless otherwise noted, the AVP Length field MUST be set to
at least 8 (12 if the 'V' bit is enabled). AVP Values of this type that are not a multiple of four-octets in length is
followed by the necessary padding so that the next AVP (if any) will start on a 32-bit boundary.
at least 8 (12 if the 'V' bit is enabled). AVP Values of this type that are not a multiple of four-octets in length is
followed by the necessary padding so that the next AVP (if any) will start on a 32-bit boundary.
Integer32
32 bit signed value, in network byte order. The AVP Length field MUST be set to 12 (16 if the 'V' bit is enabled).
Integer64
64 bit signed value, in network byte order. The AVP Length field MUST be set to 16 (20 if the 'V' bit is enabled).
Unsigned32
32 bit unsigned value, in network byte order. The AVP Length field MUST be set to 12 (16 if the 'V' bit is
enabled).
enabled).
Unsigned64
64 bit unsigned value, in network byte order. The AVP Length field MUST be set to 16 (20 if the 'V' bit is
enabled).
enabled).
Float32
This represents floating point values of single precision. The 32-bit value is transmitted in network byte order. The
AVP Length field MUST be set to 12 (16 if the 'V' bit is enabled).
AVP Length field MUST be set to 12 (16 if the 'V' bit is enabled).
Float64
This represents floating point values of double precision. The 64-bit value is transmitted in network byte order.
The AVP Length field MUST be set to 16 (20 if the 'V' bit is enabled).
The AVP Length field MUST be set to 16 (20 if the 'V' bit is enabled).
Grouped
The Data field is specified as a sequence of AVPs. Each of these AVPs follows - in the order in which they are
specified - including their headers and padding. The AVP Length field is set to 8 (12 if the 'V' bit is enabled) plus
the total length of all included AVPs, including their headers and padding. Thus the AVP length field of an AVP
of type Grouped is always a multiple of 4.
specified - including their headers and padding. The AVP Length field is set to 8 (12 if the 'V' bit is enabled) plus
the total length of all included AVPs, including their headers and padding. Thus the AVP length field of an AVP
of type Grouped is always a multiple of 4.
Derived AVP Data Formats
In addition to using the Basic AVP Data Formats, applications may define data formats derived from the Basic AVP
Data Formats. An application that defines new AVP Derived Data Formats MUST include them in a section entitled
"AVP Derived Data Formats", using the same format as the definitions below. Each new definition must be either
defined or listed with a reference to the RFC that defines the format.
Data Formats. An application that defines new AVP Derived Data Formats MUST include them in a section entitled
"AVP Derived Data Formats", using the same format as the definitions below. Each new definition must be either
defined or listed with a reference to the RFC that defines the format.
The below AVP Derived Data Formats are commonly used by applications.
Address
The Address format is derived from the OctetString AVP Base Format. It is a discriminated union, representing, for
example a 32-bit (IPv4) or 128-bit (IPv6) address, most significant octet first. The first two octets of the Address
example a 32-bit (IPv4) or 128-bit (IPv6) address, most significant octet first. The first two octets of the Address
AVP represents the AddressType, which contains an Address Family defined in IANAADFAM. The AddressType is
used to discriminate the content and format of the remaining octets.
used to discriminate the content and format of the remaining octets.
Time
The Time format is derived from the OctetString AVP Base Format. The string MUST contain four octets, in the same
format as the first four bytes are in the NTP timestamp format.
format as the first four bytes are in the NTP timestamp format.