Symbol: tudr
usr/src/uts/common/fs/sockfs/socktpi.c
2759
struct T_unitdata_req tudr;
usr/src/uts/common/fs/sockfs/socktpi.c
2800
tudr.PRIM_type = T_UNITDATA_REQ;
usr/src/uts/common/fs/sockfs/socktpi.c
2801
tudr.DEST_length = addrlen;
usr/src/uts/common/fs/sockfs/socktpi.c
2802
tudr.DEST_offset = (t_scalar_t)sizeof (tudr);
usr/src/uts/common/fs/sockfs/socktpi.c
2804
tudr.OPT_length = (t_scalar_t)sizeof (toh);
usr/src/uts/common/fs/sockfs/socktpi.c
2805
tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) +
usr/src/uts/common/fs/sockfs/socktpi.c
2808
size = tudr.OPT_offset + tudr.OPT_length;
usr/src/uts/common/fs/sockfs/socktpi.c
2810
mp = soallocproto2(&tudr, sizeof (tudr),
usr/src/uts/common/fs/sockfs/socktpi.c
2819
tudr.OPT_length = (t_scalar_t)(2 * sizeof (toh) +
usr/src/uts/common/fs/sockfs/socktpi.c
2821
tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) +
usr/src/uts/common/fs/sockfs/socktpi.c
2830
size = tudr.OPT_offset + tudr.OPT_length;
usr/src/uts/common/fs/sockfs/socktpi.c
2833
mp = soallocproto2(&tudr, sizeof (tudr),
usr/src/uts/common/fs/sockfs/socktpi.c
3443
struct T_unitdata_req tudr;
usr/src/uts/common/fs/sockfs/socktpi.c
3536
tudr.PRIM_type = T_UNITDATA_REQ;
usr/src/uts/common/fs/sockfs/socktpi.c
3537
tudr.DEST_length = addrlen;
usr/src/uts/common/fs/sockfs/socktpi.c
3538
tudr.DEST_offset = (t_scalar_t)sizeof (tudr);
usr/src/uts/common/fs/sockfs/socktpi.c
3540
tudr.OPT_length = (t_scalar_t)(optlen + sizeof (toh) +
usr/src/uts/common/fs/sockfs/socktpi.c
3543
tudr.OPT_length = optlen;
usr/src/uts/common/fs/sockfs/socktpi.c
3544
tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) +
usr/src/uts/common/fs/sockfs/socktpi.c
3547
size = tudr.OPT_offset + tudr.OPT_length;
usr/src/uts/common/fs/sockfs/socktpi.c
3581
soappendmsg(mp, &tudr, sizeof (tudr));
usr/src/uts/common/fs/sockfs/socktpi.c
3792
struct T_unitdata_req tudr;
usr/src/uts/common/fs/sockfs/socktpi.c
3878
tudr.PRIM_type = T_UNITDATA_REQ;
usr/src/uts/common/fs/sockfs/socktpi.c
3879
tudr.DEST_length = addrlen;
usr/src/uts/common/fs/sockfs/socktpi.c
3880
tudr.DEST_offset = (t_scalar_t)sizeof (tudr);
usr/src/uts/common/fs/sockfs/socktpi.c
3882
tudr.OPT_length = 0;
usr/src/uts/common/fs/sockfs/socktpi.c
3883
tudr.OPT_offset = 0;
usr/src/uts/common/fs/sockfs/socktpi.c
3885
mp = soallocproto2(&tudr, sizeof (tudr),
usr/src/uts/common/fs/sockfs/socktpi.c
3903
tudr.OPT_length = (t_scalar_t)(sizeof (toh) +
usr/src/uts/common/fs/sockfs/socktpi.c
3905
tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) +
usr/src/uts/common/fs/sockfs/socktpi.c
3913
size = tudr.OPT_offset + tudr.OPT_length;
usr/src/uts/common/fs/sockfs/socktpi.c
3914
mp = soallocproto2(&tudr, sizeof (tudr),
usr/src/uts/common/fs/sockfs/socktpi.c
4508
struct T_unitdata_req tudr;
usr/src/uts/common/fs/sockfs/socktpi.c
4550
tudr.PRIM_type = T_UNITDATA_REQ;
usr/src/uts/common/fs/sockfs/socktpi.c
4551
tudr.DEST_length = addrlen;
usr/src/uts/common/fs/sockfs/socktpi.c
4552
tudr.DEST_offset = (t_scalar_t)sizeof (tudr);
usr/src/uts/common/fs/sockfs/socktpi.c
4553
tudr.OPT_length = 0;
usr/src/uts/common/fs/sockfs/socktpi.c
4554
tudr.OPT_offset = 0;
usr/src/uts/common/fs/sockfs/socktpi.c
4556
mp = soallocproto2(&tudr, sizeof (tudr), addr, addrlen, 0,
usr/src/uts/common/inet/ip/icmp.c
2906
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/ip/icmp.c
2917
tudr = (struct T_unitdata_req *)mp->b_rptr;
usr/src/uts/common/inet/ip/icmp.c
2918
destaddr = mp->b_rptr + tudr->DEST_offset;
usr/src/uts/common/inet/ip/icmp.c
2920
destaddr + tudr->DEST_length < mp->b_rptr ||
usr/src/uts/common/inet/ip/icmp.c
2921
destaddr + tudr->DEST_length > mp->b_wptr) {
usr/src/uts/common/inet/ip/icmp.c
2924
optaddr = mp->b_rptr + tudr->OPT_offset;
usr/src/uts/common/inet/ip/icmp.c
2926
optaddr + tudr->OPT_length < mp->b_rptr ||
usr/src/uts/common/inet/ip/icmp.c
2927
optaddr + tudr->OPT_length > mp->b_wptr) {
usr/src/uts/common/inet/ip/icmp.c
2930
destlen = tudr->DEST_length;
usr/src/uts/common/inet/ip/icmp.c
2931
optlen = tudr->OPT_length;
usr/src/uts/common/inet/ip/icmp.c
3417
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/ip/icmp.c
3419
tudr = (struct T_unitdata_req *)tudr_mp->b_rptr;
usr/src/uts/common/inet/ip/icmp.c
3420
ASSERT(tudr->PRIM_type == T_UNITDATA_REQ);
usr/src/uts/common/inet/ip/icmp.c
3422
&tudr->OPT_length, tudr->OPT_offset, cr, &icmp_opt_obj,
usr/src/uts/common/inet/ip/icmp.c
4139
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/ip/icmp.c
4158
tudr = (struct T_unitdata_req *)mp->b_rptr;
usr/src/uts/common/inet/ip/icmp.c
4159
if (MBLKL(mp) < sizeof (*tudr) ||
usr/src/uts/common/inet/ip/icmp.c
4179
if (!MBLKIN(mp, 0, tudr->DEST_offset + tudr->DEST_length)) {
usr/src/uts/common/inet/ip/icmp.c
4207
addr = (struct sockaddr *)&mp->b_rptr[tudr->DEST_offset];
usr/src/uts/common/inet/ip/icmp.c
4208
addrlen = tudr->DEST_length;
usr/src/uts/common/inet/ip/icmp.c
4241
if (tudr->OPT_length != 0) {
usr/src/uts/common/inet/ip/icmp.c
4317
if (tudr->OPT_length != 0) {
usr/src/uts/common/inet/sctp/sctp_output.c
101
size = sizeof (*tudr) + _TPI_ALIGN_TOPT(nlen) + clen;
usr/src/uts/common/inet/sctp/sctp_output.c
109
tudr = (struct T_unitdata_req *)mp->b_rptr;
usr/src/uts/common/inet/sctp/sctp_output.c
110
tudr->PRIM_type = T_UNITDATA_REQ;
usr/src/uts/common/inet/sctp/sctp_output.c
111
tudr->DEST_length = nlen;
usr/src/uts/common/inet/sctp/sctp_output.c
112
tudr->DEST_offset = sizeof (*tudr);
usr/src/uts/common/inet/sctp/sctp_output.c
113
tudr->OPT_length = clen;
usr/src/uts/common/inet/sctp/sctp_output.c
114
tudr->OPT_offset = (t_scalar_t)(sizeof (*tudr) +
usr/src/uts/common/inet/sctp/sctp_output.c
117
bcopy(name, tudr + 1, nlen);
usr/src/uts/common/inet/sctp/sctp_output.c
119
bcopy(control, (char *)tudr + tudr->OPT_offset, clen);
usr/src/uts/common/inet/sctp/sctp_output.c
120
mp->b_wptr += (tudr ->OPT_offset + clen);
usr/src/uts/common/inet/sctp/sctp_output.c
131
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/sctp/sctp_output.c
150
tudr = (struct T_unitdata_req *)mproto->b_rptr;
usr/src/uts/common/inet/sctp/sctp_output.c
151
ASSERT(tudr->PRIM_type == T_UNITDATA_REQ);
usr/src/uts/common/inet/sctp/sctp_output.c
154
if (tudr->DEST_length > 0) {
usr/src/uts/common/inet/sctp/sctp_output.c
159
(mproto->b_rptr + tudr->DEST_offset);
usr/src/uts/common/inet/sctp/sctp_output.c
162
if (tudr->DEST_length < sizeof (*sin)) {
usr/src/uts/common/inet/sctp/sctp_output.c
169
if (tudr->DEST_length < sizeof (*sin6)) {
usr/src/uts/common/inet/sctp/sctp_output.c
173
(mproto->b_rptr + tudr->DEST_offset);
usr/src/uts/common/inet/sctp/sctp_output.c
185
if (tudr->OPT_length > 0) {
usr/src/uts/common/inet/sctp/sctp_output.c
190
cmsg = (struct cmsghdr *)(mproto->b_rptr + tudr->OPT_offset);
usr/src/uts/common/inet/sctp/sctp_output.c
191
cend = ((char *)cmsg + tudr->OPT_length);
usr/src/uts/common/inet/sctp/sctp_output.c
97
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/udp/udp.c
2579
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/udp/udp.c
2590
tudr = (struct T_unitdata_req *)mp->b_rptr;
usr/src/uts/common/inet/udp/udp.c
2591
destaddr = mp->b_rptr + tudr->DEST_offset;
usr/src/uts/common/inet/udp/udp.c
2593
destaddr + tudr->DEST_length < mp->b_rptr ||
usr/src/uts/common/inet/udp/udp.c
2594
destaddr + tudr->DEST_length > mp->b_wptr) {
usr/src/uts/common/inet/udp/udp.c
2597
optaddr = mp->b_rptr + tudr->OPT_offset;
usr/src/uts/common/inet/udp/udp.c
2599
optaddr + tudr->OPT_length < mp->b_rptr ||
usr/src/uts/common/inet/udp/udp.c
2600
optaddr + tudr->OPT_length > mp->b_wptr) {
usr/src/uts/common/inet/udp/udp.c
2603
destlen = tudr->DEST_length;
usr/src/uts/common/inet/udp/udp.c
2604
optlen = tudr->OPT_length;
usr/src/uts/common/inet/udp/udp.c
2805
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/udp/udp.c
2807
tudr = (struct T_unitdata_req *)tudr_mp->b_rptr;
usr/src/uts/common/inet/udp/udp.c
2808
ASSERT(tudr->PRIM_type == T_UNITDATA_REQ);
usr/src/uts/common/inet/udp/udp.c
2810
&tudr->OPT_length, tudr->OPT_offset, cr, &udp_opt_obj,
usr/src/uts/common/inet/udp/udp.c
3517
struct T_unitdata_req *tudr;
usr/src/uts/common/inet/udp/udp.c
3566
tudr = (struct T_unitdata_req *)mp->b_rptr;
usr/src/uts/common/inet/udp/udp.c
3567
if (MBLKL(mp) < sizeof (*tudr) ||
usr/src/uts/common/inet/udp/udp.c
3587
if (!MBLKIN(mp, 0, tudr->DEST_offset + tudr->DEST_length)) {
usr/src/uts/common/inet/udp/udp.c
3617
addr = (struct sockaddr *)&mp->b_rptr[tudr->DEST_offset];
usr/src/uts/common/inet/udp/udp.c
3618
addrlen = tudr->DEST_length;
usr/src/uts/common/inet/udp/udp.c
3680
if (tudr->OPT_length != 0) {
usr/src/uts/common/inet/udp/udp.c
3743
if (tudr->OPT_length != 0) {
usr/src/uts/common/io/ib/clients/rds/rdsddi.c
777
if (tudr->OPT_length != 0) {
usr/src/uts/common/io/ib/clients/rds/rdsddi.c
784
if ((rptr + tudr->DEST_offset + tudr->DEST_length) >
usr/src/uts/common/io/ib/clients/rds/rdsddi.c
790
sin = (sin_t *)(uintptr_t)&rptr[tudr->DEST_offset];
usr/src/uts/common/io/ib/clients/rds/rdsddi.c
791
if (!OK_32PTR((char *)sin) || tudr->DEST_length !=