Lines Matching refs:toh

2449 		struct T_opthdr toh;  in sotpi_connect()  local
2451 toh.level = SOL_SOCKET; in sotpi_connect()
2452 toh.name = SO_SRCADDR; in sotpi_connect()
2453 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sotpi_connect()
2454 toh.status = 0; in sotpi_connect()
2456 (t_scalar_t)(sizeof (toh) + _TPI_ALIGN_TOPT(srclen)); in sotpi_connect()
2463 soappendmsg(mp, &toh, sizeof (toh)); in sotpi_connect()
2740 struct T_opthdr toh; in so_unix_close() local
2755 toh.level = SOL_SOCKET; in so_unix_close()
2756 toh.name = SO_UNIX_CLOSE; in so_unix_close()
2759 toh.len = (t_uscalar_t)sizeof (struct T_opthdr); in so_unix_close()
2760 toh.status = 0; in so_unix_close()
2768 tdr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()
2773 &toh, sizeof (toh), 0, _ALLOC_SLEEP, CRED()); in so_unix_close()
2820 tudr.OPT_length = (t_scalar_t)sizeof (toh); in so_unix_close()
2829 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
2835 tudr.OPT_length = (t_scalar_t)(2 * sizeof (toh) + in so_unix_close()
2852 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
3468 struct T_opthdr toh; in sosend_dgramcmsg() local
3556 tudr.OPT_length = (t_scalar_t)(optlen + sizeof (toh) + in sosend_dgramcmsg()
3603 toh.level = SOL_SOCKET; in sosend_dgramcmsg()
3604 toh.name = SO_FILEP; in sosend_dgramcmsg()
3605 toh.len = fdbuf->fd_size + in sosend_dgramcmsg()
3607 toh.status = 0; in sosend_dgramcmsg()
3608 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3617 toh.level = SOL_SOCKET; in sosend_dgramcmsg()
3618 toh.name = SO_SRCADDR; in sosend_dgramcmsg()
3619 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sosend_dgramcmsg()
3620 toh.status = 0; in sosend_dgramcmsg()
3621 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3664 struct T_opthdr toh; in sosend_svccmsg() local
3744 toh.level = SOL_SOCKET; in sosend_svccmsg()
3745 toh.name = SO_FILEP; in sosend_svccmsg()
3746 toh.len = fdbuf->fd_size + in sosend_svccmsg()
3748 toh.status = 0; in sosend_svccmsg()
3749 soappendmsg(mp, &toh, sizeof (toh)); in sosend_svccmsg()
3916 struct T_opthdr toh; in sosend_dgram() local
3919 tudr.OPT_length = (t_scalar_t)(sizeof (toh) + in sosend_dgram()
3924 toh.level = SOL_SOCKET; in sosend_dgram()
3925 toh.name = SO_SRCADDR; in sosend_dgram()
3926 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sosend_dgram()
3927 toh.status = 0; in sosend_dgram()
3941 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgram()