Home
last modified time | relevance | path

Searched refs:tudi (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c48 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 Dsctp_input.c324 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()
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()
469 bcopy(sin6, tudi + 1, sizeof (*sin6)); in sctp_input_add_ancillary()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsddi.c291 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 Dsockstr.c1750 tudi->OPT_length != 0) { in strsock_proto()
1765 optlen, tudi->OPT_offset); in strsock_proto()
1804 addrlen = tudi->SRC_length; in strsock_proto()
1820 addrlen, tudi->SRC_offset); in strsock_proto()
1897 tudi->OPT_length != 0) { in strsock_proto()
1916 optlen, tudi->OPT_offset); in strsock_proto()
2402 addrlen = tudi->DEST_length; in strsock_proto()
2484 if (tudi->ERROR_type != 0) in strsock_proto()
2485 error = tudi->ERROR_type; in strsock_proto()
2517 if (tudi->ERROR_type != 0) in strsock_proto()
[all …]
H A Dsocktpi.c4232 struct T_uderror_ind *tudi; in sotpi_sendmsg() local
4240 tudi = in sotpi_sendmsg()
4242 addrlen = tudi->DEST_length; in sotpi_sendmsg()
4244 tudi->DEST_offset, addrlen, 1); in sotpi_sendmsg()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_mux.c90 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 Dicmp.c1324 struct T_unitdata_ind *tudi; in icmp_icmp_error_ipv6() local
1355 tudi->PRIM_type = T_UNITDATA_IND; in icmp_icmp_error_ipv6()
1358 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in icmp_icmp_error_ipv6()
1359 tudi->OPT_length = opt_length; in icmp_icmp_error_ipv6()
1361 sin6 = (sin6_t *)&tudi[1]; in icmp_icmp_error_ipv6()
2567 struct T_unitdata_ind *tudi; in icmp_input() local
2687 sin = (sin_t *)&tudi[1]; in icmp_input()
2696 tudi->OPT_length = udi_size; in icmp_input()
2807 tudi->PRIM_type = T_UNITDATA_IND; in icmp_input()
2812 tudi->OPT_length = udi_size; in icmp_input()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c1415 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()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c1190 struct T_unitdata_ind *tudi; in udp_icmp_error_ipv6() local
1221 tudi->PRIM_type = T_UNITDATA_IND; in udp_icmp_error_ipv6()
1224 tudi->OPT_offset = tudi->SRC_offset + sizeof (sin6_t); in udp_icmp_error_ipv6()
1225 tudi->OPT_length = opt_length; in udp_icmp_error_ipv6()
1227 sin6 = (sin6_t *)&tudi[1]; in udp_icmp_error_ipv6()
2317 struct T_unitdata_ind *tudi; in udp_input() local
2458 tudi->PRIM_type = T_UNITDATA_IND; in udp_input()
2464 tudi->OPT_length = udi_size; in udp_input()
2465 sin = (sin_t *)&tudi[1]; in udp_input()
2513 tudi->OPT_length = udi_size; in udp_input()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dmi.c1358 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()