enum rpc_send_recv_flags
Overview
TA-independent send/receive flags. More…
#include <te_rpc_sys_socket.h> enum rpc_send_recv_flags { RPC_MSG_OOB = 1, RPC_MSG_PEEK = 2, RPC_MSG_DONTROUTE = 4, RPC_MSG_DONTWAIT = 8, RPC_MSG_WAITALL = 0x10, RPC_MSG_NOSIGNAL = 0x20, RPC_MSG_TRUNC = 0x40, RPC_MSG_CTRUNC = 0x80, RPC_MSG_ERRQUEUE = 0x100, RPC_MSG_MCAST = 0x200, RPC_MSG_BCAST = 0x400, RPC_MSG_MORE = 0x800, RPC_MSG_CONFIRM = 0x1000, RPC_MSG_EOR = 0x2000, RPC_MSG_PARTIAL = 0x4000, RPC_MSG_WAITFORONE = 0x8000, RPC_MSG_WARM = 0x10000, RPC_MSG_ONEPKT = 0x20000, RPC_MSG_UNKNOWN = 0x40000, };
Detailed Documentation
TA-independent send/receive flags.
Enum Values
RPC_MSG_OOB
Receive out-of-band data
RPC_MSG_PEEK
Do not remove data from the queue
RPC_MSG_DONTROUTE
Send to directly connected network
RPC_MSG_DONTWAIT
Do not block
RPC_MSG_WAITALL
Block until full request is specified
RPC_MSG_NOSIGNAL
Turn off raising of SIGPIPE
RPC_MSG_TRUNC
Return the real length of the packet, even when it was longer than the passed buffer
RPC_MSG_CTRUNC
Control data lost before delivery
RPC_MSG_ERRQUEUE
Queued errors should be received from the socket error queue
RPC_MSG_MCAST
Datagram was received as a link-layer multicast
RPC_MSG_BCAST
Datagram was received as a link-layer broadcast
RPC_MSG_MORE
The caller has more data to send
RPC_MSG_CONFIRM
Tell the link layer that forward progress happened
RPC_MSG_EOR
Terminates a record
RPC_MSG_PARTIAL
Don’t fail if the message is truncated; indicates truncated message on output
RPC_MSG_WAITFORONE
recvmmsg(): block until 1+ packets avail
RPC_MSG_WARM
Do ‘fake’ sends to keep the send path warm (onload specific)
RPC_MSG_ONEPKT
Receive data only up to the next packet boundary (onload specific)
RPC_MSG_UNKNOWN
Incorrect flag