ReactOS 0.4.16-dev-746-g329a414
|
#include <rosdhcp.h>
Go to the source code of this file.
Macros | |
#define | DHCP_OPTION_DATA |
Functions | |
void | parse_options (struct packet *) |
void | parse_option_buffer (struct packet *, unsigned char *, int) |
int | store_options (unsigned char *, int, struct tree_cache **, unsigned char *, int, int, int) |
int | cons_options (struct packet *inpacket, struct dhcp_packet *outpacket, int mms, struct tree_cache **options) |
char * | pretty_print_option (unsigned int code, unsigned char *data, int len, int emit_commas, int emit_quotes) |
void | do_packet (struct interface_info *interface, struct dhcp_packet *packet, int len, unsigned int from_port, struct iaddr from, struct hardware *hfrom) |
Variables | |
int | bad_options = 0 |
int | bad_options_max = 5 |
int cons_options | ( | struct packet * | inpacket, |
struct dhcp_packet * | outpacket, | ||
int | mms, | ||
struct tree_cache ** | options | ||
) |
Definition at line 199 of file options.c.
Referenced by make_decline(), make_discover(), and make_request().
void do_packet | ( | struct interface_info * | interface, |
struct dhcp_packet * | packet, | ||
int | len, | ||
unsigned int | from_port, | ||
struct iaddr | from, | ||
struct hardware * | hfrom | ||
) |
Definition at line 635 of file options.c.
Referenced by init_client().
Definition at line 100 of file options.c.
Referenced by parse_options().
Definition at line 59 of file options.c.
Referenced by do_packet().
char * pretty_print_option | ( | unsigned int | code, |
unsigned char * | data, | ||
int | len, | ||
int | emit_commas, | ||
int | emit_quotes | ||
) |
Definition at line 396 of file options.c.
Referenced by check_option(), priv_script_write_params(), and write_client_lease().
int store_options | ( | unsigned char * | buffer, |
int | buflen, | ||
struct tree_cache ** | options, | ||
unsigned char * | priority_list, | ||
int | priority_len, | ||
int | first_cutoff, | ||
int | second_cutoff | ||
) |
Definition at line 303 of file options.c.
Referenced by cons_options().
int bad_options = 0 |
Definition at line 46 of file options.c.
Referenced by parse_option_buffer().
int bad_options_max = 5 |
Definition at line 47 of file options.c.
Referenced by parse_option_buffer().