Searched refs:tudi (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_notify.c | 48 struct T_unitdata_ind *tudi; in sctp_notify() local 55 if ((mp = allocb(sizeof (*tudi) + sizeof (void *) + in sctp_notify() 67 tudi = (struct T_unitdata_ind *)mp->b_rptr; in sctp_notify() 68 tudi->PRIM_type = T_UNITDATA_IND; in sctp_notify() 69 tudi->SRC_offset = sizeof (*tudi); in sctp_notify() 70 tudi->OPT_length = 0; in sctp_notify() 71 tudi->OPT_offset = 0; in sctp_notify() 82 tudi->SRC_length = sizeof (*sin4); in sctp_notify() 83 sin4 = (struct sockaddr_in *)(tudi + 1); in sctp_notify() 91 tudi->SRC_length = sizeof (*sin6); in sctp_notify() [all …]
|
H A D | sctp_input.c | 323 struct T_unitdata_ind *tudi; in sctp_input_add_ancillary() local 347 hdrlen = sizeof (*tudi) + sizeof (*sin4); in sctp_input_add_ancillary() 353 hdrlen = sizeof (*tudi) + sizeof (*sin6); in sctp_input_add_ancillary() 459 tudi = (struct T_unitdata_ind *)mp1->b_rptr; in sctp_input_add_ancillary() 460 tudi->PRIM_type = T_UNITDATA_IND; in sctp_input_add_ancillary() 461 tudi->SRC_length = sin4 ? sizeof (*sin4) : sizeof (*sin6); in sctp_input_add_ancillary() 462 tudi->SRC_offset = sizeof (*tudi); in sctp_input_add_ancillary() 463 tudi->OPT_offset = sizeof (*tudi) + tudi->SRC_length; in sctp_input_add_ancillary() 464 tudi->OPT_length = optlen; in sctp_input_add_ancillary() 466 bcopy(sin4, tudi + 1, sizeof (*sin4)); in sctp_input_add_ancillary() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsddi.c | 286 struct T_unitdata_ind *tudi; in rds_deliver_new_msg() local 317 tudi = (struct T_unitdata_ind *)(uintptr_t)mp->b_rptr; in rds_deliver_new_msg() 318 mp->b_wptr = (uchar_t *)tudi + udi_size; in rds_deliver_new_msg() 319 tudi->PRIM_type = T_UNITDATA_IND; in rds_deliver_new_msg() 320 tudi->SRC_length = sizeof (sin_t); in rds_deliver_new_msg() 321 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in rds_deliver_new_msg() 322 tudi->OPT_offset = sizeof (struct T_unitdata_ind) + sizeof (sin_t); in rds_deliver_new_msg() 324 tudi->OPT_length = udi_size; in rds_deliver_new_msg() 325 sin = (sin_t *)&tudi[1]; in rds_deliver_new_msg()
|
/titanic_44/usr/src/uts/common/fs/sockfs/ |
H A D | sockstr.c | 1728 struct T_unitdata_ind *tudi = &tpr->unitdata_ind; in strsock_proto() local 1750 tudi->OPT_length != 0) { in strsock_proto() 1752 t_uscalar_t optlen = tudi->OPT_length; in strsock_proto() 1754 opt = sogetoff(mp, tudi->OPT_offset, in strsock_proto() 1765 optlen, tudi->OPT_offset); in strsock_proto() 1804 addrlen = tudi->SRC_length; in strsock_proto() 1810 addr = sogetoff(mp, tudi->SRC_offset, addrlen, in strsock_proto() 1820 addrlen, tudi->SRC_offset); in strsock_proto() 1897 tudi->OPT_length != 0) { in strsock_proto() 1903 t_uscalar_t optlen = tudi->OPT_length; in strsock_proto() [all …]
|
H A D | socktpi.c | 4291 struct T_uderror_ind *tudi; in sotpi_sendmsg() local 4299 tudi = in sotpi_sendmsg() 4301 addrlen = tudi->DEST_length; in sotpi_sendmsg() 4303 tudi->DEST_offset, addrlen, 1); in sotpi_sendmsg()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | trill.c | 1415 struct T_unitdata_ind *tudi; in trill_ctrl_input() local 1440 tudi = (struct T_unitdata_ind *)mp->b_rptr; in trill_ctrl_input() 1441 mp->b_wptr = (uchar_t *)tudi + udi_size; in trill_ctrl_input() 1443 tudi->PRIM_type = T_UNITDATA_IND; in trill_ctrl_input() 1444 tudi->SRC_length = sizeof (struct sockaddr_dl); in trill_ctrl_input() 1445 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in trill_ctrl_input() 1446 tudi->OPT_length = 0; in trill_ctrl_input() 1447 tudi->OPT_offset = sizeof (struct T_unitdata_ind) + in trill_ctrl_input() 1451 sdl = (struct sockaddr_dl *)&tudi[1]; in trill_ctrl_input()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | icmp.c | 1317 struct T_unitdata_ind *tudi; in icmp_icmp_error_ipv6() local 1346 tudi = (struct T_unitdata_ind *)newmp->b_rptr; in icmp_icmp_error_ipv6() 1347 newmp->b_wptr = (uchar_t *)tudi + udi_size; in icmp_icmp_error_ipv6() 1348 tudi->PRIM_type = T_UNITDATA_IND; in icmp_icmp_error_ipv6() 1349 tudi->SRC_length = sizeof (sin6_t); in icmp_icmp_error_ipv6() 1350 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in icmp_icmp_error_ipv6() 1351 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in icmp_icmp_error_ipv6() 1352 tudi->OPT_length = opt_length; in icmp_icmp_error_ipv6() 1354 sin6 = (sin6_t *)&tudi[1]; in icmp_icmp_error_ipv6() 2560 struct T_unitdata_ind *tudi; in icmp_input() local [all …]
|
/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1107 struct T_unitdata_ind *tudi; in udp_icmp_error_ipv6() local 1136 tudi = (struct T_unitdata_ind *)newmp->b_rptr; in udp_icmp_error_ipv6() 1137 newmp->b_wptr = (uchar_t *)tudi + udi_size; in udp_icmp_error_ipv6() 1138 tudi->PRIM_type = T_UNITDATA_IND; in udp_icmp_error_ipv6() 1139 tudi->SRC_length = sizeof (sin6_t); in udp_icmp_error_ipv6() 1140 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in udp_icmp_error_ipv6() 1141 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in udp_icmp_error_ipv6() 1142 tudi->OPT_length = opt_length; in udp_icmp_error_ipv6() 1144 sin6 = (sin6_t *)&tudi[1]; in udp_icmp_error_ipv6() 2193 struct T_unitdata_ind *tudi; in udp_input() local [all …]
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | mi.c | 1356 struct T_unitdata_ind *tudi; in mi_tpi_addr_and_opt() local 1367 tudi = (struct T_unitdata_ind *)mp->b_rptr; in mi_tpi_addr_and_opt() 1368 tudi->SRC_offset = (t_scalar_t)(mp->b_wptr - mp->b_rptr); in mi_tpi_addr_and_opt() 1369 tudi->SRC_length = addr_length; in mi_tpi_addr_and_opt() 1374 tudi->OPT_offset = (t_scalar_t)(mp->b_wptr - mp->b_rptr); in mi_tpi_addr_and_opt() 1375 tudi->OPT_length = opt_length; in mi_tpi_addr_and_opt()
|