Searched refs:tot_len (Results 1 – 3 of 3) sorted by relevance
167 packet.ip.tot_len = packet.udp.len; in udhcp_send_raw_packet()171 packet.ip.tot_len = htons(IP_UDP_DHCP_SIZE - padding); in udhcp_send_raw_packet()
919 if (bytes < ntohs(packet.ip.tot_len)) { in d4_recv_raw_packet()926 bytes = ntohs(packet.ip.tot_len); in d4_recv_raw_packet()965 packet.ip.tot_len = packet.udp.len; /* yes, this is needed */ in d4_recv_raw_packet()
189 uint16_t tot_len; member