22 #ifndef _RTDM_UAPI_IPC_H 23 #define _RTDM_UAPI_IPC_H 69 int socket__AF_RTIPC(
int domain =AF_RTIPC,
int type =SOCK_DGRAM,
int protocol);
249 const void *optval, socklen_t optlen);
273 void *optval, socklen_t *optlen);
396 #include <cobalt/uapi/kernel/types.h> 397 #include <cobalt/uapi/kernel/pipe.h> 398 #include <rtdm/rtdm.h> 404 #define PF_RTIPC AF_RTIPC 557 #define XDDP_POOLSZ 2 650 #define XDDP_MONITOR 4 675 #define XDDP_EVTOUT 2 682 #define XDDP_EVTDOWN 3 695 #define XDDP_EVTNOBUF 4 767 #define IDDP_POOLSZ 2 852 #define SO_SNDTIMEO defined_by_kernel_header_file 863 #define SO_RCVTIMEO defined_by_kernel_header_file int setsockopt__AF_RTIPC(int sockfd, int level, int optname, const void *optval, socklen_t optlen)
Set options on RTIPC sockets.
Socket address structure for the RTIPC address family.
Definition: ipc.h:480
int16_t rtipc_port_t
Port number type for the RTIPC address family.
Definition: ipc.h:467
ssize_t sendmsg__AF_RTIPC(int sockfd, const struct msghdr *msg, int flags)
Send a message on a RTIPC socket.
rtipc_port_t sipc_port
Port number.
Definition: ipc.h:484
Intra-domain datagram protocol (RT <-> RT).
Definition: ipc.h:446
int close__AF_RTIPC(int sockfd)
Close a RTIPC socket descriptor.
Cross-domain datagram protocol (RT <-> non-RT).
Definition: ipc.h:439
int socket__AF_RTIPC(int domain=AF_RTIPC, int type=SOCK_DGRAM, int protocol)
Create an endpoint for communication in the AF_RTIPC domain.
ssize_t recvmsg__AF_RTIPC(int sockfd, struct msghdr *msg, int flags)
Receive a message from a RTIPC socket.
int getpeername__AF_RTIPC(int sockfd, struct sockaddr_ipc *addr, socklen_t *addrlen)
Get socket peer.
char label[XNOBJECT_NAME_LEN]
Port label string, null-terminated.
Definition: ipc.h:474
int getsockopt__AF_RTIPC(int sockfd, int level, int optname, void *optval, socklen_t *optlen)
Get options on RTIPC sockets.
int connect__AF_RTIPC(int sockfd, const struct sockaddr_ipc *addr, socklen_t addrlen)
Initiate a connection on a RTIPC socket.
Buffer protocol (RT <-> RT, byte-oriented).
Definition: ipc.h:459
Default protocol (IDDP)
Definition: ipc.h:413
Port label information structure.
Definition: ipc.h:472
sa_family_t sipc_family
RTIPC address family, must be AF_RTIPC.
Definition: ipc.h:482
int getsockname__AF_RTIPC(int sockfd, struct sockaddr_ipc *addr, socklen_t *addrlen)
Get socket name.
int bind__AF_RTIPC(int sockfd, const struct sockaddr_ipc *addr, socklen_t addrlen)
Bind a RTIPC socket to a port.