Function libzt::zts_set_ttl [−][src]
pub unsafe extern "C" fn zts_set_ttl(fd: c_int, ttl: c_int) -> c_int
Expand description
@brief Set the value of IP_TTL
@param fd Socket file descriptor
@param ttl Value of IP_TTL
@return ZTS_ERR_OK
if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno