Lines Matching refs:an
8 The generic PPP driver in linux-2.4 provides an implementation of the
56 * ioctl() provides an interface which can be used by a user-space
58 procedure will be called when a user-space program does an ioctl
59 system call on an instance of /dev/ppp which is bound to the
86 (e.g. an ioctl) to transmit this back to user-space, as user-space
87 will need it to attach an instance of /dev/ppp to this channel.
101 communications medium and prepare it to do PPP. For example, with an
123 The channel must provide an instance of a ppp_channel struct to
255 this way an effect similar to Solaris' clone open is obtained,
256 allowing us to control an arbitrary number of PPP interfaces and
260 unattached. Using an ioctl call, it can then be attached to an
261 existing unit, attached to a newly-created unit, or attached to an
264 calls, along with poll() if necessary. Similarly, an instance
270 write to the unit (i.e., to an instance of /dev/ppp attached to the
278 It can then be connected to a PPP unit with an ioctl call, which
281 The ioctl calls which are available on an instance of /dev/ppp depend
283 to a PPP channel. The ioctl calls which are available on an
288 an int which is the desired unit number if >= 0, or -1 to assign the
293 * PPPIOCATTACH attaches this instance to an existing PPP interface.
294 The argument should point to an int containing the unit number.
297 * PPPIOCATTCHAN attaches this instance to an existing PPP channel.
298 The argument should point to an int containing the channel number.
300 The ioctl calls available on an instance of /dev/ppp attached to a
306 with an EINVAL error if more than one file descriptor refers to this
310 argument should point to an int containing the interface unit
311 number. It will return an EINVAL error if the channel is already
312 connected to an interface, or ENXIO if the requested interface does
316 it is connected to. It will return an EINVAL error if the channel
317 is not connected to an interface.
321 The ioctl calls that are available on an instance that is attached to
322 an interface unit are:
325 The argument should point to an int containing the new MRU value.
328 interface. The argument should be a pointer to an int containing
351 interface unit. The argument should point to an int where the ioctl
397 protocol. The argument should point to an npioctl struct (defined
404 NPMODE_ERROR drop packets and return an error on transmit
412 protocol. The argument should point to an npioctl struct with the
427 unit). The argument should point to an int containing the new MRRU