Lines Matching refs:hip
268 struct ip *hip = &ricmp->icmp_ip; in do_trace() local
271 hudp = (struct udphdr*) ((char*)hip + (hip->ip_hl << 2)); in do_trace()
272 if ((hip->ip_hl << 2) + 12 <=(rcv_len - (rcv_pkt->ip_hl << 2)) in do_trace()
273 && hip->ip_p == IPPROTO_UDP in do_trace()
278 hicmp = (struct icmp *) ((char*)hip + (hip->ip_hl << 2)); in do_trace()
283 else if ((hip->ip_hl << 2) + ICMP_HD_SIZE4 in do_trace()
285 && hip->ip_p == IPPROTO_ICMP in do_trace()
388 struct ip6_hdr *hip; in do_trace() local
392 hip = (struct ip6_hdr *)(ricmp + 1); in do_trace()
393 hudp = (struct udphdr*) (hip + 1); in do_trace()
394 hdr_next = hip->ip6_nxt; in do_trace()