---
name: "sppp_do_ioctl"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/sppp_do_ioctl"
---

# sppp\_do\_ioctl(9)

Ioctl handler for ppp/hdlc

## NAME

sppp\_do\_ioctl - Ioctl handler for ppp/hdlc

## SYNOPSIS

**int sppp\_do\_ioctl(struct net\_device \*** *dev***, struct ifreq \*** *ifr***, int** *cmd***);**

## ARGUMENTS

*dev*

Device subject to ioctl

*ifr*

Interface request block from the user

*cmd*

Command that is being issued

## DESCRIPTION

This function handles the ioctls that may be issued by the user to control the settings of a PPP/HDLC link. It does both busy and security checks. This function is intended to be wrapped by callers who wish to add additional ioctl calls of their own.

## COPYRIGHT
