Structs§
- IoVec
- Analogous to
libc::iovec. - IoVec
Reader - A reader which reads data from
IoVecbuffers of plugin memory. - IoVec
Writer - A writer which writes data to
IoVecbuffers of plugin memory. - MsgHdr
- Analogous to
libc::msghdr.
Functions§
- read_
cstring_ vec - 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_
iovecs - Read a plugin’s array of
libc::iovecinto aVec<IoVec>. - read_
msghdr - Read a plugin’s
libc::msghdrinto aMsgHdr. - read_
sockaddr - update_
msghdr - Used to update a
libc::msghdr. Only writes thelibc::msghdrmsg_namelen,msg_controllen, andmsg_flagsfields, which are the only fields that can be changed byrecvmsg(). - write_
partial - Writes
valtoval_ptr, but will only write a partial value ifval_len_bytesis smaller than the size ofval. Returns the number of bytes written. - write_
sockaddr - Writes the socket address into a buffer at
plugin_addrwith lengthplugin_addr_len. - write_
sockaddr_ and_ len - Writes the socket address into a buffer at
plugin_addrwith lengthplugin_addr_len, and writes the socket address length intoplugin_addr_len.