Structs§
- Analogous to
libc::iovec
. - A reader which reads data from
IoVec
buffers of plugin memory. - A writer which writes data to
IoVec
buffers of plugin memory. - Analogous to
libc::msghdr
.
Functions§
- Read an array of strings, each of which with max length
linux_api::limits::ARG_MAX
. e.g. suitable forexecve
’s argument and environment string lists. - Read a plugin’s array of
libc::iovec
into aVec<IoVec>
. - Read a plugin’s
libc::msghdr
into aMsgHdr
. - Used to update a
libc::msghdr
. Only writes thelibc::msghdr
msg_namelen
,msg_controllen
, andmsg_flags
fields, which are the only fields that can be changed byrecvmsg()
. - Writes
val
toval_ptr
, but will only write a partial value ifval_len_bytes
is smaller than the size ofval
. Returns the number of bytes written. - Writes the socket address into a buffer at
plugin_addr
with lengthplugin_addr_len
. - Writes the socket address into a buffer at
plugin_addr
with lengthplugin_addr_len
, and writes the socket address length intoplugin_addr_len
.