summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/lldp-rx-internal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libsystemd: turn json.[ch] into a public APILennart Poettering2024-06-121-2/+2
| | | | | | | | | | | | | | | This is preparation for making our Varlink API a public API. Since our Varlink API is built on top of our JSON API we need to make that public first (it's a nice API, but JSON APIs there are already enough, this is purely about the Varlink angle). I made most of the json.h APIs public, and just placed them in sd-json.h. Sometimes I wasn't so sure however, since the underlying data structures would have to be made public too. If in doubt I didn#t risk it, and moved the relevant API to src/libsystemd/sd-json/json-util.h instead (without any sd_* symbol prefixes). This is mostly a giant search/replace patch.
* sd-lldp-rx: serialize LLDP neighbors to JSON formatTomáš Pecka2024-03-011-0/+3
| | | | | | | | Add functions serializing LLDP neighbors to JSON (JsonVariant). The entry contains a chassis id, system name and port id of the remote neighbor. Also it possibly contains an integer coding the enabled system capabilities and port description.
* libsystemd-network: make sd_dhcp_client_get_ifname() or friends return ↵Yu Watanabe2021-09-281-3/+3
| | | | negative errno on error
* sd-lldp-rx: rename sd_lldp -> sd_lldp_rxYu Watanabe2021-09-271-10/+10
|
* sd-lldp: rename sd-lldp.[ch] -> sd-lldp-rx.[ch]Yu Watanabe2021-09-271-0/+48