Print this page
5956 orientate is not a word
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Marcel Telka <marcel@telka.sk>


  37  * University Acknowledgment- Portions of this document are derived from
  38  * software developed by the University of California, Berkeley, and its
  39  * contributors.
  40  */
  41 
  42 #ifndef _SYS_T_KUSER_H
  43 #define _SYS_T_KUSER_H
  44 
  45 #include <sys/types.h>
  46 #include <sys/file.h>
  47 #include <sys/cred.h>
  48 #include <sys/stream.h>
  49 #include <sys/tiuser.h>
  50 
  51 #ifdef  __cplusplus
  52 extern "C" {
  53 #endif
  54 
  55 /*
  56  * Note this structure will need to be expanded to handle data
  57  * related to connection orientated transports.
  58  */
  59 typedef struct tiuser {
  60         struct  file *fp;
  61         struct  t_info tp_info; /* Transport provider Info. */
  62         int     flags;
  63 } TIUSER;
  64 #define         TIUSERSZ        sizeof (TIUSER)
  65 
  66 struct knetbuf {
  67         mblk_t   *udata_mp;     /* current receive streams block */
  68         unsigned int maxlen;
  69         unsigned int len;
  70         char    *buf;
  71 };
  72 
  73 struct t_kunitdata {
  74         struct netbuf addr;
  75         struct netbuf opt;
  76         struct knetbuf udata;
  77 };




  37  * University Acknowledgment- Portions of this document are derived from
  38  * software developed by the University of California, Berkeley, and its
  39  * contributors.
  40  */
  41 
  42 #ifndef _SYS_T_KUSER_H
  43 #define _SYS_T_KUSER_H
  44 
  45 #include <sys/types.h>
  46 #include <sys/file.h>
  47 #include <sys/cred.h>
  48 #include <sys/stream.h>
  49 #include <sys/tiuser.h>
  50 
  51 #ifdef  __cplusplus
  52 extern "C" {
  53 #endif
  54 
  55 /*
  56  * Note this structure will need to be expanded to handle data
  57  * related to connection oriented transports.
  58  */
  59 typedef struct tiuser {
  60         struct  file *fp;
  61         struct  t_info tp_info; /* Transport provider Info. */
  62         int     flags;
  63 } TIUSER;
  64 #define         TIUSERSZ        sizeof (TIUSER)
  65 
  66 struct knetbuf {
  67         mblk_t   *udata_mp;     /* current receive streams block */
  68         unsigned int maxlen;
  69         unsigned int len;
  70         char    *buf;
  71 };
  72 
  73 struct t_kunitdata {
  74         struct netbuf addr;
  75         struct netbuf opt;
  76         struct knetbuf udata;
  77 };