pub unsafe extern "C" fn ares_dns_rr_set_u16(
    dns_rr: *mut ares_dns_rr_t,
    key: ares_dns_rr_key_t,
    val: c_ushort
) -> ares_status_t
Expand description

Set 16bit unsigned integer for specified resource record and key. Can only be used on keys with datatype ARES_DATATYPE_U16

\param[in] dns_rr Pointer to resource record \param[in] key DNS Resource Record Key \param[in] val 16bit unsigned integer \return ARES_SUCCESS on success