ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
cltest.c File Reference
#include "config.h"
#include <time.h>
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "omapip/result.h"
#include "dhcpctl.h"
#include "dhcpd.h"

Go to the source code of this file.

Enumerations

enum  modes { up , down , undefined }
 

Functions

isc_result_t find_class (struct class **c, const char *n, const char *f, int l)
 
int parse_allow_deny (struct option_cache **oc, struct parse *cfile, int flag)
 
void dhcp (struct packet *packet)
 
void bootp (struct packet *packet)
 
int check_collection (struct packet *p, struct lease *l, struct collection *c)
 
void classify (struct packet *packet, struct class *class)
 
isc_result_t dhcp_set_control_state (control_object_state_t oldstate, control_object_state_t newstate)
 
int main (int, char **)
 

Enumeration Type Documentation

◆ modes

enum modes
Enumerator
up 
down 
undefined 

Definition at line 80 of file cltest.c.

Function Documentation

◆ bootp()

void bootp ( struct packet * packet)

Definition at line 53 of file cltest.c.

◆ check_collection()

int check_collection ( struct packet * p,
struct lease * l,
struct collection * c )

Definition at line 66 of file cltest.c.

◆ classify()

void classify ( struct packet * packet,
struct class * class )

Definition at line 70 of file cltest.c.

◆ dhcp()

void dhcp ( struct packet * packet)

Definition at line 52 of file cltest.c.

◆ dhcp_set_control_state()

isc_result_t dhcp_set_control_state ( control_object_state_t oldstate,
control_object_state_t newstate )

Definition at line 72 of file cltest.c.

◆ find_class()

isc_result_t find_class ( struct class ** c,
const char * n,
const char * f,
int l )

Definition at line 44 of file cltest.c.

◆ main()

int main ( int argc,
char ** argv )

Definition at line 89 of file cltest.c.

◆ parse_allow_deny()

int parse_allow_deny ( struct option_cache ** oc,
struct parse * cfile,
int flag )

Definition at line 48 of file cltest.c.