libosmocore 1.9.0.105-ca54.202312162026
Osmocom core library
iofd_msghdr Struct Reference

serialized version of 'struct msghdr' employed by sendmsg/recvmsg More...

#include <osmo_io_internal.h>

Data Fields

struct llist_head list
 entry into osmo_io_fd.tx_queue.msg_queue More...
 
enum iofd_msg_action action
 
struct msghdr hdr
 the 'struct msghdr' we are wrapping/ecapsulating here More...
 
struct osmo_sockaddr osa
 socket address of the remote peer More...
 
struct iovec iov [1]
 io-vector we need to pass as argument to sendmsg/recvmsg; is set up to point into msg below More...
 
int flags
 flags we pass as argument to sendmsg / recvmsg More...
 
struct msgbmsg
 message-buffer containing data for this I/O operation More...
 
struct osmo_io_fdiofd
 I/O file descriptor on which we perform this I/O operation. More...
 

Detailed Description

serialized version of 'struct msghdr' employed by sendmsg/recvmsg

Field Documentation

◆ action

enum iofd_msg_action iofd_msghdr::action

◆ flags

int iofd_msghdr::flags

flags we pass as argument to sendmsg / recvmsg

◆ hdr

struct msghdr iofd_msghdr::hdr

the 'struct msghdr' we are wrapping/ecapsulating here

◆ iofd

struct osmo_io_fd* iofd_msghdr::iofd

I/O file descriptor on which we perform this I/O operation.

◆ iov

struct iovec iofd_msghdr::iov[1]

io-vector we need to pass as argument to sendmsg/recvmsg; is set up to point into msg below

◆ list

struct llist_head iofd_msghdr::list

entry into osmo_io_fd.tx_queue.msg_queue

◆ msg

struct msgb* iofd_msghdr::msg

message-buffer containing data for this I/O operation

◆ osa

struct osmo_sockaddr iofd_msghdr::osa

socket address of the remote peer


The documentation for this struct was generated from the following file: