Home
last modified time | relevance | path

Searched refs:sinp (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dserver.c84 struct sockaddr_in *sinp = (struct sockaddr_in *)ssp; in isns_connection() local
87 (void *)&(sinp->sin_addr), in isns_connection()
91 (void *)&(sinp->sin_addr), in isns_connection()
169 struct sockaddr_in *sinp = in isns_connection() local
173 (void *)&(sinp->sin_addr), in isns_connection()
177 (void *)&(sinp->sin_addr), in isns_connection()
230 struct sockaddr_in *sinp; in isns_port_watcher() local
300 sinp = (struct sockaddr_in *)ssp; in isns_port_watcher()
302 (void) inet_ntop(AF_INET, (void *)&(sinp->sin_addr), in isns_port_watcher()
305 (void) inet_ntop(AF_INET6, (void *)&(sinp->sin_addr), in isns_port_watcher()
[all …]
H A Dfunc.c263 struct sockaddr_in *sinp = (struct sockaddr_in *)ssp; in packet_split_verify() local
265 (void) inet_ntop(AF_INET, (void *)&(sinp->sin_addr), in packet_split_verify()
268 (void) inet_ntop(AF_INET6, (void *)&(sinp->sin_addr), in packet_split_verify()
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c206 doit(sinp) in doit() argument
207 struct sockaddr_in *sinp; in doit()
269 if (dologin(pw, sinp)) {
311 sprintf(passwd, "-h%s", inet_ntoa(sinp->sin_addr));
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c348 struct sockaddr_in *sinp; in rds_verify_bind_address() local
356 sinp = (struct sockaddr_in *)&lifrp->lifr_addr; in rds_verify_bind_address()
358 sinp->sin_addr.s_addr == addr) { in rds_verify_bind_address()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c930 const struct sockaddr_in *sinp; in fake_getnameinfo() local
937 sinp = (const struct sockaddr_in *) sa; in fake_getnameinfo()
960 uc = (const unsigned char *) &sinp->sin_addr; in fake_getnameinfo()
966 p = inet_ntoa (sinp->sin_addr); in fake_getnameinfo()
973 GET_HOST_BY_ADDR((const char *) &sinp->sin_addr, in fake_getnameinfo()
994 port = ntohs (sinp->sin_port); in fake_getnameinfo()
1003 GET_SERV_BY_PORT(sinp->sin_port, in fake_getnameinfo()
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c730 struct sockaddr_in *sinp = ss2sin (&ss); local
731 sinp->sin_family = AF_INET;
733 sinp->sin_len = sizeof (struct sockaddr_in);
735 memcpy (&sinp->sin_addr, a->contents, IPV4_ADDR_LEN);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c1043 struct sockaddr_in *sinp; in ifscan() local
1181 sinp = (struct sockaddr_in *)&lifrp->lifr_dstaddr; in ifscan()
1194 ifs.int_net = ntohl(sinp->sin_addr.s_addr); in ifscan()
1209 ifs.int_dstaddr = sinp->sin_addr.s_addr; in ifscan()
1213 sinp = (struct sockaddr_in *)&lifrp->lifr_addr; in ifscan()
1224 if (sinp->sin_addr.s_addr == INADDR_ANY) { in ifscan()
1238 ifs.int_mask = ntohl(sinp->sin_addr.s_addr); in ifscan()
1258 haddr = ntohl(sinp->sin_addr.s_addr); in ifscan()
1273 ifs.int_brdaddr = sinp->sin_addr.s_addr; in ifscan()
H A Doutput.c196 struct sockaddr_in *sinp, uint_t ifindex) in sendtoif() argument
207 msg.msg_name = (struct sockaddr *)sinp; in sendtoif()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dagent.c1259 const struct sockaddr_in *sinp; in check_rtm_addr() local
1263 sinp = (const struct sockaddr_in *)cp; in check_rtm_addr()
1264 if ((const char *)(sinp + 1) > lim) in check_rtm_addr()
1266 if (sinp->sin_family != AF_INET) in check_rtm_addr()
1269 return (sinp->sin_addr.s_addr == v4addr); in check_rtm_addr()
H A Dpacket.c1295 struct sockaddr_in *sinp; in sock_recvpkt() local
1303 sinp = (struct sockaddr_in *) in sock_recvpkt()
1305 sinp->sin_family = AF_INET; in sock_recvpkt()
1306 (void) memcpy(&sinp->sin_addr.s_addr, in sock_recvpkt()
H A Dinterface.c702 struct sockaddr_in *sinp = in checkaddr() local
707 if (sinp->sin_addr.s_addr != v4addr) { in checkaddr()
711 lif->lif_name, inet_ntop(AF_INET, &sinp->sin_addr, in checkaddr()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c1391 struct sockaddr_in *sinp = ss2sin (&ss); in get_localaddrs() local
1392 sinp->sin_family = AF_INET; in get_localaddrs()
1393 addrp = &sinp->sin_addr; in get_localaddrs()
1395 sinp->sin_len = sizeof (struct sockaddr_in); in get_localaddrs()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c1991 struct sockaddr_in *sinp = (struct sockaddr_in *)ssp; in addr2storage() local
1998 (void) memset(sinp, 0, sizeof (*sinp)); in addr2storage()
1999 sinp->sin_family = AF_INET; in addr2storage()
2000 IN6_V4MAPPED_TO_INADDR(addr, &sinp->sin_addr); in addr2storage()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c2057 struct sockaddr *sinp; local
2110 sinp = (struct sockaddr *)&inj->ni_addr;
2111 sin = (struct sockaddr_in *)sinp;
2112 sin6 = (struct sockaddr_in6 *)sinp;
2138 inj->ni_physical = net_routeto(net_data_p, sinp, NULL);
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcib.c1927 struct sockaddr_in *sinp; in rib_ping_srv() local
1946 sinp = (struct sockaddr_in *)raddr->buf; in rib_ping_srv()
1948 rptp->dstip.un.ip4addr = sinp->sin_addr.s_addr; in rib_ping_srv()
1949 sinp = addrs4.ri_list; in rib_ping_srv()
1975 sinp[i].sin_addr.s_addr; in rib_ping_srv()
5334 struct sockaddr_in *sinp; in rpcib_get_ib_addresses() local
5362 sinp = addrs4->ri_list; in rpcib_get_ib_addresses()
5363 bcopy(&lifrp->lifr_addr, &sinp[addrs4->ri_count++], in rpcib_get_ib_addresses()