![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
DHCP client and relay. More...
#include <freeradius-devel/server/base.h>#include <freeradius-devel/server/module_rlm.h>#include <freeradius-devel/io/pair.h>#include <freeradius-devel/util/udp_queue.h>#include <freeradius-devel/dhcpv4/dhcpv4.h>#include <freeradius-devel/unlang/module.h>
Include dependency graph for rlm_dhcpv4.c:Go to the source code of this file.
Data Structures | |
| struct | rlm_dhcpv4_delay_t |
| struct | rlm_dhcpv4_t |
| struct | rlm_dhcpv4_thread_t |
Functions | |
| static void | dhcpv4_queue_resume (bool sent, void *rctx) |
| static unlang_action_t | dhcpv4_resume (unlang_result_t *p_result, module_ctx_t const *mctx, UNUSED request_t *request) |
| static int | mod_instantiate (module_inst_ctx_t const *mctx) |
| Bootstrap the module. | |
| static unlang_action_t | mod_process (unlang_result_t *p_result, module_ctx_t const *mctx, request_t *request) |
| Send packets outbound. | |
| static int | mod_thread_instantiate (module_thread_inst_ctx_t const *mctx) |
| Instantiate thread data for the submodule. | |
Variables | |
| static fr_dict_attr_t const * | attr_gateway_ip_address |
| static fr_dict_attr_t const * | attr_message_type |
| static fr_dict_attr_t const * | attr_net_dst_ip |
| static fr_dict_attr_t const * | attr_net_dst_port |
| static fr_dict_attr_t const * | attr_packet_type |
| static fr_dict_attr_t const * | attr_transaction_id |
| static fr_dict_t const * | dict_dhcpv4 |
| static fr_dict_t const * | dict_freeradius |
| static const conf_parser_t | module_config [] |
| module_rlm_t | rlm_dhcpv4 |
| fr_dict_autoload_t | rlm_dhcpv4_dict [] |
| fr_dict_attr_autoload_t | rlm_dhcpv4_dict_attr [] |
DHCP client and relay.
Definition in file rlm_dhcpv4.c.
| struct rlm_dhcpv4_delay_t |
Definition at line 101 of file rlm_dhcpv4.c.
Collaboration diagram for rlm_dhcpv4_delay_t:| Data Fields | ||
|---|---|---|
| request_t * | request | |
| bool | sent | |
| struct rlm_dhcpv4_t |
Definition at line 70 of file rlm_dhcpv4.c.
Collaboration diagram for rlm_dhcpv4_t:| Data Fields | ||
|---|---|---|
| fr_udp_queue_config_t | config | UDP queue config. |
| uint32_t | max_packet_size | Maximum packet size. |
| struct rlm_dhcpv4_thread_t |
Definition at line 76 of file rlm_dhcpv4.c.
Collaboration diagram for rlm_dhcpv4_thread_t:| Data Fields | ||
|---|---|---|
| uint8_t * | buffer | for encoding packets |
| uint32_t | buffer_size | Maximum packet size. |
| fr_udp_queue_t * | uq | udp queue handler |
| uint32_t | xid | XID. |
|
static |
Definition at line 106 of file rlm_dhcpv4.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 115 of file rlm_dhcpv4.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Bootstrap the module.
Bootstrap I/O and type submodules.
| [in] | mctx | data for this module |
Definition at line 290 of file rlm_dhcpv4.c.
|
static |
Send packets outbound.
Definition at line 131 of file rlm_dhcpv4.c.
Here is the call graph for this function:
|
static |
Instantiate thread data for the submodule.
Definition at line 258 of file rlm_dhcpv4.c.
Here is the call graph for this function:
|
static |
Definition at line 49 of file rlm_dhcpv4.c.
|
static |
Definition at line 45 of file rlm_dhcpv4.c.
|
static |
Definition at line 47 of file rlm_dhcpv4.c.
|
static |
Definition at line 48 of file rlm_dhcpv4.c.
|
static |
Definition at line 46 of file rlm_dhcpv4.c.
|
static |
Definition at line 44 of file rlm_dhcpv4.c.
|
static |
Definition at line 34 of file rlm_dhcpv4.c.
|
static |
Definition at line 35 of file rlm_dhcpv4.c.
|
static |
Definition at line 83 of file rlm_dhcpv4.c.
| module_rlm_t rlm_dhcpv4 |
Definition at line 323 of file rlm_dhcpv4.c.
| fr_dict_autoload_t rlm_dhcpv4_dict |
Definition at line 38 of file rlm_dhcpv4.c.
| fr_dict_attr_autoload_t rlm_dhcpv4_dict_attr |
Definition at line 52 of file rlm_dhcpv4.c.
1.9.8