/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 87 sin6_t *sin6; in rts_fill_msg_v6() 109 sin6 = (sin6_t *)cp; in rts_fill_msg_v6() 114 cp += sizeof (sin6_t); in rts_fill_msg_v6() 119 cp += sizeof (sin6_t); in rts_fill_msg_v6() 124 cp += sizeof (sin6_t); in rts_fill_msg_v6() 129 cp += sizeof (sin6_t); in rts_fill_msg_v6() 134 cp += sizeof (sin6_t); in rts_fill_msg_v6() 142 cp += sizeof (sin6_t); in rts_fill_msg_v6() 151 cp += sizeof (sin6_t); in rts_fill_msg_v6()
|
H A D | icmp.c | 130 sin6_t *sin6, cred_t *cr, pid_t pid, ip_xmit_attr_t *ixa); 315 sin6_t *sin6; in icmp_tpi_bind() 355 mp1 = reallocb(mp, sizeof (struct T_bind_ack) + sizeof (sin6_t), 1); in icmp_tpi_bind() 379 tbr->ADDR_length = sizeof (sin6_t); in icmp_tpi_bind() 380 sin6 = (sin6_t *)&tbr[1]; in icmp_tpi_bind() 385 len = sizeof (sin6_t); in icmp_tpi_bind() 394 case sizeof (sin6_t): /* Complete IPv6 address */ in icmp_tpi_bind() 396 tbr->ADDR_offset, sizeof (sin6_t)); in icmp_tpi_bind() 423 sin6_t *sin6; in rawip_do_bind() 454 case sizeof (sin6_t): /* Complete IPv6 address */ in rawip_do_bind() [all …]
|
H A D | ip2mac.c | 82 sin6_t *sin6; in ncec_ip2mac_response() 92 sin6 = (sin6_t *)&ip2m->ip2mac_pa; in ncec_ip2mac_response() 188 sin6_t *sin6; in ip2mac() 217 sin6 = (sin6_t *)&ip2m->ip2mac_pa; in ip2mac()
|
H A D | conn_opt.c | 899 sin6_t *sin6 = (sin6_t *)ptr; in conn_opt_get() 908 return (sizeof (sin6_t)); in conn_opt_get() 1626 if (inlen != 0 && inlen != sizeof (sin6_t)) in conn_opt_set_ipv6() 1628 if (inlen == sizeof (sin6_t)) { in conn_opt_set_ipv6() 1629 sin6_t *sin6 = (sin6_t *)invalp; in conn_opt_set_ipv6() 1862 sin6_t *sin6 = (sin6_t *)invalp; in conn_opt_set_ipv6() 2074 sin6_t *sin6; in conn_getsockname() 2100 if (*salenp < sizeof (sin6_t)) in conn_getsockname() 2103 *salenp = sizeof (sin6_t); in conn_getsockname() 2105 sin6 = (sin6_t *)sa; in conn_getsockname() [all …]
|
H A D | ip_if.c | 149 static int ip_sioctl_token_tail(ipif_t *ipif, sin6_t *sin6, int addrlen, 291 sin6_t sin6_null; /* Zero address for quick clears */ 7101 ci->ci_sin6 = (sin6_t *)&lifr->lifr_addr; in ip_extract_lifreq() 7552 sin6 = (sin6_t *)&lifr->lifr_addr; in ip_sioctl_get_lifsrcof() 7731 sin6 = (sin6_t *)&lifr->lifr_addr; in ip_sioctl_get_lifconf() 8023 sin6_t *sin6 = (sin6_t *)sin; in ip_sioctl_tmyaddr() 8107 sin6_t *sin6 = (sin6_t *)sin; in ip_sioctl_tonlink() 9466 (IN6_IS_ADDR_UNSPECIFIED(&((sin6_t *)sin)->sin6_addr))) { in ip_sioctl_removeif() 9508 sin6_t *sin6; in ip_sioctl_removeif() 9513 sin6 = (sin6_t *)sin; in ip_sioctl_removeif() [all …]
|
H A D | icmp_opt_data.c | 234 sizeof (sin6_t), -1 /* not initialized */ },
|
H A D | ip6_if.c | 2767 sin6_t *sin6; in ip_siocdelndp_v6() 2785 sin6 = (sin6_t *)&lnr->lnr_addr; in ip_siocdelndp_v6() 2851 sin6_t *sin6; in ip_siocsetndp_v6() 2869 sin6 = (sin6_t *)&lnr->lnr_addr; in ip_siocsetndp_v6()
|
/titanic_44/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 57 typedef struct sockaddr_in6 sin6_t; typedef 58 typedef int (spoof_test_f)(int, struct lif_nd_req *, sin6_t *); 169 spoof_bad_lla_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_lla_optlen_test() 185 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_lla_optlen_test() 232 spoof_bad_pi_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_pi_optlen_test() 248 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_pi_optlen_test() 303 spoof_bad_plen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_plen_test() 318 msg6.msg_namelen = sizeof (sin6_t); in spoof_bad_plen_test() 334 spoof_link_local_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_link_local_test() 349 msg6.msg_namelen = sizeof (sin6_t); in spoof_link_local_test() [all …]
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tpi.c | 202 sin6_t *sin6; in tcp_tpi_bind() 230 mp1 = reallocb(mp, sizeof (struct T_bind_ack) + sizeof (sin6_t), 1); in tcp_tpi_bind() 254 tbr->ADDR_length = sizeof (sin6_t); in tcp_tpi_bind() 255 sin6 = (sin6_t *)&tbr[1]; in tcp_tpi_bind() 259 len = sizeof (sin6_t); in tcp_tpi_bind() 269 case sizeof (sin6_t): /* Complete IPv6 address */ in tcp_tpi_bind() 271 tbr->ADDR_offset, sizeof (sin6_t)); in tcp_tpi_bind() 304 sin6 = (sin6_t *)sa; in tcp_tpi_bind() 413 sin6_t sin6; in tcp_conn_con() 457 (int)sizeof (sin6_t), optp, optlen); in tcp_conn_con() [all …]
|
H A D | tcp_bind.c | 524 sin6_t *sin6; in tcp_bind_check() 577 case sizeof (sin6_t): /* Complete IPv6 address */ in tcp_bind_check() 578 sin6 = (sin6_t *)sa; in tcp_bind_check()
|
H A D | tcp_misc.c | 81 #define TCP_AC_V6LADDR(acp) ((sin6_t *)&(acp)->ac_local) 82 #define TCP_AC_V6RADDR(acp) ((sin6_t *)&(acp)->ac_remote)
|
H A D | tcp.c | 391 sizeof (sin6_t), /* ADDR_size */ 4084 sin6_t *sin6 = (sin6_t *)sa; in tcp_do_connect() 4114 case sizeof (sin6_t): in tcp_do_connect() 4115 sin6 = (sin6_t *)sa; in tcp_do_connect() 4340 sin6_t addr; in tcp_do_listen() 4342 sin6_t *sin6; in tcp_do_listen() 4354 len = sizeof (sin6_t); in tcp_do_listen() 4355 sin6 = (sin6_t *)&addr; in tcp_do_listen()
|
H A D | tcp_input.c | 844 sin6_t sin6; in tcp_conn_create_v6() 864 sin6_t sin6d; in tcp_conn_create_v6() 871 (char *)&sin6d, sizeof (sin6_t), in tcp_conn_create_v6() 874 (char *)&sin6d, sizeof (sin6_t), in tcp_conn_create_v6() 878 (char *)&sin6, sizeof (sin6_t), in tcp_conn_create_v6() 905 sin6_t sin6d; in tcp_conn_create_v6() 915 (char *)&sin6d, sizeof (sin6_t), in tcp_conn_create_v6() 917 (char *)&sin6d, sizeof (sin6_t), in tcp_conn_create_v6() 921 (char *)&sin6, sizeof (sin6_t), in tcp_conn_create_v6()
|
H A D | tcp_socket.c | 117 sopp.sopp_maxaddrlen = sizeof (sin6_t); in tcp_activate() 866 laddrlen = faddrlen = sizeof (sin6_t); in tcp_fallback_noneager()
|
/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 167 sin6_t *sin6, ushort_t ipversion, cred_t *cr, pid_t, 316 sizeof (sin6_t), /* ADDR_size. */ 482 sin6_t *sin6; in udp_tpi_bind() 524 mp1 = reallocb(mp, sizeof (struct T_bind_ack) + sizeof (sin6_t), 1); in udp_tpi_bind() 548 tbr->ADDR_length = sizeof (sin6_t); in udp_tpi_bind() 549 sin6 = (sin6_t *)&tbr[1]; in udp_tpi_bind() 571 case sizeof (sin6_t): /* complete IPv6 address */ in udp_tpi_bind() 573 sizeof (sin6_t)); in udp_tpi_bind() 670 case sizeof (sin6_t): in udp_tpi_connect() 672 sizeof (sin6_t)); in udp_tpi_connect() [all …]
|
H A D | udp_opt_data.c | 218 sizeof (sin6_t), -1 /* not initialized */ },
|
/titanic_44/usr/src/uts/common/rpc/ |
H A D | svc_cots.c | 204 + (2 * sizeof (sin6_t)), KM_SLEEP); in svc_cots_kcreate() 223 getaddr.ic_len = sizeof (*ack_p) + (2 * sizeof (sin6_t)); in svc_cots_kcreate() 231 (2 * sizeof (sin6_t))); in svc_cots_kcreate() 285 (2 * sizeof (sin6_t))); in svc_cots_kdestroy()
|
H A D | svc_clts.c | 168 xprt->xp_lcladdr.buf = kmem_zalloc(sizeof (sin6_t), KM_SLEEP); in svc_clts_kcreate() 197 kmem_free(xprt->xp_lcladdr.buf, sizeof (sin6_t)); in svc_clts_kdestroy() 341 ((sin6_t *)(clone_xprt->xp_lcladdr.buf))->sin6_addr in svc_clts_krecv() 343 ((sin6_t *)(clone_xprt->xp_lcladdr.buf))->sin6_family in svc_clts_krecv()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_conn.c | 353 sin6_t *sin6; in sctp_connect() 414 sin6 = (sin6_t *)dst; in sctp_connect() 416 if ((addrlen < sizeof (sin6_t)) || in sctp_connect()
|
H A D | sctp_opt_data.c | 728 sizeof (sin6_t), -1 /* not initialized */ }, 1369 sin6_t *sin6; in sctp_getsockname() 1393 sin6 = (sin6_t *)addr; in sctp_getsockname() 1423 sin6_t *sin6; in sctp_getpeername() 1440 sin6 = (sin6_t *)addr; in sctp_getpeername()
|
H A D | sctp_bind.c | 235 sin6_t *sin6; in sctp_bind() 263 sin6 = (sin6_t *)sa; in sctp_bind()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp_link.c | 295 sin6_t *sin6; in ibcm_nce_lookup() 312 sin6 = (sin6_t *)&ip2m.ip2mac_pa; in ibcm_nce_lookup()
|
/titanic_44/usr/src/uts/common/fs/sockfs/ |
H A D | socktpi.c | 734 (socklen_t)sizeof (sin6_t); in sotpi_bindlisten() 871 sin6_t *sin6 = (sin6_t *)name; in sotpi_bindlisten() 879 if ((size_t)namelen != sizeof (sin6_t)) { in sotpi_bindlisten() 1262 sin6_t *rname6 = (sin6_t *)rname; in sotpi_bindlisten() 1263 sin6_t *aname6 = (sin6_t *)aname; in sotpi_bindlisten() 1946 sin6_t *sin6; in sotpi_accept() 1948 sin6 = (sin6_t *)(ack_mp->b_rptr + in sotpi_accept() 1950 bcopy(sin6, nsti->sti_laddr_sa, sizeof (sin6_t)); in sotpi_accept() 1951 nsti->sti_laddr_len = sizeof (sin6_t); in sotpi_accept() 2095 sinlen = (nso->so_family == AF_INET) ? sizeof (sin_t) : sizeof (sin6_t); in sotpi_accept() [all …]
|
/titanic_44/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 82 sin6_t *sin6; in kssl_check_proxy() 101 case sizeof (sin6_t): in kssl_check_proxy() 102 sin6 = (sin6_t *)sin; in kssl_check_proxy()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 570 sin6_t *sin6; in sctp_getsockaddr() 658 sin6 = (sin6_t *)addr; in sctp_getsockaddr()
|