The msghdr structure is used by the recvmsg() and sendmsg() functions.

Public Attributes#

void *

ancillary data

ancillary data buffer length

int

flags on received message

struct iovec *

scatter/gather array

void *

ptr to socket address structure

size of socket address structure

Public Attribute Documentation#

msg_control#

void* msghdr::msg_control

ancillary data


Definition at line 404 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_controllen#

socklen_t msghdr::msg_controllen

ancillary data buffer length


Definition at line 405 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_flags#

int msghdr::msg_flags

flags on received message


Definition at line 406 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_iov#

struct iovec* msghdr::msg_iov

scatter/gather array


Definition at line 402 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_iovlen#

int msghdr::msg_iovlen

elements in msg_iov#


Definition at line 403 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_name#

void* msghdr::msg_name

ptr to socket address structure


Definition at line 400 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h

msg_namelen#

socklen_t msghdr::msg_namelen

size of socket address structure


Definition at line 401 of file /mnt/raid/workspaces/ws.TauBzA8CM/overlay/gsdk/protocol/wisun/stack/inc/socket/socket.h