riot_sys::bindgen

Function ipv6_addr_init_iid

Source
pub unsafe extern "C" fn ipv6_addr_init_iid(
    out: *mut ipv6_addr_t,
    iid: *const u8,
    bits: u8,
)
Expand description

@brief Sets the last @p bits of IPv6 address @p out to @p iid. Leading bits of @p out stay untouched.

@param[out] out IPv6 address to be set. @param[in] iid buffer representing the iid. @param[in] bits Bits to be copied from @p iid to @p out (set to 128 when greater than 128).