rc_acct(3)

rc_acct3

Builds an accounting request for port id nas_port with the value_pairs at send.

Usage

#include <radcli/>

int rc_acct(
    rc_handle   *rh,
    uint32_t     nas_port,
    VALUE_PAIR  *send
);

Overview

Parameters

rh

a handle to parsed configuration.

nas_port

the physical NAS port number to use (may be zero).

send

a VALUE_PAIR array of values (e.g., PW_USER_NAME).

Return value

received value_pairs in received, and OK_RC (0) on success, CHALLENGE_RC (3) on Access-Challenge received, negative on failure as return value.

Releases

4 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–13
  2. Arch

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