Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c83 struct ip *outip; in set_buffers() local
90 if (outip == NULL) { in set_buffers()
103 outip->ip_v = IPVERSION; in set_buffers()
105 outip->ip_tos = tos; in set_buffers()
118 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
138 return (outip); in set_buffers()
228 outip->ip_ttl = ttl; in send_probe()
251 outip->ip_sum = in send_probe()
252 in_cksum((ushort_t *)outip, sizeof (*outip) + optlen); in send_probe()
282 tip = *outip; in send_probe()
[all …]
H A Dtraceroute_aux6.c75 struct ip *outip; in set_buffers6() local
81 outip = (struct ip *)malloc((size_t)plen); in set_buffers6()
82 if (outip == NULL) { in set_buffers6()
93 (void) memset((char *)outip, 0, (size_t)plen); in set_buffers6()
94 outp = (uchar_t *)(outip + 1); in set_buffers6()
112 return (outip); in set_buffers6()
299 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, in send_probe6() argument
324 outp = (uchar_t *)(outip + 1); in send_probe6()