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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c147 set_IPv4opt_sourcerouting(int sndsock, union any_in_addr *ip_addr, argument
183 if (setsockopt(sndsock, pe->p_proto, IP_OPTIONS, (const char *)optlist,
194 send_probe(int sndsock, struct sockaddr *to, struct ip *outip, argument
239 if (setsockopt(sndsock, IPPROTO_IP, IP_TTL, (char *)&ttl,
299 cc = sendto(sndsock, (char *)outip, send_size, 0, to,
302 cc = sendto(sndsock, (char *)outicmp, send_size, 0, to,
305 cc = sendto(sndsock, (char *)outp, send_size, 0, to,
H A Dtraceroute_aux6.c301 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, argument
356 cc = sendmsg(sndsock, msg6, 0);
H A Dtraceroute.c185 boolean_t raw_req; /* if sndsock for IPv4 must be raw */
1511 int sndsock; local
1516 sndsock = (pr->family == AF_INET) ? sndsock4 : sndsock6;
1587 set_IPv4opt_sourcerouting(sndsock, ip_addr, pr->gwIPlist);
1655 send_probe(sndsock, pr->to, outip4, seq, ttl,
1658 send_probe6(sndsock, msg6, outip6, seq, ttl,

Completed in 50 milliseconds