gvenugo3
cf27c70d70
networkd-json: add human-readable address strings for IP addresses
...
Add JSON_BUILD_PAIR_IN_ADDR_WITH_STRING, JSON_BUILD_PAIR_IN6_ADDR_WITH_STRING,
and JSON_BUILD_PAIR_IN4_ADDR_WITH_STRING macros (plus _NON_NULL variants) that
emit both the binary address array and a human-readable string representation.
For example, an address field now emits both:
"Address": [192, 168, 1, 1]
"AddressString": "192.168.1.1"
This improves usability of the JSON/Varlink output for debugging and tooling
that consumes networkd state.
Updated networkd-json.c to use these new macros for addresses, neighbors,
nexthops, routes, routing policy rules, DNS servers, NTP servers, SIP servers,
domains, DHCPv6 prefixes, and link-local addresses.
Also updated the Varlink interface definitions to include the new string fields.
2026-02-04 10:34:30 +01:00
..
2025-05-25 03:40:24 +09:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-05-25 03:40:24 +09:00
2025-12-15 08:50:13 +09:00
2025-10-16 17:00:29 +02:00
2023-01-17 21:26:18 +09:00
2026-01-02 04:05:45 +09:00
2025-10-16 17:00:29 +02:00
2026-01-02 04:05:45 +09:00
2026-01-02 04:05:45 +09:00
2025-11-16 10:50:34 +09:00
2025-05-25 03:40:24 +09:00
2025-10-16 17:00:29 +02:00
2025-05-25 03:40:24 +09:00
2025-11-26 19:02:31 +09:00
2025-11-26 16:22:00 +09:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-10-16 17:00:29 +02:00
2025-10-20 10:35:23 +02:00
2025-05-25 03:40:24 +09:00
2021-01-19 07:04:19 +09:00
2025-05-25 03:40:24 +09:00
2025-11-26 19:02:31 +09:00
2025-12-15 08:50:13 +09:00
2025-05-25 03:40:24 +09:00
2021-09-27 23:55:11 +09:00
2025-12-15 08:50:13 +09:00
2021-01-19 07:04:19 +09:00
2025-05-25 03:40:24 +09:00
2025-10-16 17:00:29 +02:00
2025-11-26 19:02:31 +09:00
2025-05-25 03:40:24 +09:00
2025-05-25 03:40:24 +09:00
2025-10-16 17:00:29 +02:00
2025-06-19 19:08:45 +09:00
2025-10-16 17:00:29 +02:00
2025-06-19 19:08:45 +09:00
2025-05-25 03:40:24 +09:00
2026-01-02 04:05:45 +09:00
2025-11-20 10:03:48 +09:00
2026-01-02 04:05:45 +09:00
2025-10-16 17:00:29 +02:00
2025-12-15 08:50:13 +09:00
2025-11-05 05:16:34 +09:00
2025-10-16 17:00:29 +02:00
2026-01-02 04:05:45 +09:00
2025-10-16 17:00:29 +02:00
2024-09-13 07:27:47 +02:00
2025-10-16 17:00:29 +02:00
2025-11-16 14:01:28 +09:00
2025-11-26 19:02:31 +09:00
2025-10-16 17:00:29 +02:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-09-19 14:46:55 +02:00
2026-01-21 15:50:35 +01:00
2025-05-25 03:40:24 +09:00
2025-12-15 08:50:13 +09:00
2026-02-04 10:34:30 +01:00
2025-12-15 08:50:13 +09:00
2025-11-22 10:19:41 +01:00
2025-05-25 03:40:24 +09:00
2025-05-25 03:40:24 +09:00
2025-05-25 03:40:24 +09:00
2025-12-15 08:50:13 +09:00
2025-05-25 03:40:24 +09:00
2025-07-22 03:05:54 +09:00
2025-05-25 03:40:24 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-05-25 03:40:24 +09:00
2025-07-22 16:54:08 +09:00
2025-12-15 08:50:13 +09:00
2025-06-13 13:35:21 +09:00
2025-11-14 07:50:13 +09:00
2025-05-25 03:40:24 +09:00
2025-05-25 03:40:24 +09:00
2025-09-19 14:46:55 +02:00
2025-05-25 03:40:24 +09:00
2025-11-10 20:49:21 +09:00
2025-12-15 08:50:13 +09:00
2025-05-25 03:40:24 +09:00