Searched refs:iplen (Results 1 – 1 of 1) sorted by relevance
3735 uint32_t iplen = sizeof(struct ip); in get_ip_trunc_len() local3736 if (iplen >= remaining_caplen) { in get_ip_trunc_len()3748 iplen = (uint16_t)(iphdr.ip_hl << 2); in get_ip_trunc_len()3749 if (iplen >= remaining_caplen) { in get_ip_trunc_len()3754 iplen += get_proto_trunc_len(proto, pkt, off + iplen, remaining_caplen - iplen); in get_ip_trunc_len()3756 if (iplen >= remaining_caplen) { in get_ip_trunc_len()3760 return iplen; in get_ip_trunc_len()3767 uint32_t iplen = sizeof(struct ip6_hdr); in get_ip6_trunc_len() local3768 if (iplen >= remaining_caplen) { in get_ip6_trunc_len()3784 iplen += get_proto_trunc_len(proto, pkt, off + iplen, remaining_caplen - iplen); in get_ip6_trunc_len()[all …]