Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c85 struct ip *outip; in set_buffers() local
91 outip = (struct ip *)malloc((size_t)plen); in set_buffers()
92 if (outip == NULL) { in set_buffers()
102 (void) memset((char *)outip, 0, (size_t)plen); in set_buffers()
103 outp = (uchar_t *)(outip + 1); in set_buffers()
105 outip->ip_v = IPVERSION; in set_buffers()
107 outip->ip_tos = tos; in set_buffers()
118 outip->ip_len = htons(plen - optlen); in set_buffers()
119 outip->ip_off = htons(off); in set_buffers()
120 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
[all …]
H A Dtraceroute_aux6.c77 struct ip *outip; in set_buffers6() local
83 outip = (struct ip *)malloc((size_t)plen); in set_buffers6()
84 if (outip == NULL) { in set_buffers6()
95 (void) memset((char *)outip, 0, (size_t)plen); in set_buffers6()
96 outp = (uchar_t *)(outip + 1); in set_buffers6()
114 return (outip); in set_buffers6()
301 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, in send_probe6() argument
326 outp = (uchar_t *)(outip + 1); in send_probe6()