Searched refs:tudi (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/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 | 324 struct T_unitdata_ind *tudi; in sctp_input_add_ancillary() local 348 hdrlen = sizeof (*tudi) + sizeof (*sin4); in sctp_input_add_ancillary() 354 hdrlen = sizeof (*tudi) + sizeof (*sin6); in sctp_input_add_ancillary() 460 tudi = (struct T_unitdata_ind *)mp1->b_rptr; in sctp_input_add_ancillary() 461 tudi->PRIM_type = T_UNITDATA_IND; in sctp_input_add_ancillary() 462 tudi->SRC_length = sin4 ? sizeof (*sin4) : sizeof (*sin6); in sctp_input_add_ancillary() 463 tudi->SRC_offset = sizeof (*tudi); in sctp_input_add_ancillary() 464 tudi->OPT_offset = sizeof (*tudi) + tudi->SRC_length; in sctp_input_add_ancillary() 465 tudi->OPT_length = optlen; in sctp_input_add_ancillary() 467 bcopy(sin4, tudi + 1, sizeof (*sin4)); in sctp_input_add_ancillary() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsddi.c | 291 struct T_unitdata_ind *tudi; in rds_deliver_new_msg() local 322 tudi = (struct T_unitdata_ind *)(uintptr_t)mp->b_rptr; in rds_deliver_new_msg() 323 mp->b_wptr = (uchar_t *)tudi + udi_size; in rds_deliver_new_msg() 324 tudi->PRIM_type = T_UNITDATA_IND; in rds_deliver_new_msg() 325 tudi->SRC_length = sizeof (sin_t); in rds_deliver_new_msg() 326 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in rds_deliver_new_msg() 327 tudi->OPT_offset = sizeof (struct T_unitdata_ind) + sizeof (sin_t); in rds_deliver_new_msg() 329 tudi->OPT_length = udi_size; in rds_deliver_new_msg() 330 sin = (sin_t *)&tudi[1]; in rds_deliver_new_msg()
|
/illumos-gate/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 | 4224 struct T_uderror_ind *tudi; in sotpi_sendmsg() local 4232 tudi = in sotpi_sendmsg() 4234 addrlen = tudi->DEST_length; in sotpi_sendmsg() 4236 tudi->DEST_offset, addrlen, 1); in sotpi_sendmsg()
|
/illumos-gate/usr/src/uts/common/io/overlay/ |
H A D | overlay_mux.c | 90 struct T_unitdata_ind *tudi; in overlay_mux_recv() local 110 tudi = (struct T_unitdata_ind *)mp->b_rptr; in overlay_mux_recv() 111 if (tudi->PRIM_type != T_UNITDATA_IND) { in overlay_mux_recv()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | icmp.c | 1325 struct T_unitdata_ind *tudi; in icmp_icmp_error_ipv6() local 1354 tudi = (struct T_unitdata_ind *)newmp->b_rptr; in icmp_icmp_error_ipv6() 1355 newmp->b_wptr = (uchar_t *)tudi + udi_size; in icmp_icmp_error_ipv6() 1356 tudi->PRIM_type = T_UNITDATA_IND; in icmp_icmp_error_ipv6() 1357 tudi->SRC_length = sizeof (sin6_t); in icmp_icmp_error_ipv6() 1358 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in icmp_icmp_error_ipv6() 1359 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in icmp_icmp_error_ipv6() 1360 tudi->OPT_length = opt_length; in icmp_icmp_error_ipv6() 1362 sin6 = (sin6_t *)&tudi[1]; in icmp_icmp_error_ipv6() 2568 struct T_unitdata_ind *tudi; in icmp_input() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill.c | 1416 struct T_unitdata_ind *tudi; in trill_ctrl_input() local 1441 tudi = (struct T_unitdata_ind *)mp->b_rptr; in trill_ctrl_input() 1442 mp->b_wptr = (uchar_t *)tudi + udi_size; in trill_ctrl_input() 1444 tudi->PRIM_type = T_UNITDATA_IND; in trill_ctrl_input() 1445 tudi->SRC_length = sizeof (struct sockaddr_dl); in trill_ctrl_input() 1446 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in trill_ctrl_input() 1447 tudi->OPT_length = 0; in trill_ctrl_input() 1448 tudi->OPT_offset = sizeof (struct T_unitdata_ind) + in trill_ctrl_input() 1452 sdl = (struct sockaddr_dl *)&tudi[1]; in trill_ctrl_input()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1191 struct T_unitdata_ind *tudi; in udp_icmp_error_ipv6() local 1220 tudi = (struct T_unitdata_ind *)newmp->b_rptr; in udp_icmp_error_ipv6() 1221 newmp->b_wptr = (uchar_t *)tudi + udi_size; in udp_icmp_error_ipv6() 1222 tudi->PRIM_type = T_UNITDATA_IND; in udp_icmp_error_ipv6() 1223 tudi->SRC_length = sizeof (sin6_t); in udp_icmp_error_ipv6() 1224 tudi->SRC_offset = sizeof (struct T_unitdata_ind); in udp_icmp_error_ipv6() 1225 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in udp_icmp_error_ipv6() 1226 tudi->OPT_length = opt_length; in udp_icmp_error_ipv6() 1228 sin6 = (sin6_t *)&tudi[1]; in udp_icmp_error_ipv6() 2318 struct T_unitdata_ind *tudi; in udp_input() local [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.c | 1358 struct T_unitdata_ind *tudi; in mi_tpi_addr_and_opt() local 1369 tudi = (struct T_unitdata_ind *)mp->b_rptr; in mi_tpi_addr_and_opt() 1370 tudi->SRC_offset = (t_scalar_t)(mp->b_wptr - mp->b_rptr); in mi_tpi_addr_and_opt() 1371 tudi->SRC_length = addr_length; in mi_tpi_addr_and_opt() 1376 tudi->OPT_offset = (t_scalar_t)(mp->b_wptr - mp->b_rptr); in mi_tpi_addr_and_opt() 1377 tudi->OPT_length = opt_length; in mi_tpi_addr_and_opt()
|