All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
rlm_dhcp.c File Reference

Will contain dhcp listener code. More...

#include <freeradius-devel/libradius.h>
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/dhcp.h>
#include <ctype.h>
+ Include dependency graph for rlm_dhcp.c:

Go to the source code of this file.

Data Structures

struct  rlm_dhcp_t
 

Macros

#define PW_DHCP_PARAMETER_REQUEST_LIST   55
 

Typedefs

typedef struct rlm_dhcp_t rlm_dhcp_t
 

Functions

static ssize_t dhcp_options_xlat (char **out, size_t outlen, UNUSED void const *mod_inst, UNUSED void const *xlat_inst, REQUEST *request, char const *fmt)
 
static ssize_t dhcp_xlat (char **out, size_t outlen, UNUSED void const *mod_inst, UNUSED void const *xlat_inst, REQUEST *request, char const *fmt)
 
static int mod_bootstrap (UNUSED CONF_SECTION *conf, void *instance)
 

Variables

module_t rlm_dhcp
 

Detailed Description

Will contain dhcp listener code.

Id:
3260f2e68b17b6fdf57eabfc809e1526354f9e1b

Definition in file rlm_dhcp.c.


Data Structure Documentation

struct rlm_dhcp_t

Definition at line 43 of file rlm_dhcp.c.

Data Fields
int nothing

Macro Definition Documentation

#define PW_DHCP_PARAMETER_REQUEST_LIST   55

Definition at line 34 of file rlm_dhcp.c.

Typedef Documentation

typedef struct rlm_dhcp_t rlm_dhcp_t

Function Documentation

static ssize_t dhcp_options_xlat ( char **  out,
size_t  outlen,
UNUSED void const *  mod_inst,
UNUSED void const *  xlat_inst,
REQUEST request,
char const *  fmt 
)
static

Definition at line 51 of file rlm_dhcp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ssize_t dhcp_xlat ( char **  out,
size_t  outlen,
UNUSED void const *  mod_inst,
UNUSED void const *  xlat_inst,
REQUEST request,
char const *  fmt 
)
static

Definition at line 125 of file rlm_dhcp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int mod_bootstrap ( UNUSED CONF_SECTION conf,
void *  instance 
)
static

Definition at line 161 of file rlm_dhcp.c.

+ Here is the call graph for this function:

Variable Documentation

module_t rlm_dhcp
Initial value:
= {
.magic = RLM_MODULE_INIT,
.name = "dhcp",
.inst_size = sizeof(rlm_dhcp_t),
.bootstrap = mod_bootstrap,
}
#define RLM_MODULE_INIT
Definition: modules.h:86
static int mod_bootstrap(UNUSED CONF_SECTION *conf, void *instance)
Definition: rlm_dhcp.c:161
struct rlm_dhcp_t rlm_dhcp_t

Definition at line 207 of file rlm_dhcp.c.