radcli_avp...ds64_by_num(3)
π radcli_avp_get_gigawords64_by_num(3) π
okay so this is a page from the Radius client library (that's the radcli fam), and yes the man page name got squished into radcli_avp...ds64_by_num(3) at the top β that's just how the header rolls, don't stress π
the real function name is radcli_avp_get_gigawords64_by_num, and she is the main character here.
β¨ NAME β¨
radcli_avp_get_gigawords64_by_num β look up the octets attribute by its legacy numeric ID and reassemble a 64-bit counter out of an Octets/Gigawords pair. basically glow-up a two-part counter into one big number, no cap π«Ά
πΈ SYNOPSIS πΈ
#include <radcli/>
int radcli_avp_get_gigawords64_by_num(
const radcli_ctx *ctx,
const radcli_avp_list *list,
uint32_t attrid,
uint32_t vendor,
uint64_t *out
);
π¦ DESCRIPTION π¦
this page keeps it lowkey and goes straight to the deets β the actual lore lives in the parameters and the return value below, bestie π
π PARAMETERS π
ctxβ a context with a dictionary loaded. yes she needs her dictionary, it's giving study buddy energy πlistβ the list to search. this is the roster we're scrolling through πattridβ the octets attribute's ID, e.g.PW_ACCT_INPUT_OCTETS. the legacy numeric one, iykykvendorβ the vendor PEN, or0for a standard attribute. zero means "no vendor, we're vanilla" β¨outβ where to write the reassembled value. may beNULLto just check validity β like, you can peek without committing, respect π
π RETURN VALUE π
0on success π-1on failure β either there's no such attribute, or it fails the same wayradcli_avp_get_gigawords64()does π
π SEE ALSO π
the whole extended friend group, fr fr β all 40 of them:
- add crew:
radcli_avp_add_bytes(3),radcli_avp_add_bytes_by_num(3),radcli_avp_add_gigawords64(3),radcli_avp_add_gigawords64_by_num(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) - concat cuties:
radcli_avp_concat_str(3),radcli_avp_concat_str_by_num(3) - the definition:
radcli_avp_def(3) - get squad:
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_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) - list besties:
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)
reminder bestie:outcan beNULLif you're only doing a vibe check (validity), but if you actually want the number you gotta hand over a real place to put it π«Ά
k that's the whole page, mwah π β brought to you by radcli, dated 2026-10-10, page radcli_avp...ds64_by_num(3). go read the other 40 man pages, I'll wait ππ§
π¦ 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