Searched refs:iph (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/NetworkServices/NAT/
H A Dpxping.c452 struct ip_hdr *iph; local
465 iph = (/* UNCONST */ struct ip_hdr *)ip_current_header();
480 IPH_TTL(iph)));
482 ttl = IPH_TTL(iph);
503 df = (IPH_OFFSET(iph) & PP_HTONS(IP_DF)) != 0;
525 memcpy(&iph_orig, iph, iphlen);
528 ip4_addr_set_u32(&iph->dest, pcb->peer.sin.sin_addr.s_addr);
532 ip4_addr_set_u32(&iph->src, g_proxy_options->src4->sin_addr.s_addr);
536 ip_addr_set_any(&iph->src);
539 IPH_TTL_SET(iph, tt
674 struct ip6_hdr *iph; local
1139 struct ip_hdr *iph; local
1240 struct ip_hdr *iph; local
1341 struct ip_hdr *iph, *oiph; local
[all...]
H A Dpxping_win.c165 const struct ip_hdr *iph; local
185 iph = (const struct ip_hdr *)ip_current_header();
188 mapped = pxremap_outbound_ip4((ip_addr_t *)&dst, (ip_addr_t *)&iph->dest);
193 ttl = IPH_TTL(iph);
224 memcpy(&pong->reqiph, iph, sizeof(*iph));
239 opts.Tos = IPH_TOS(iph); /* affected by DisableUserTOSSetting key */
240 opts.Flags = (IPH_OFFSET(iph) & PP_HTONS(IP_DF)) != 0 ? IP_FLAG_DF : 0;
H A Dpxudp.c593 const struct ip_hdr *iph = ip_current_header(); local
614 ttl = IPH_TTL(iph);
631 tos = IPH_TOS(iph);
644 df = (IPH_OFFSET(iph) & PP_HTONS(IP_DF)) != 0;
661 const struct ip6_hdr *iph = ip6_current_header(); local
664 ttl = IP6H_HOPLIM(iph);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/ip/
H A Dtcprst.d75 self->iph = (ipha_t *)this->mp->b_rptr;
77 (int)(((ipha_t *)self->iph)->ipha_version_and_hdr_length
79 self->tcph = (tcpha_t *)((char *)self->iph + this->iph_length);
135 datalen[self->conn_id, self->pcount] = ntohs(self->iph->ipha_length);
/vbox/src/VBox/HostDrivers/VBoxNetFlt/linux/
H A DVBoxNetFlt-linux.c1392 pBuf->h.raw = pBuf->nh.raw + pBuf->nh.iph->ihl * 4;

Completed in 75 milliseconds