Home
last modified time | relevance | path

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

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