rc_buildreq(3)

rc_buildreq3

Build a skeleton radius request using information from the config file.

Usage

#include <radcli/>

void rc_buildreq(
    rc_handle const  *rh,
    SEND_DATA        *data,
    int               code,
    char             *server,
    unsigned short    port,
    char             *secret,
    int               timeout,
    int               retries
);

Overview

Parameters

rh

a handle to parsed configuration.

data

a pointer to a SEND_DATA structure.

code

one of standard RADIUS codes (e.g., PW_ACCESS_REQUEST).

server

the name of the server.

port

the server's port number.

secret

the secret used by the server.

timeout

the timeout in seconds of a message.

retries

the number of retries.

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.