libosmocore.git branch laforge/nuttx updated. 0.6.5-24-gd41f448

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Sat Nov 15 10:06:10 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, laforge/nuttx has been updated
       via  d41f44875385717cb665059a9ab0d5a632cff0bf (commit)
      from  93a5b9110d896d8500edc8448148a1024768cdef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=d41f44875385717cb665059a9ab0d5a632cff0bf

commit d41f44875385717cb665059a9ab0d5a632cff0bf
Author: Daniel Laszlo Sitzer <dlsitzer at sysmocom.de>
Date:   Mon Jul 7 15:51:40 2014 +0200

    tlv/msgb: Be able to generate and parse TLV as used by LLDP
    
    The Link Layer Discovery Protocol is using a Tag Length Value (TLV)
    structure. What is different is that the tag and length do not stop
    at byte boundaries.
    
    This commit introduces methods to msgb and tlv to be able to create
    such a tag/length header and a way to parse it using the tlv_parse
    routine. When it comes to parsing we have an issue that the new
    TLV_TYPE_T7L9V should not be mixed with the other types inside the
    same tlv definition. This is due the bitshifting required to
    identify the tag.
    
    The code likely requires work on big-endian machines but so does
    most of the other code as well.

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                |   1 +
 include/osmocom/gsm/tlv.h |  14 ++++
 src/gsm/tlv_parser.c      |  19 +++++
 tests/Makefile.am         |   8 +-
 tests/testsuite.at        |   6 ++
 tests/tlv/tlv_test.c      | 205 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/tlv/tlv_test.ok     |   8 ++
 7 files changed, 259 insertions(+), 2 deletions(-)
 create mode 100644 tests/tlv/tlv_test.c
 create mode 100644 tests/tlv/tlv_test.ok


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list