From 007d10a3eb38e7a47ac4e23ff5b53758bc9227a2 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Mon, 10 Jul 2023 11:53:23 +0200 Subject: [PATCH] iio.h: Document URI for IPv6 addresses with interface name Add information about how to construct a URI with a IPv6 address that contains the interface name. This pattern is used with link-local addresses. Signed-off-by: Paul Cercueil --- iio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iio.h b/iio.h index 135e335c9..50510f0a6 100644 --- a/iio.h +++ b/iio.h @@ -475,6 +475,8 @@ __api __check_ret struct iio_context * iio_create_network_context(const char *ho * - ip:192.168.1.119:40000 Port 40000 * - ip:2601:190:400:da:47b3:55ab:3914:bff1 Default Port * - ip:[2601:190:400:da:9a90:96ff:feb5:acaa]:40000 Port 40000 + * - ip:fe80::f14d:3728:501e:1f94%eth0 Link-local through eth0, default port + * - ip:[fe80::f14d:3728:501e:1f94%eth0]:40000 Link-local through eth0, port 40000 * - USB backend, "usb:"\n When more than one usb device is attached, requires * bus, address, and interface parts separated with a dot. For example * "usb:3.32.5". Where there is only one USB device attached, the shorthand