Searched refs:oip (Results 1 - 2 of 2) sorted by relevance

/external/tcpdump/
H A Dprint-icmp.c341 const struct ip *oip; local
382 oip = &dp->icmp_ip;
383 hlen = IP_HL(oip) * 4;
384 ouh = (struct udphdr *)(((u_char *)oip) + hlen);
387 switch (oip->ip_p) {
392 ipaddr_string(&oip->ip_dst),
399 ipaddr_string(&oip->ip_dst),
406 ipaddr_string(&oip->ip_dst),
407 oip->ip_p, dport);
H A Dprint-icmp6.c240 const struct ip6_hdr *oip; local
248 oip = (struct ip6_hdr *)(dp + 1);
281 TCHECK(oip->ip6_dst);
288 printf(" %s",ip6addr_string(&oip->ip6_dst));
292 ip6addr_string(&oip->ip6_dst),
293 ip6addr_string(&oip->ip6_src));
296 if ((ouh = get_upperlayer((u_char *)oip, &prot))
304 ip6addr_string(&oip->ip6_dst),
309 ip6addr_string(&oip->ip6_dst),
314 ip6addr_string(&oip
[all...]

Completed in 106 milliseconds