ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
isclib.c File Reference
#include "dhcpd.h"
#include <sys/time.h>
#include <signal.h>

Go to the source code of this file.

Functions

void isclib_cleanup (void)
 
isc_result_t dhcp_context_create (int flags, struct in_addr *local4, struct in6_addr *local6)
 
isc_result_t dhcp_isc_name (unsigned char *namestr, dns_fixedname_t *namefix, dns_name_t **name)
 
isc_result_t isclib_make_dst_key (char *inname, char *algorithm, unsigned char *secret, int length, dst_key_t **dstkey)
 
void dhcp_signal_handler (int signal)
 

Variables

dhcp_context_t dhcp_gbl_ctx
 
int shutdown_signal = 0
 

Function Documentation

◆ dhcp_context_create()

isc_result_t dhcp_context_create ( int flags,
struct in_addr * local4,
struct in6_addr * local6 )

Definition at line 167 of file isclib.c.

◆ dhcp_isc_name()

isc_result_t dhcp_isc_name ( unsigned char * namestr,
dns_fixedname_t * namefix,
dns_name_t ** name )

Definition at line 313 of file isclib.c.

◆ dhcp_signal_handler()

void dhcp_signal_handler ( int signal)

signal handler that initiates server shutdown

Parameters
signalsignal code that we received

Definition at line 378 of file isclib.c.

◆ isclib_cleanup()

void isclib_cleanup ( void )

Definition at line 88 of file isclib.c.

◆ isclib_make_dst_key()

isc_result_t isclib_make_dst_key ( char * inname,
char * algorithm,
unsigned char * secret,
int length,
dst_key_t ** dstkey )

Definition at line 332 of file isclib.c.

Variable Documentation

◆ dhcp_gbl_ctx

dhcp_context_t dhcp_gbl_ctx

Definition at line 33 of file isclib.c.

◆ shutdown_signal

int shutdown_signal = 0

Definition at line 34 of file isclib.c.