enum rpc_ioctl_code

Overview

TA-independent IOCTL codes More…

#include <te_rpc_sys_socket.h>

enum rpc_ioctl_code {
    RPC_SIOCGSTAMP,
    RPC_SIOCGSTAMPNS,
    RPC_FIOASYNC,
    RPC_FIONBIO,
    RPC_FIONREAD,
    RPC_FIONCLEX,
    RPC_FIOCLEX,
    RPC_SIOCATMARK,
    RPC_SIOCINQ,
    RPC_SIOCOUTQ,
    RPC_TIOCOUTQ,
    RPC_SIOCSPGRP,
    RPC_SIOCGPGRP,
    RPC_SIOCGIFCONF,
    RPC_SIOCGIFNAME,
    RPC_SIOCGIFINDEX,
    RPC_SIOCGIFFLAGS,
    RPC_SIOCSIFFLAGS,
    RPC_SIOCGIFADDR,
    RPC_SIOCSIFADDR,
    RPC_SIOCGIFNETMASK,
    RPC_SIOCSIFNETMASK,
    RPC_SIOCGIFBRDADDR,
    RPC_SIOCSIFBRDADDR,
    RPC_SIOCGIFDSTADDR,
    RPC_SIOCSIFDSTADDR,
    RPC_SIOCGIFHWADDR,
    RPC_SIOCGIFMTU,
    RPC_SIOCSIFMTU,
    RPC_SIOCSARP,
    RPC_SIOCDARP,
    RPC_SIOCGARP,
    RPC_SG_IO,
    RPC_SIOCETHTOOL,
    RPC_SIOCSHWTSTAMP,
    RPC_SIOCGHWTSTAMP,
    RPC_PTP_CLOCK_GETCAPS,
    RPC_PTP_SYS_OFFSET,
    RPC_PTP_SYS_OFFSET_EXTENDED,
    RPC_PTP_SYS_OFFSET_PRECISE,
    RPC_SIO_ADDRESS_LIST_CHANGE,
    RPC_SIO_ADDRESS_LIST_QUERY,
    RPC_SIO_ADDRESS_LIST_SORT,
    RPC_SIO_ASSOCIATE_HANDLE,
    RPC_SIO_CHK_QOS,
    RPC_SIO_ENABLE_CIRCULAR_QUEUEING,
    RPC_SIO_FIND_ROUTE,
    RPC_SIO_FLUSH,
    RPC_SIO_GET_BROADCAST_ADDRESS,
    RPC_SIO_GET_EXTENSION_FUNCTION_POINTER,
    RPC_SIO_GET_GROUP_QOS,
    RPC_SIO_GET_QOS,
    RPC_SIO_KEEPALIVE_VALS,
    RPC_SIO_MULTIPOINT_LOOPBACK,
    RPC_SIO_MULTICAST_SCOPE,
    RPC_SIO_RCVALL,
    RPC_SIO_RCVALL_IGMPMCAST,
    RPC_SIO_RCVALL_MCAST,
    RPC_SIO_ROUTING_INTERFACE_CHANGE,
    RPC_SIO_ROUTING_INTERFACE_QUERY,
    RPC_SIO_SET_GROUP_QOS,
    RPC_SIO_SET_QOS,
    RPC_SIO_TRANSLATE_HANDLE,
    RPC_SIO_UDP_CONNRESET,
    RPC_SIO_INDEX_BIND,
    RPC_SIO_UCAST_IF,
    RPC_BLKFLSBUF,
    RPC_SIOUNKNOWN,
};

Detailed Documentation

TA-independent IOCTL codes

Enum Values

RPC_SIOCGSTAMP

Return timestamp of the last packet passed to the user

RPC_SIOCGSTAMPNS

Return timestamp of the last packet passed to the user in timespec structure

RPC_FIOASYNC

Enable/disable asynchronous I/O mode of the socket

RPC_FIONBIO

Enable/disable non-blocking for socket I/O

RPC_FIONREAD

Get number of immediately readable bytes

RPC_SIOCATMARK

Determine if the current location in the input data is pointing to out-of-band data

RPC_SIOCINQ

(TCP) Returns the amount of queued unread data in the receive buffer. (UDP) Returns the size of the next pending datagram.

RPC_SIOCOUTQ

Returns the amount of unsent data in the socket send queue.

RPC_TIOCOUTQ

Synonym of the RPC_SIOCOUTQ option

RPC_SIOCSPGRP

Set the process of process group to send SIGIO or SIGURG signals to when an asynchronous I/O operation has been finished or urgent data is available

RPC_SIOCGPGRP

Get the current process or process group that receives SIGIO or SIGURG signals.

RPC_SIOCGIFCONF

Get the list of network interfaces and their configuration

RPC_SIOCGIFFLAGS

Get interface flags

RPC_SIOCSIFFLAGS

Set interface flags

RPC_SIOCGIFADDR

Get the network interface address

RPC_SIOCSIFADDR

Set the network interface address

RPC_SIOCGIFNETMASK

Get the network interface mask

RPC_SIOCSIFNETMASK

Set the network interface mask

RPC_SIOCGIFBRDADDR

Get the network interface broadcast address

RPC_SIOCSIFBRDADDR

Set the network interface broadcast address

RPC_SIOCGIFDSTADDR

Get destination IP address of the interface in case

RPC_SIOCSIFDSTADDR

Set destination IP address of the interface in case

RPC_SIOCGIFHWADDR

Get hardware address of a network interface

RPC_SIOCGIFMTU

Get the value of MTU on a network interface

RPC_SIOCSIFMTU

Set the value of MTU on a network interface

RPC_SIOCSARP

Set ARP mapping

RPC_SIOCDARP

Delete ARP mapping

RPC_SIOCGARP

Get ARP mapping

RPC_SIOCETHTOOL

Linux-specific Ethtool

RPC_PTP_CLOCK_GETCAPS

Get PTP clock capabilities

RPC_PTP_SYS_OFFSET

Get a few samples of system and PTP clock times obtained at the same moment

RPC_PTP_SYS_OFFSET_EXTENDED

Extended version of PTP_SYS_OFFSET providing three timestamps per sample

RPC_PTP_SYS_OFFSET_PRECISE

Estimate offset between system and PTP clocks using getcrosststamp() callback in driver

RPC_SIOUNKNOWN

Invalid ioctl code