ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
cltest2.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.

Functions

int main (int, char **)
 
isc_result_t wait_with_retry (dhcpctl_handle handle, struct timeval *timeout, int retries)
 
void print_object (char *msg, dhcpctl_handle handle)
 
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)
 

Function Documentation

◆ bootp()

void bootp ( struct packet * packet)

Definition at line 286 of file cltest2.c.

◆ check_collection()

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

Definition at line 299 of file cltest2.c.

◆ classify()

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

Definition at line 303 of file cltest2.c.

◆ dhcp()

void dhcp ( struct packet * packet)

Definition at line 285 of file cltest2.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 305 of file cltest2.c.

◆ find_class()

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

Definition at line 277 of file cltest2.c.

◆ main()

int main ( int argc,
char ** argv )

Definition at line 79 of file cltest2.c.

◆ parse_allow_deny()

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

Definition at line 281 of file cltest2.c.

◆ print_object()

void print_object ( char * msg,
dhcpctl_handle handle )

Definition at line 232 of file cltest2.c.

◆ wait_with_retry()

isc_result_t wait_with_retry ( dhcpctl_handle handle,
struct timeval * timeout,
int retries )

Definition at line 193 of file cltest2.c.