Home
last modified time | relevance | path

Searched refs:tudr (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c97 struct T_unitdata_req *tudr; in sctp_alloc_hdr() local
101 size = sizeof (*tudr) + _TPI_ALIGN_TOPT(nlen) + clen; in sctp_alloc_hdr()
109 tudr = (struct T_unitdata_req *)mp->b_rptr; in sctp_alloc_hdr()
110 tudr->PRIM_type = T_UNITDATA_REQ; in sctp_alloc_hdr()
111 tudr->DEST_length = nlen; in sctp_alloc_hdr()
112 tudr->DEST_offset = sizeof (*tudr); in sctp_alloc_hdr()
113 tudr->OPT_length = clen; in sctp_alloc_hdr()
114 tudr->OPT_offset = (t_scalar_t)(sizeof (*tudr) + in sctp_alloc_hdr()
117 bcopy(name, tudr + 1, nlen); in sctp_alloc_hdr()
119 bcopy(control, (char *)tudr + tudr->OPT_offset, clen); in sctp_alloc_hdr()
[all …]
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c2835 struct T_unitdata_req tudr; in so_unix_close() local
2888 tudr.PRIM_type = T_UNITDATA_REQ; in so_unix_close()
2889 tudr.DEST_length = addrlen; in so_unix_close()
2890 tudr.DEST_offset = (t_scalar_t)sizeof (tudr); in so_unix_close()
2892 tudr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()
2893 tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) + in so_unix_close()
2896 size = tudr.OPT_offset + tudr.OPT_length; in so_unix_close()
2898 mp = soallocproto2(&tudr, sizeof (tudr), in so_unix_close()
2907 tudr.OPT_length = (t_scalar_t)(2 * sizeof (toh) + in so_unix_close()
2909 tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) + in so_unix_close()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drdsddi.c750 #define tudr ((struct T_unitdata_req *)(uintptr_t)rptr) in rds_wput_data() macro
772 if (tudr->OPT_length != 0) { in rds_wput_data()
779 if ((rptr + tudr->DEST_offset + tudr->DEST_length) > in rds_wput_data()
785 sin = (sin_t *)(uintptr_t)&rptr[tudr->DEST_offset]; in rds_wput_data()
786 if (!OK_32PTR((char *)sin) || tudr->DEST_length != in rds_wput_data()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dicmp.c2899 struct T_unitdata_req *tudr; in icmp_ud_err() local
2910 tudr = (struct T_unitdata_req *)mp->b_rptr; in icmp_ud_err()
2911 destaddr = mp->b_rptr + tudr->DEST_offset; in icmp_ud_err()
2913 destaddr + tudr->DEST_length < mp->b_rptr || in icmp_ud_err()
2914 destaddr + tudr->DEST_length > mp->b_wptr) { in icmp_ud_err()
2917 optaddr = mp->b_rptr + tudr->OPT_offset; in icmp_ud_err()
2919 optaddr + tudr->OPT_length < mp->b_rptr || in icmp_ud_err()
2920 optaddr + tudr->OPT_length > mp->b_wptr) { in icmp_ud_err()
2923 destlen = tudr->DEST_length; in icmp_ud_err()
2924 optlen = tudr->OPT_length; in icmp_ud_err()
[all …]
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c2456 struct T_unitdata_req *tudr; in udp_ud_err() local
2467 tudr = (struct T_unitdata_req *)mp->b_rptr; in udp_ud_err()
2468 destaddr = mp->b_rptr + tudr->DEST_offset; in udp_ud_err()
2470 destaddr + tudr->DEST_length < mp->b_rptr || in udp_ud_err()
2471 destaddr + tudr->DEST_length > mp->b_wptr) { in udp_ud_err()
2474 optaddr = mp->b_rptr + tudr->OPT_offset; in udp_ud_err()
2476 optaddr + tudr->OPT_length < mp->b_rptr || in udp_ud_err()
2477 optaddr + tudr->OPT_length > mp->b_wptr) { in udp_ud_err()
2480 destlen = tudr->DEST_length; in udp_ud_err()
2481 optlen = tudr->OPT_length; in udp_ud_err()
[all …]