pub unsafe extern "C" fn gnrc_ipv6_ext_build(
    ipv6: *mut gnrc_pktsnip_t,
    next: *mut gnrc_pktsnip_t,
    nh: u8,
    size: size_t
) -> *mut gnrc_pktsnip_t
Expand description

@brief Builds an extension header for sending.

@param[in] ipv6 The IPv6 header. Can be NULL. @param[in] next The next header. Must be a successor to @p ipv6 if it is not NULL. @param[in] nh @ref net_protnum of the next header. @param[in] size Size of the extension header.

@return The extension header on success. @return NULL, on error.