Lines Matching defs:sizeof

85 	if ((mp = tpi_ack_alloc(mp, sizeof (struct T_error_ack),
220 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tbr)) {
230 mp1 = reallocb(mp, sizeof (struct T_bind_ack) + sizeof (sin6_t), 1);
243 tbr->ADDR_offset = sizeof (struct T_bind_req);
245 tbr->ADDR_length = sizeof (sin_t);
250 len = sizeof (sin_t);
254 tbr->ADDR_length = sizeof (sin6_t);
259 len = sizeof (sin6_t);
264 case sizeof (sin_t): /* Complete IPv4 address */
266 sizeof (sin_t));
269 case sizeof (sin6_t): /* Complete IPv6 address */
271 tbr->ADDR_offset, sizeof (sin6_t));
450 (int)sizeof (sin_t), optp, optlen);
457 (int)sizeof (sin6_t), optp, optlen);
471 (int)sizeof (sin6_t), optp, optlen);
543 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tcr)) {
573 case (sizeof (sin_t) - sizeof (sin->sin_zero)): {
590 nmp = allocb(sizeof (struct T_conn_req) + sizeof (sin_t) +
597 bzero(ntcr, sizeof (struct T_conn_req)); /* zero fill */
599 ntcr->DEST_length = sizeof (sin_t);
600 ntcr->DEST_offset = sizeof (struct T_conn_req);
631 case sizeof (sin_t):
633 sizeof (sin_t));
634 len = sizeof (sin_t);
637 case sizeof (sin6_t):
639 sizeof (sin6_t));
640 len = sizeof (sin6_t);
854 if (MBLKL(mp) < sizeof (struct T_capability_req)) {
861 mp = tpi_ack_alloc(mp, sizeof (struct T_capability_ack),
880 mp = tpi_ack_alloc(mp, sizeof (struct T_info_ack), M_PCPROTO,
901 ackmp = reallocb(mp, sizeof (struct T_addr_ack) +
902 2 * sizeof (sin6_t), 1);
910 bzero(taa, sizeof (struct T_addr_ack));
917 addrlen = sizeof (sin_t);
919 addrlen = sizeof (sin6_t);
929 taa->LOCADDR_offset = sizeof (*taa);
1092 * stroptions is greater than sizeof
1097 sizeof (struct T_discon_ind));
1112 sizeof (struct T_discon_ind);
1132 ASSERT(MBLKSIZE(mp) >= sizeof (struct stroptions));
1136 mp->b_wptr = mp->b_rptr + sizeof (struct stroptions);
1305 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tcr)) {
1354 IP_ADDR_CACHE_SIZE * sizeof (ipaddr_t));
1451 discon_mp = allocb(MAX(sizeof (struct T_discon_ind),
1452 sizeof (struct stroptions)), BPRI_HI);
1483 sizeof (sin_t) : sizeof (sin6_t);
1502 case sizeof (sin_t): {
1511 case sizeof (sin6_t): {
1718 if ((mp->b_wptr - mp->b_rptr) < sizeof (struct T_conn_res)) {
1741 mp->b_wptr = mp->b_rptr + sizeof (struct T_ok_ack);
1760 discon_mp = allocb(MAX(sizeof (struct T_discon_ind),
1761 sizeof (struct stroptions)), BPRI_HI);
1824 (sizeof (struct T_ok_ack) + sizeof (sin_t)));
1826 mp->b_wptr += sizeof (sin_t);
1834 sizeof (struct T_ok_ack) + sizeof (sin6_t));
1836 mp->b_wptr += sizeof (sin6_t);
1916 conn_ind->OPT_length == sizeof (intptr_t));
2032 IP_ADDR_CACHE_SIZE * sizeof (ipaddr_t));