ISC DHCP  4.4.1
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

enum modes
Enumerator
up 
down 
undefined 

Definition at line 80 of file cltest.c.

Function Documentation

void bootp ( struct packet packet)

Definition at line 53 of file cltest.c.

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

Definition at line 66 of file cltest.c.

void classify ( struct packet packet,
struct class class 
)

Definition at line 70 of file cltest.c.

void dhcp ( struct packet packet)

Definition at line 52 of file cltest.c.

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.

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

Definition at line 44 of file cltest.c.

int main ( int  argc,
char **  argv 
)

Definition at line 235 of file dhclient.c.

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

Definition at line 48 of file cltest.c.