Home
last modified time | relevance | path

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

/haiku/src/bin/network/traceroute/
H A Dtraceroute.c307 struct ip *outip; /* last output ip packet */ variable
730 minpacket = sizeof(*outip) + proto->hdrlen + optlen; in main()
763 protlen = packlen - sizeof(*outip) - optlen; in main()
772 outip = (struct ip *)malloc((unsigned)packlen); in main()
773 if (outip == NULL) { in main()
777 memset((char *)outip, 0, packlen); in main()
779 outip->ip_v = IPVERSION; in main()
781 outip->ip_tos = tos; in main()
784 outip->ip_tos &= ~IPTOS_ECN_MASK; in main()
785 outip->ip_tos |= IPTOS_ECN_ECT1; in main()
[all …]