Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/dhclient/dhcpd.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
#include <stdarg.h> | #include <stdarg.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <syslog.h> | #include <syslog.h> | ||||
#include <time.h> | #include <time.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <libcasper.h> | |||||
#include <casper/cap_syslog.h> | |||||
#include "dhcp.h" | #include "dhcp.h" | ||||
#include "tree.h" | #include "tree.h" | ||||
#define LOCAL_PORT 68 | #define LOCAL_PORT 68 | ||||
#define REMOTE_PORT 67 | #define REMOTE_PORT 67 | ||||
struct option_data { | struct option_data { | ||||
int len; | int len; | ||||
▲ Show 20 Lines • Show All 263 Lines • ▼ Show 20 Lines | |||||
/* inet.c */ | /* inet.c */ | ||||
struct iaddr subnet_number(struct iaddr, struct iaddr); | struct iaddr subnet_number(struct iaddr, struct iaddr); | ||||
struct iaddr broadcast_addr(struct iaddr, struct iaddr); | struct iaddr broadcast_addr(struct iaddr, struct iaddr); | ||||
int addr_eq(struct iaddr, struct iaddr); | int addr_eq(struct iaddr, struct iaddr); | ||||
char *piaddr(struct iaddr); | char *piaddr(struct iaddr); | ||||
/* dhclient.c */ | /* dhclient.c */ | ||||
extern cap_channel_t *capsyslog; | |||||
extern char *path_dhclient_conf; | extern char *path_dhclient_conf; | ||||
extern char *path_dhclient_db; | extern char *path_dhclient_db; | ||||
extern time_t cur_time; | extern time_t cur_time; | ||||
extern int log_priority; | extern int log_priority; | ||||
extern int log_perror; | extern int log_perror; | ||||
extern struct client_config top_level_config; | extern struct client_config top_level_config; | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |