---
name: "lxi_discover_if"
section: "3"
platform: "linux"
package: "liblxi-dev"
version: "1.22-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lxi_discover_if"
---

# lxi\_discover\_if(3)

search for LXI devices on network via specified network interface

## NAME

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

## SYNOPSIS

**#include \<lxi.h\>**

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

## 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

[**lxi\_discover**(3)](/lxi_discover/3.md)
