lxi\_discover\_if(3) C Library Functions lxi\_discover\_if(3)

# [NAME](#NAME)

lxi\_discover\_if - search for LXI devices on network via specified network interface

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;lxi.h&gt;**

**int lxi\_discover\_if(lxi\_info\_t \*info, const char \*ifname, int timeout, lxi\_discover\_t type);**

# [DESCRIPTION](#DESCRIPTION)

The **lxi\_discover\_if()** function works exactly like **lxi\_discover()** but adds an additional parameter *ifname* which specifies the name of the network interface to broadcast on when using the *DISCOVER\_VXI11* discovery type. The *ifname* parameter is ignored for other discovery types.

# [SEE ALSO](#SEE_ALSO)

[**lxi\_discover**(3)](/man/enterprise-packages/liblxi/lxi_discover.3)

2024-11-08 liblxi 1.22

---

Document: lxi_discover_if(3) from liblxi 1.22-r4 (Chainguard OS)
Source: https://github.com/lxi-tools/liblxi
