Lines Matching defs:packet
2 * options.c -- DHCP server option packet tools
70 unsigned char *get_option(struct dhcpMessage *packet, int code)
76 optionptr = packet->options;
82 * DHCP server packet was not modified to receive large size packet.
85 if (packet->op == BOOTREQUEST)
93 LOG(LOG_WARNING, "bogus packet, option fields too long.");
98 LOG(LOG_WARNING, "bogus packet, option fields too long.");
109 LOG(LOG_WARNING, "bogus packet, option fields too long.");
117 optionptr = packet->file;
122 optionptr = packet->sname;
157 LOG(LOG_ERR, "Option 0x%02x did not fit into the packet!", string[OPT_CODE]);
167 /* add a one to four byte option to a packet */