Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:bytes

541 			/* IAID is 4 bytes, so if the iface name is 4 bytes
550 /* Name isn't 4 bytes, so use the index */
1540 ssize_t bytes;
1548 bytes = get_raw_packet(iface, ETHERTYPE_IP,
1550 if (bytes == 0) {
1554 if (bytes == -1)
1556 if (valid_udp_packet(packet, bytes) == -1)
1558 bytes = get_udp_data(&pp, packet);
1559 if ((size_t)bytes > sizeof(*dhcp)) {
1565 memcpy(dhcp, pp, bytes);
1606 ssize_t bytes;
1611 bytes = get_raw_packet(iface, ETHERTYPE_ARP,
1613 if (bytes == 0 || bytes == -1)
1614 return (int)bytes;
1616 if ((size_t)bytes < sizeof(reply))
1633 if ((hw_t + reply.ar_hln + reply.ar_pln) - arp_reply > bytes)