posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
msghdr Struct Reference

Message header for sendmsg() and recvmsg(). More...

#include <zephyr/posix/sys/socket.h>

Collaboration diagram for msghdr:

Data Fields

void * msg_name
 Optional socket address.
 
socklen_t msg_namelen
 Size of socket address.
 
struct iovecmsg_iov
 Scatter/gather array.
 
size_t msg_iovlen
 Number of elements in msg_iov.
 
void * msg_control
 Ancillary data.
 
size_t msg_controllen
 Ancillary data buffer length.
 
int msg_flags
 Flags on received message.
 

Detailed Description

Message header for sendmsg() and recvmsg().

Definition at line 76 of file socket.h.

Field Documentation

◆ msg_control

void* msghdr::msg_control

Ancillary data.

Definition at line 81 of file socket.h.

◆ msg_controllen

size_t msghdr::msg_controllen

Ancillary data buffer length.

Definition at line 82 of file socket.h.

◆ msg_flags

int msghdr::msg_flags

Flags on received message.

Definition at line 83 of file socket.h.

◆ msg_iov

struct iovec* msghdr::msg_iov

Scatter/gather array.

Definition at line 79 of file socket.h.

◆ msg_iovlen

size_t msghdr::msg_iovlen

Number of elements in msg_iov.

Definition at line 80 of file socket.h.

◆ msg_name

void* msghdr::msg_name

Optional socket address.

Definition at line 77 of file socket.h.

◆ msg_namelen

socklen_t msghdr::msg_namelen

Size of socket address.

Definition at line 78 of file socket.h.


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