Lines Matching refs:toh
2508 struct T_opthdr toh; in sotpi_connect() local
2510 toh.level = SOL_SOCKET; in sotpi_connect()
2511 toh.name = SO_SRCADDR; in sotpi_connect()
2512 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sotpi_connect()
2513 toh.status = 0; in sotpi_connect()
2515 (t_scalar_t)(sizeof (toh) + _TPI_ALIGN_TOPT(srclen)); in sotpi_connect()
2522 soappendmsg(mp, &toh, sizeof (toh)); in sotpi_connect()
2800 struct T_opthdr toh; in so_unix_close() local
2815 toh.level = SOL_SOCKET; in so_unix_close()
2816 toh.name = SO_UNIX_CLOSE; in so_unix_close()
2819 toh.len = (t_uscalar_t)sizeof (struct T_opthdr); in so_unix_close()
2820 toh.status = 0; in so_unix_close()
2828 tdr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()
2833 &toh, sizeof (toh), 0, _ALLOC_SLEEP, CRED()); in so_unix_close()
2892 tudr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()
2901 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
2907 tudr.OPT_length = (t_scalar_t)(2 * sizeof (toh) + in so_unix_close()
2924 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
3656 struct T_opthdr toh; in sosend_dgramcmsg() local
3732 tudr.OPT_length = (t_scalar_t)(optlen + sizeof (toh) + in sosend_dgramcmsg()
3772 toh.level = SOL_SOCKET; in sosend_dgramcmsg()
3773 toh.name = SO_FILEP; in sosend_dgramcmsg()
3774 toh.len = fdbuf->fd_size + in sosend_dgramcmsg()
3776 toh.status = 0; in sosend_dgramcmsg()
3777 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3786 toh.level = SOL_SOCKET; in sosend_dgramcmsg()
3787 toh.name = SO_SRCADDR; in sosend_dgramcmsg()
3788 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sosend_dgramcmsg()
3789 toh.status = 0; in sosend_dgramcmsg()
3790 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3831 struct T_opthdr toh; in sosend_svccmsg() local
3903 toh.level = SOL_SOCKET; in sosend_svccmsg()
3904 toh.name = SO_FILEP; in sosend_svccmsg()
3905 toh.len = fdbuf->fd_size + in sosend_svccmsg()
3907 toh.status = 0; in sosend_svccmsg()
3908 soappendmsg(mp, &toh, sizeof (toh)); in sosend_svccmsg()
4049 struct T_opthdr toh; in sosend_dgram() local
4052 tudr.OPT_length = (t_scalar_t)(sizeof (toh) + in sosend_dgram()
4057 toh.level = SOL_SOCKET; in sosend_dgram()
4058 toh.name = SO_SRCADDR; in sosend_dgram()
4059 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sosend_dgram()
4060 toh.status = 0; in sosend_dgram()
4074 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgram()