radcli_avp...ds64_by_num(3)
π NAME
radcli_avp_add_gigawords64_by_num β Look up the octets attribute by legacy numeric ID and append a 64-bit counter as an Octets/Gigawords pair.
Okay so welcome to the radcli_avp...ds64_by_num(3) page from the Radius client library manual, bestie! β¨
πΈ SYNOPSIS
#include <radcli/>
int radcli_avp_add_gigawords64_by_num(
radcli_ctx *ctx,
radcli_avp_list *list,
uint32_t attrid,
uint32_t vendor,
uint64_t value
);
π DESCRIPTION
This is the _by_num() wrapper for radcli_avp_add_gigawords64(). But hereβs the twist: unlike the other _by_num() wrappers, only one attribute ID is needed here β not two β the Gigawords counterpart is resolved from octets' own dictionary entry (its gigawords= option), the same way radcli_avp_add_gigawords64() resolves it from a radcli_attr_def *. Itβs giving βone ID, dictionary-entry matchmakingβ energy. π
π¦ PARAMETERS
ctxβ a context with a dictionary loaded. Yes, the dictionary is kinda the whole point, bestie. πlistβ destination list.attridβ the octets attribute's ID (e.g.PW_ACCT_INPUT_OCTETS).vendorβ the vendor PEN, or0for a standard attribute.valueβ the full 64-bit count.
β¨ RETURN VALUE
0on success β slay. β-1on failure (no such attribute, or asradcli_avp_add_gigawords64()). π
π SEE ALSO
Your fave supporting cast, all hanging out in (3)-land: radcli_avp_add_bytes(3), radcli_avp_add_bytes_by_num(3), radcli_avp_add_gigawords64(3), radcli_avp_add_ip4(3), radcli_avp_add_ip4_by_num(3), radcli_avp_add_ip4prefix(3), radcli_avp_add_ip4prefix_by_num(3), radcli_avp_add_ip6(3), radcli_avp_add_ip6_by_num(3), radcli_avp_add_str(3), radcli_avp_add_str_by_num(3), radcli_avp_add_uint32(3), radcli_avp_add_uint32_by_num(3), radcli_avp_add_uint64(3), radcli_avp_add_uint64_by_num(3), radcli_avp_add_username(3), radcli_avp_concat_str(3), radcli_avp_concat_str_by_num(3), radcli_avp_def(3), radcli_avp_get(3), radcli_avp_get_by_num(3), radcli_avp_get_bytes(3), radcli_avp_get_bytes_by_num(3), radcli_avp_get_cstr(3), radcli_avp_get_cstr_by_num(3), radcli_avp_get_gigawords64(3), radcli_avp_get_gigawords64_by_num(3), radcli_avp_get_ip4prefix(3), radcli_avp_get_ip4prefix_by_num(3), radcli_avp_get_ip6(3), radcli_avp_get_ip6_by_num(3), radcli_avp_get_uint32(3), radcli_avp_get_uint32_by_num(3), radcli_avp_get_uint64(3), radcli_avp_get_uint64_by_num(3), radcli_avp_iter_next(3), radcli_avp_list_error(3), radcli_avp_list_free(3), radcli_avp_list_iter(3), radcli_avp_list_new(3).
Catch you later, bestie π«Ά β this pageβs source/version is radcli, dated 2026-10-10. radcli_avp...ds64_by_num(3) out! π
β¨
π¦ 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