Home | History | Annotate | Download | only in dhcpcd-6.8.2

Lines Matching defs:bytes

171 	 * bytes.  In general, here we have p -> T, ol=p+1 -> L, op -> V.
292 size_t bytes = 0, ocets;
318 bytes += ((4 * 4) * 2) + 4;
350 return (ssize_t)bytes;
471 ssize_t b, bytes = 0;
503 bytes += b;
505 bytes += 16 * 2 + 8 + 2 + 1 + 2;
520 bytes += b;
522 bytes += (4 * 4);
526 return bytes;
1073 ssize_t bytes;
1121 bytes = write(fd, write_buffer, len);
1123 return bytes;
1138 ssize_t bytes;
1153 bytes = read(fd, read_buffer, sizeof(read_buffer));
1157 if (read_buffer + bytes < options_startp)
1165 if (options_endp > read_buffer + bytes)
1166 options_endp = read_buffer + bytes;
1209 options_endp = read_buffer + bytes;
3194 uint16_t bytes, udpsum;
3208 syslog(LOG_WARNING, "packet too long (%zd bytes)", data_len);
3218 bytes = ntohs(p.ip.ip_len);
3219 if (data_len < bytes) {
3221 "(len=%zd, ip_len=%zd)", data_len, bytes);
3237 if (udpsum && checksum(&p, bytes) != udpsum) {
3253 size_t bytes;
3261 bytes = (size_t)if_readrawpacket(ifp, ETHERTYPE_IP,
3263 if ((ssize_t)bytes == -1) {
3270 if (valid_udp_packet(ifp->ctx->packet, bytes,
3299 bytes = get_udp_data(&pp, ifp->ctx->packet);
3300 if (bytes > sizeof(*dhcp)) {
3314 memcpy(dhcp, pp, bytes);