radcli_dae_reply_error(3)

radcli_dae_reply_error3

Answer a request with a nak carrying the given error-cause.

Usage

#include <radcli/>

int radcli_dae_reply_error(
    radcli_dae_request  *req,
    uint32_t             error_cause
);

Overview

Parameters

req

a request passed to a radcli_dae_handler, not yet replied to.

error_cause

a radcli_error_cause value (e.g. RADCLI_ERROR_SESSION_CONTEXT_NOT_FOUND), encoded as attribute 101.

Return value

0 once the reply is handed to the network, -1 on failure (req is NULL, already replied to, or the reply could not be sent).

From radcli 2.0.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.