Skip to content

Commit

Permalink
iio.h: Document URI for IPv6 addresses with interface name
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pcercuei committed Jul 10, 2023
1 parent 79ae05b commit 007d10a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <i>"usb:3.32.5"</i>. Where there is only one USB device attached, the shorthand
Expand Down

0 comments on commit 007d10a

Please sign in to comment.