Reference

radcli_dae_req_nas_port(3)

Return the request's NAS-Port.

NAME

radcli_dae_req_nas_port - Return the request's NAS-Port.

SYNOPSIS

#include <radcli/>

int radcli_dae_req_nas_port(
    const radcli_dae_request  *req,
    uint32_t                  *out
);

DESCRIPTION

PARAMETERS

req

a request passed to a radcli_dae_handler.

out

filled with the value on success; may be NULL to just check presence.

RETURN VALUE

0 on success, -1 if req is NULL or the request carried no NAS-Port.

SEE ALSO

radcli_ctx_dispatch(3), radcli_ctx_get_poll(3), radcli_dae_free(3), radcli_dae_new(3), radcli_dae_process(3), radcli_dae_reply(3), radcli_dae_reply_error(3), radcli_dae_reply_to_buffer(3), radcli_dae_req_attrs(3), radcli_dae_req_code(3), radcli_dae_req_framed_ip(3), radcli_dae_req_session_id(3), radcli_dae_req_user_name(3), radcli_dae_request_free(3), radcli_dae_set_handler(3), radcli_dae_start(3)