The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Functions
limit.c File Reference

Unlang "limit" keyword evaluation. More...

#include "group_priv.h"
#include "limit_priv.h"
+ Include dependency graph for limit.c:

Go to the source code of this file.

Data Structures

struct  unlang_frame_state_limit_t
 
struct  unlang_thread_limit_t
 

Functions

static unlang_action_t unlang_limit (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
static unlang_action_t unlang_limit_enforce (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
void unlang_limit_init (void)
 
static unlang_action_t unlang_limit_resume_done (UNUSED rlm_rcode_t *p_result, UNUSED request_t *request, unlang_stack_frame_t *frame)
 
static void unlang_limit_signal (UNUSED request_t *request, unlang_stack_frame_t *frame, fr_signal_t action)
 Send a signal (usually stop) to a request. More...
 
static unlang_action_t unlang_limit_xlat_done (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 

Detailed Description

Unlang "limit" keyword evaluation.

Id
670851dd2fd7433033b9f341c8ab759f6772e746

Definition in file limit.c.


Data Structure Documentation

◆ unlang_frame_state_limit_t

struct unlang_frame_state_limit_t

Definition at line 34 of file limit.c.

+ Collaboration diagram for unlang_frame_state_limit_t:
Data Fields
uint32_t limit
request_t * request
fr_value_box_list_t result
unlang_thread_limit_t * thread

◆ unlang_thread_limit_t

struct unlang_thread_limit_t

Definition at line 30 of file limit.c.

Data Fields
uint32_t active_callers

Function Documentation

◆ unlang_limit()

static unlang_action_t unlang_limit ( rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 98 of file limit.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_limit_enforce()

static unlang_action_t unlang_limit_enforce ( rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 66 of file limit.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_limit_init()

void unlang_limit_init ( void  )

Definition at line 124 of file limit.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_limit_resume_done()

static unlang_action_t unlang_limit_resume_done ( UNUSED rlm_rcode_t p_result,
UNUSED request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 57 of file limit.c.

+ Here is the caller graph for this function:

◆ unlang_limit_signal()

static void unlang_limit_signal ( UNUSED request_t request,
unlang_stack_frame_t frame,
fr_signal_t  action 
)
static

Send a signal (usually stop) to a request.

Parameters
[in]requestThe current request.
[in]framecurrent stack frame.
[in]actionto signal.

Definition at line 48 of file limit.c.

+ Here is the caller graph for this function:

◆ unlang_limit_xlat_done()

static unlang_action_t unlang_limit_xlat_done ( rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 85 of file limit.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: