libexplain
1.4.D001
|
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/ac/net/if_ppp.h>
#include <libexplain/iocontrol/disambiguate/if_ppp.h>
Go to the source code of this file.
Functions | |
int | explain_iocontrol_disambiguate_is_if_ppp (int fildes, int request, const void *data) |
int explain_iocontrol_disambiguate_is_if_ppp | ( | int | fildes, |
int | request, | ||
const void * | data | ||
) |
The explain_iocontrol_disambiguate_is_if_ppp function is used to determine whether or not a file descriptor refers to a PPP interface.
This is used be the icotl explanations to disambiguate ioctl request numbers in the shared range. This dictates the return values.
fildes | The file descriptor of interest |
request | The request number of interest |
data | The accompanying data. |