Test state machine, which only does request and reply.
More...
#include <freeradius-devel/server/protocol.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/server/process.h>
Go to the source code of this file.
Test state machine, which only does request and reply.
- Id
- f4793ccc83e38fc74cffb181ace7151704e5a616
- Copyright
- 2020 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file base.c.
◆ process_test_sections_t
struct process_test_sections_t |
◆ process_test_t
◆ FR_TEST_CODE_MAX
◆ FR_TEST_PACKET_CODE_VALID
◆ PROCESS_CODE_MAX
◆ PROCESS_INST
◆ PROCESS_PACKET_CODE_VALID
◆ PROCESS_PACKET_TYPE
◆ fr_test_packet_code_t
Enumerator |
---|
FR_TEST_INVALID | |
FR_TEST_REQUEST | |
FR_TEST_REPLY | |
Definition at line 56 of file base.c.
◆ mod_process()
◆ attr_packet_type
◆ compile_list
Initial value:= {
{
.offset = PROCESS_CONF_OFFSET(recv_request),
},
{
},
}
unlang_mod_actions_t const mod_actions_postauth
static void send_reply(int sockfd, fr_channel_data_t *reply)
#define SECTION_NAME(_name1, _name2)
Define a section name consisting of a verb and a noun.
#define COMPILE_TERMINATOR
Definition at line 106 of file base.c.
◆ dict_test
◆ process_state
fr_process_state_t const process_state[] |
|
static |
Initial value:= {
.recv = recv_generic,
.resume = resume_recv_generic,
},
.send = send_generic,
.resume = resume_send_generic,
},
}
@ RLM_MODULE_NOOP
Module succeeded without doing anything.
Definition at line 71 of file base.c.
◆ process_test
Initial value:= {
.common = {
.name = "test",
},
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
static fr_dict_t const * dict_test
static const virtual_server_compile_t compile_list[]
Definition at line 123 of file base.c.
◆ process_test_dict
Initial value:
Definition at line 30 of file base.c.
◆ process_test_dict_attr
Initial value:= {
{ NULL }
}
fr_dict_attr_t const * attr_packet_type
@ FR_TYPE_UINT32
32 Bit unsigned integer.
Definition at line 38 of file base.c.