Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Drexec.c127 struct sockaddr_storage sin2, from; in rexec_af() local
136 sin2len = (socklen_t)sizeof (sin2); in rexec_af()
137 if (getsockname(s2, (struct sockaddr *)&sin2, &sin2len) < 0) { in rexec_af()
143 port = ntohs(((struct sockaddr_in6 *)&sin2)->sin6_port); in rexec_af()
145 port = ntohs(((struct sockaddr_in *)&sin2)->sin_port); in rexec_af()
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dsin.S43 je .sin2
47 .sin2: label
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c684 struct sockaddr_in *sin2; in configure() local
686 sin2 = (struct sockaddr_in *)np2->n_addr; in configure()
687 if (sin2->sin_addr.s_addr == sin->sin_addr.s_addr) { in configure()
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c982 struct sockaddr_in *sin1, *sin2; in it_sa_compare() local
1001 sin2 = (struct sockaddr_in *)sa2; in it_sa_compare()
1002 if ((bcmp(&sin1->sin_addr, &sin2->sin_addr, in it_sa_compare()
1004 (sin1->sin_port == sin2->sin_port)) { in it_sa_compare()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c2423 struct sockaddr_in *sin1, *sin2; in strsock_proto() local
2426 sin2 = (struct sockaddr_in *)addr; in strsock_proto()
2428 sin1->sin_port == sin2->sin_port && in strsock_proto()
2430 sin2->sin_addr.s_addr) in strsock_proto()
2436 struct sockaddr_in6 *sin1, *sin2; in strsock_proto() local
2439 sin2 = (struct sockaddr_in6 *)addr; in strsock_proto()
2441 sin1->sin6_port == sin2->sin6_port && in strsock_proto()
2443 &sin2->sin6_addr)) in strsock_proto()
H A Dsocktpi.c4242 sin_t *sin2 = (sin_t *)addr; in sotpi_sendmsg() local
4246 sin1->sin_port == sin2->sin_port && in sotpi_sendmsg()
4248 sin2->sin_addr.s_addr) in sotpi_sendmsg()
4255 sin6_t *sin2 = (sin6_t *)addr; in sotpi_sendmsg() local
4259 sin1->sin6_port == sin2->sin6_port && in sotpi_sendmsg()
4261 &sin2->sin6_addr)) in sotpi_sendmsg()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c6189 sin6_t *sin2 = (sin6_t *)&udp->udp_delayed_addr; in udp_send() local
6196 if (sin6->sin6_port == sin2->sin6_port && in udp_send()
6198 &sin2->sin6_addr) && in udp_send()
6199 sin6->sin6_family == sin2->sin6_family) { in udp_send()
6252 sin_t *sin2 = (sin_t *)&udp->udp_delayed_addr; in udp_send() local
6259 if (sin->sin_port == sin2->sin_port && in udp_send()
6260 sin->sin_addr.s_addr == sin2->sin_addr.s_addr) { in udp_send()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dicmp.c5763 sin6_t *sin2 = (sin6_t *)&icmp->icmp_delayed_addr; in rawip_send() local
5771 &sin2->sin6_addr) && in rawip_send()
5772 sin6->sin6_family == sin2->sin6_family) { in rawip_send()
5822 sin_t *sin2 = (sin_t *)&icmp->icmp_delayed_addr; in rawip_send() local
5829 if (sin->sin_addr.s_addr == sin2->sin_addr.s_addr) { in rawip_send()