radcli_dae_reply(3)

radcli_dae_reply3

Answer a request with an ack or nak, selecting 41/42 or 44/45 from the request's own code, mirroring its proxy-state attributes, and computing the response authenticator over the request's authenticator.

Usage

#include <radcli/>

int radcli_dae_reply(
    radcli_dae_request  *req,
    int                  ack
);

Overview

Parameters

req

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

ack

non-zero for an ACK (Disconnect-ACK/CoA-ACK), zero for a bare NAK with no Error-Cause attribute most callers rejecting a request should use radcli_dae_reply_error() instead, which also states why.

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.