---
name: "dev_close"
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_close"
---

# dev\_close(9)

shutdown an interface.

## NAME

dev\_close - shutdown an interface.

## SYNOPSIS

**int dev\_close(struct net\_device \*** *dev***);**

## ARGUMENTS

*dev*

device to shutdown

## DESCRIPTION

This function moves an active device into down state. A **NETDEV\_GOING\_DOWN** is sent to the netdev notifier chain. The device is then deactivated and finally a **NETDEV\_DOWN** is sent to the notifier chain.

## COPYRIGHT
