Searched refs:ver_ihl (Results 1 – 2 of 2) sorted by relevance
164 return (pkt->len - ((pkt->ver_ihl >> 4) * 5)); in ipv4_payload_len()174 ipv4->ver_ihl = 0x45; in minip_build_ipv4_hdr()338 …(ip->ver_ihl & 0xf) * 4, ip->proto, ntohs(ip->chksum), ntohs(ip->len), ntohs(ip->id), ntohs(ip->fl… in dump_ipv4_packet()354 if (((ip->ver_ihl >> 4) & 0xf) != 4) { in handle_ipv4_packet()361 size_t header_len = (ip->ver_ihl & 0xf) * 4; in handle_ipv4_packet()
38 uint8_t ver_ihl; member
Completed in 11 milliseconds