Searched refs:tudr (Results 1 – 5 of 5) sorted by relevance
2775 struct T_unitdata_req tudr; in so_unix_close() local2816 tudr.PRIM_type = T_UNITDATA_REQ; in so_unix_close()2817 tudr.DEST_length = addrlen; in so_unix_close()2818 tudr.DEST_offset = (t_scalar_t)sizeof (tudr); in so_unix_close()2820 tudr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()2821 tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) + in so_unix_close()2824 size = tudr.OPT_offset + tudr.OPT_length; in so_unix_close()2826 mp = soallocproto2(&tudr, sizeof (tudr), in so_unix_close()2835 tudr.OPT_length = (t_scalar_t)(2 * sizeof (toh) + in so_unix_close()2837 tudr.OPT_offset = (t_scalar_t)(sizeof (tudr) + in so_unix_close()[all …]
97 struct T_unitdata_req *tudr; in sctp_alloc_hdr() local101 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 …]
755 #define tudr ((struct T_unitdata_req *)(uintptr_t)rptr) in rds_wput_data() macro777 if (tudr->OPT_length != 0) { in rds_wput_data()784 if ((rptr + tudr->DEST_offset + tudr->DEST_length) > in rds_wput_data()790 sin = (sin_t *)(uintptr_t)&rptr[tudr->DEST_offset]; in rds_wput_data()791 if (!OK_32PTR((char *)sin) || tudr->DEST_length != in rds_wput_data()
2907 struct T_unitdata_req *tudr; in icmp_ud_err() local2918 tudr = (struct T_unitdata_req *)mp->b_rptr; in icmp_ud_err()2919 destaddr = mp->b_rptr + tudr->DEST_offset; in icmp_ud_err()2921 destaddr + tudr->DEST_length < mp->b_rptr || in icmp_ud_err()2922 destaddr + tudr->DEST_length > mp->b_wptr) { in icmp_ud_err()2925 optaddr = mp->b_rptr + tudr->OPT_offset; in icmp_ud_err()2927 optaddr + tudr->OPT_length < mp->b_rptr || in icmp_ud_err()2928 optaddr + tudr->OPT_length > mp->b_wptr) { in icmp_ud_err()2931 destlen = tudr->DEST_length; in icmp_ud_err()2932 optlen = tudr->OPT_length; in icmp_ud_err()[all …]
2581 struct T_unitdata_req *tudr; in udp_ud_err() local2592 tudr = (struct T_unitdata_req *)mp->b_rptr; in udp_ud_err()2593 destaddr = mp->b_rptr + tudr->DEST_offset; in udp_ud_err()2595 destaddr + tudr->DEST_length < mp->b_rptr || in udp_ud_err()2596 destaddr + tudr->DEST_length > mp->b_wptr) { in udp_ud_err()2599 optaddr = mp->b_rptr + tudr->OPT_offset; in udp_ud_err()2601 optaddr + tudr->OPT_length < mp->b_rptr || in udp_ud_err()2602 optaddr + tudr->OPT_length > mp->b_wptr) { in udp_ud_err()2605 destlen = tudr->DEST_length; in udp_ud_err()2606 optlen = tudr->OPT_length; in udp_ud_err()[all …]