Lines Matching defs:length
51 * and replies can be variable-length, they are prefixed on "the wire"
56 * note that the length of this dhcp_ipc_request_t is variable (using
63 * note again that the length of the dhcp_ipc_reply_t is variable.
181 * uint32_t: the minimum length of the packet
191 uint32_t length;
193 retval = dhcp_ipc_timed_read(fd, &length, sizeof (uint32_t), &msec);
197 if (length == 0)
200 *msg = malloc(length);
204 retval = dhcp_ipc_timed_read(fd, *msg, length, &msec);
210 if (length < base_length) {
220 if (ipc_msg->data_length + base_length != length) {
299 * uint32_t: the message length
966 * unsigned int: the total length of data to read
973 dhcp_ipc_timed_read(int fd, void *buffer, unsigned int length, int *msec)
984 while (n_total < length) {
1015 n_read = read(fd, (caddr_t)buffer + n_total, length - n_total);
1032 if (*msec == 0 && n_total < length)