DVB net Function Calls

NET_ADD_IF
NET_REMOVE_IF
NET_GET_IF

To be written…

NET_ADD_IF

DESCRIPTION

This ioctl is undocumented. Documentation is welcome.

SYNOPSIS

int ioctl(fd, int request = NET_ADD_IF, struct dvb_net_if *if);

PARAMETERS

int fd

File descriptor returned by a previous call to open().

int request

Equals NET_ADD_IF for this command.

struct dvb_net_if *if

Undocumented.

RETURN VALUE

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.

NET_REMOVE_IF

DESCRIPTION

This ioctl is undocumented. Documentation is welcome.

SYNOPSIS

int ioctl(fd, int request = NET_REMOVE_IF);

PARAMETERS

int fd

File descriptor returned by a previous call to open().

int request

Equals NET_REMOVE_IF for this command.

RETURN VALUE

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.

NET_GET_IF

DESCRIPTION

This ioctl is undocumented. Documentation is welcome.

SYNOPSIS

int ioctl(fd, int request = NET_GET_IF, struct dvb_net_if *if);

PARAMETERS

int fd

File descriptor returned by a previous call to open().

int request

Equals NET_GET_IF for this command.

struct dvb_net_if *if

Undocumented.

RETURN VALUE

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.