Lines Matching defs:packet
3 * options.c -- DHCP server option packet tools
72 uint8_t *get_option(struct dhcpMessage *packet, int code)
78 optionptr = packet->options;
83 bb_error_msg("bogus packet, option fields too long");
88 bb_error_msg("bogus packet, option fields too long");
99 bb_error_msg("bogus packet, option fields too long");
107 optionptr = packet->file;
112 optionptr = packet->sname;
147 bb_error_msg("option 0x%02x did not fit into the packet",
158 /* add a one to four byte option to a packet */