Hi Alan, Thank you for your answers to my questions - they helped - also I managed to compile and run the c-program that you mentioned below from the RFC. Thanks and have a good day. Robert.? ________________________________ From: Alan DeKok-2 [via FreeRADIUS] <ml+s1045715n5758144h86@n5.nabble.com> Sent: 09 July 2020 13:42 To: Stannard,R,Robert,TLV3 C Subject: Re: Question re. rfc6929 - examples section 9.1 On Jul 9, 2020, at 7:42 AM, [hidden email]</user/SendEmail.jtp?type=node&node=5758144&i=0> wrote:
I understand the example-1 fine - but my question is about example-2.
2/ a) in the sentence what does it mean TLV-Type of one (1) ?
The attribute number is one. See https://tools.ietf.org/html/rfc8044#section-3.13 for a description of TLV-Type
b) do the values in {} represent type-length-data ?
They represent type + data. The length is calculated automatically. The RFC includes C source code for the tool which parses the examples. So that should help explain the format.
c) f1 07 02 01 04 23 45 does this represent f1=241 (=type), 07=length 02=extended-type, (as in the 2 in 241.2) 01=tlv-type? 04=length of tlv data ?
Yes
but 23 and 45 ? not sure
It's just the data, i.e. the value. It doesn't mean anything. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ________________________________ If you reply to this email, your message will be added to the discussion below: http://freeradius.1045715.n5.nabble.com/Re-request-for-radius-dictionary-EVS... To unsubscribe from FreeRADIUS, click here<http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2740692&code=cm9iZXJ0LnN0YW5uYXJkQGJ0LmNvbXwyNzQwNjkyfC02OTA4OTczODY=>. NAML<http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>