Home
last modified time | relevance | path

Searched refs:outip (Results 1 – 1 of 1) sorted by relevance

/src/usr.sbin/traceroute/
H A Dtraceroute.c294 struct ip *outip; /* last output ip packet */ variable
709 minpacket = sizeof(*outip) + proto->hdrlen + optlen; in main()
742 protlen = packlen - sizeof(*outip) - optlen; in main()
749 outip = (struct ip *)malloc((unsigned)packlen); in main()
750 if (outip == NULL) { in main()
754 memset((char *)outip, 0, packlen); in main()
756 outip->ip_v = IPVERSION; in main()
758 outip->ip_tos = tos; in main()
760 outip->ip_tos &= ~IPTOS_ECN_MASK; in main()
761 outip->ip_tos |= IPTOS_ECN_ECT1; in main()
[all …]