Defines |
#define | send_packet trace_packet_send |
Functions |
char * | print_client_identifier_from_packet (struct packet *packet) |
char * | print_hw_addr_or_client_id (struct packet *packet) |
void | dhcp (struct packet *packet) |
void | dhcpdiscover (struct packet *packet, int ms_nulltp) |
void | dhcprequest (struct packet *packet, int ms_nulltp, struct lease *ip_lease) |
void | dhcprelease (struct packet *packet, int ms_nulltp) |
void | dhcpdecline (struct packet *packet, int ms_nulltp) |
void | dhcpinform (struct packet *packet, int ms_nulltp) |
void | nak_lease (struct packet *packet, struct iaddr *cip) |
void | ack_lease (struct packet *packet, struct lease *lease, unsigned int offer, TIME when, char *msg, int ms_nulltp, struct host_decl *hp) |
void | delayed_ack_enqueue (struct lease *lease) |
void | flush_ackqueue (void *foo) |
void | dhcp_reply (struct lease *lease) |
int | find_lease (struct lease **lp, struct packet *packet, struct shared_network *share, int *ours, int *peer_has_leases, struct lease *ip_lease_in, const char *file, int line) |
int | mockup_lease (struct lease **lp, struct packet *packet, struct shared_network *share, struct host_decl *hp) |
int | allocate_lease (struct lease **lp, struct packet *packet, struct pool *pool, int *peer_has_leases) |
int | permitted (struct packet *packet, struct permit *permit_list) |
int | locate_network (struct packet *packet) |
void | get_server_source_address (struct in_addr *from, struct option_state *options, struct option_state *out_options, struct packet *packet) |
void | setup_server_source_address (struct in_addr *from, struct option_state *options, struct packet *packet) |
Variables |
int | outstanding_pings |
struct leasequeue * | ackqueue_head |
struct leasequeue * | ackqueue_tail |
int | outstanding_acks |
int | max_outstanding_acks = DEFAULT_DELAYED_ACK |
int | max_ack_delay_secs = DEFAULT_ACK_DELAY_SECS |
int | max_ack_delay_usecs = DEFAULT_ACK_DELAY_USECS |
int | min_ack_delay_usecs = DEFAULT_MIN_ACK_DELAY_USECS |
const int | dhcp_type_name_max = ((sizeof dhcp_type_names) / sizeof (char *)) |