riot_sys::bindgen

Function dhcpv6_client_req_ia_pd

Source
pub unsafe extern "C" fn dhcpv6_client_req_ia_pd(
    netif: c_uint,
    pfx_len: c_uint,
) -> c_int
Expand description

@name Configuration functions @anchor net_dhcpv6_client_conf @{ / /** @brief Configures the client to request prefix delegation for a network interface from a server

@pre Module dhcpv6_client_ia_pd is compiled in. @pre pfx_len <= 128

Without module dhcpv6_client_ia_pd and NDEBUG set this function is a NOP. Without module dhcpv6_client_ia_pd and NDEBUG unset this function will abort the running code on a failed assertion.

@param[in] netif The interface to request the prefix delegation for. @param[in] pfx_len The desired length of the prefix (note that the server might not consider this request). Must be <= 128

@retval 0 on success @retval -ENOMEM when there is no lease entry available anymore @retval -ENOTSUP when module dhcpv6_client_ia_pd is not being used