---
name: "dev_get_iflink"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dev_get_iflink"
---

# dev\_get\_iflink(9)

get 'iflink' value of a interface

## NAME

dev\_get\_iflink - get 'iflink' value of a interface

## SYNOPSIS

**int dev\_get\_iflink(const struct net\_device \*** *dev***);**

## ARGUMENTS

*dev*

targeted interface

## DESCRIPTION

Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.

## COPYRIGHT
