![]() |
The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
|
Include dependency graph for load_balance_priv.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | unlang_frame_state_redundant_t |
| State of a redundant operation. More... | |
| struct | unlang_load_balance_t |
Functions | |
| static unlang_load_balance_t * | unlang_group_to_load_balance (unlang_group_t *g) |
| Cast a group structure to the load_balance keyword extension. | |
| uint8_t | unlang_load_balance_child (request_t *request) |
| Returns the current child of the load balance section. | |
| int | unlang_load_balance_persist (request_t *request) |
| Persist the current load-balance selection. | |
| static unlang_group_t * | unlang_load_balance_to_group (unlang_load_balance_t *load_balance) |
| Cast a load_balance keyword extension to a group structure. | |
Definition in file load_balance_priv.h.
| struct unlang_frame_state_redundant_t |
State of a redundant operation.
Definition at line 41 of file load_balance_priv.h.
Collaboration diagram for unlang_frame_state_redundant_t:| Data Fields | ||
|---|---|---|
| unlang_t * | child | the current child we're processing |
| uint32_t | num | the current child number |
| unlang_result_t | result | for intermediate child results |
| unlang_t * | start | the starting child |
| struct unlang_load_balance_t |
Definition at line 32 of file load_balance_priv.h.
Collaboration diagram for unlang_load_balance_t:| Data Fields | ||
|---|---|---|
| unlang_t ** | children | array of child instructions. |
| unlang_group_t | group | our instruction |
| tmpl_t * | vpt | template to expand for keyed balancing |
|
inlinestatic |
Cast a group structure to the load_balance keyword extension.
Definition at line 51 of file load_balance_priv.h.
Here is the caller graph for this function:Returns the current child of the load balance section.
If the frame is UNLANG_TYPE_LOAD_BALANCE or UNLANG_TYPE_REDUNDANT_LOAD_BALANCE, then return the child number.
Definition at line 65 of file load_balance.c.
Here is the caller graph for this function:| int unlang_load_balance_persist | ( | request_t * | request | ) |
Persist the current load-balance selection.
If the frame is UNLANG_TYPE_LOAD_BALANCE or UNLANG_TYPE_REDUNDANT_LOAD_BALANCE, then remember which child was chosen, and choose that again the next time around.
Definition at line 40 of file load_balance.c.
Here is the caller graph for this function:
|
inlinestatic |
Cast a load_balance keyword extension to a group structure.
Definition at line 59 of file load_balance_priv.h.
1.9.8