pub unsafe extern "C" fn netif_set_opt(
netif: *const netif_t,
opt: netopt_t,
context: u16,
value: *mut c_void,
value_len: size_t,
) -> c_int
Expand description
@brief Sets option to an interface
@note Supposed to be implemented by the networking module
@param[in] netif A network interface. @param[in] opt Option type. @param[in] context (Optional) context to the given option @param[in] value Pointer to store the option’s value in. @param[in] value_len The length of @p value.
@return Number of bytes used from @p value.
@return < 0
on error, 0 on success.