]> git.ipfire.org Git - thirdparty/systemd.git/commit
tlv-util: introduce tlv-util that handles Tag-Length-Value data format 41802/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 Apr 2026 20:05:32 +0000 (05:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 May 2026 06:53:12 +0000 (15:53 +0900)
commit320ae462b1315564e0ab97f1d1b13e6e05b489af
tree08492367301012144a4ee42e3aa2dbdc03670393
parent4fc58bf62111ae164bbbbf2f276af24f1c4b0efd
tlv-util: introduce tlv-util that handles Tag-Length-Value data format

In many network protocols e.g. DHCP, the TLV format is used.
Let's introduce a simple parser and builder of the data format.
src/libsystemd-network/meson.build
src/libsystemd-network/test-tlv-util.c [new file with mode: 0644]
src/libsystemd-network/tlv-util.c [new file with mode: 0644]
src/libsystemd-network/tlv-util.h [new file with mode: 0644]