---
name: "netif_device_attach"
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/netif_device_attach"
---

# netif\_device\_attach(9)

mark device as attached

## NAME

netif\_device\_attach - mark device as attached

## SYNOPSIS

**void netif\_device\_attach(struct net\_device \*** *dev***);**

## ARGUMENTS

*dev*

network device

## DESCRIPTION

Mark device as attached from system and restart if needed.

## COPYRIGHT
