Searched defs:iph (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/NetworkServices/NAT/
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);
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...]

Completed in 51 milliseconds