73#define mv_base siv_base
@ msg_n_fragments
Number of external buffers.
Definition msg_addr.h:66
@ msg_min_size
Minimum size of a message buffer.
Definition msg_addr.h:62
@ msg_min_block
Minimum size of external buffer.
Definition msg_addr.h:64
int msg_get_address(msg_t *msg, su_sockaddr_t *, socklen_t *)
Get message address.
Definition msg.c:303
issize_t msg_buf_external(msg_t *msg, usize_t N, usize_t blocksize)
Allocate a list of external buffers.
Definition msg_parser.c:738
int msg_set_address(msg_t *msg, su_sockaddr_t const *, socklen_t)
Set message address.
Definition msg.c:329
isize_t msg_recv_commit(msg_t *msg, usize_t n, int eos)
Commit n bytes of buffers.
Definition msg_parser.c:527
isize_t msg_iovec(msg_t *msg, msg_iovec_t vec[], isize_t veclen)
Fill an I/O vector with message contents.
Definition msg_parser.c:2069
issize_t msg_recv_iovec(msg_t *msg, msg_iovec_t vec[], isize_t veclen, usize_t n, int exact)
Obtain I/O vector for receiving the data.
Definition msg_parser.c:339
void msg_addr_zero(msg_t *msg)
Zero the message address.
Definition msg.c:269
void msg_clear_committed(msg_t *msg)
Clear committed data.
Definition msg_parser.c:608
issize_t msg_recv_buffer(msg_t *msg, void **return_buffer)
Obtain a buffer for receiving data.
Definition msg_parser.c:470
void msg_set_errno(msg_t *msg, int err)
Set error number associated with message.
Definition msg.c:431
int msg_set_next(msg_t *msg, msg_t *next)
Set next message of the stream.
Definition msg_parser.c:591
msg_t * msg_next(msg_t *msg)
Get a next message of the stream.
Definition msg_parser.c:564
su_addrinfo_t * msg_addrinfo(msg_t *msg)
Get addrinfo structure.
Definition msg.c:354
int msg_errno(msg_t const *msg)
Get error number associated with message.
Definition msg.c:418
su_sockaddr_t * msg_addr(msg_t *msg)
Get pointer to socket address structure.
Definition msg.c:284
void msg_addr_copy(msg_t *dst, msg_t const *src)
Copy message address.
Definition msg.c:371
Message object.
Definition msg_internal.h:59
struct addrinfo su_addrinfo_t