radcli_dae_reply_error(3)
πΈ NAME πΈ
radcli_dae_reply_error(3) β Answer a request with a NAK carrying the given Error-Cause. β¨
okay bestie, welcome to radcli_dae_reply_error(3), fresh out of the Radius client library. This is the little reply-error icon weβre talking about today. π
π¦ SYNOPSIS π¦
#include <radcli/>
int radcli_dae_reply_error(
radcli_dae_request *req,
uint32_t error_cause
);
π DESCRIPTION π
Okay so picture this: this is the function that answers a request with a NAK carrying the given Error-Cause. Short, iconic, to the point. No cap, thatβs the vibe. π
π PARAMETERS π
reqβ a request passed to aradcli_dae_handler, not yet replied to. Sheβs still waiting for her moment, okay? π«Άerror_causeβ aradcli_error_causevalue (e.g.RADCLI_ERROR_SESSION_CONTEXT_NOT_FOUND), encoded as attribute101. Yes, attribute101, put some respect on it. β
π₯ RETURN VALUE π₯
0β once the reply is handed to the network. slay, delivered. β-1β on failure (reqis NULL, already replied to, or the reply could not be sent). oof, bestie, something went sideways. π
π SEE ALSO π
radcli_ctx_dispatch(3)radcli_ctx_get_poll(3)radcli_dae_free(3)radcli_dae_new(3)radcli_dae_process(3)radcli_dae_reply(3)radcli_dae_reply_to_buffer(3)radcli_dae_req_attrs(3)radcli_dae_req_code(3)radcli_dae_req_framed_ip(3)radcli_dae_req_nas_port(3)radcli_dae_req_session_id(3)radcli_dae_req_user_name(3)radcli_dae_request_free(3)radcli_dae_set_handler(3)radcli_dae_start(3)
thatβs the whole page, bestie β brought to you by radcli, dated 2026-10-10, and filed under radcli_dae_reply_error(3). π
β¨π
π¦ where this page comes from
- arch rolling: radcli 2.0.1-1 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms