/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_sync.c | 41 _tx_sync(int fd, int api_semantics) argument 55 if (_T_IS_XTI(api_semantics)) 58 if ((tiptr = _t_checkfd(fd, force_sync, api_semantics)) == NULL)
|
H A D | t_getstate.c | 42 _tx_getstate(int fd, int api_semantics) argument 46 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
|
H A D | t_sysconf.c | 40 _tx_sysconf(int name, int api_semantics) argument 42 assert(api_semantics == TX_XTI_XNS5_API);
|
H A D | t_alloc.c | 49 int api_semantics, boolean_t option); 52 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) argument 71 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 116 fields, api_semantics, B_FALSE) < 0) 128 fields, api_semantics, B_FALSE) < 0) 132 if (info.OPT_size >= 0 && _T_IS_XTI(api_semantics)) 139 fields, api_semantics, B_TRUE) < 0) 146 fields, api_semantics, B_FALSE) < 0) 156 if (info.OPT_size >= 0 && _T_IS_XTI(api_semantics)) 163 fields, api_semantics, B_TRU 263 _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, int api_semantics, boolean_t option) argument [all...] |
H A D | t_close.c | 42 _tx_close(int fd, int api_semantics) argument 47 if (_t_checkfd(fd, 0, api_semantics) == NULL)
|
H A D | t_look.c | 45 _tx_look(int fd, int api_semantics) argument 52 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 56 if (_T_IS_XTI(api_semantics)) 60 state = _t_look_locked(fd, tiptr, do_expinline_peek, api_semantics); 79 int api_semantics 91 if (_T_IS_XTI(api_semantics)) { 189 assert(_T_IS_XTI(api_semantics)); 230 assert(_T_IS_XTI(api_semantics));
|
H A D | t_strerror.c | 83 _tx_strerror(int errnum, int api_semantics) argument 87 if (_T_IS_XTI(api_semantics)) {
|
H A D | t_rcvconnect.c | 52 _tx_rcvconnect(int fd, struct t_call *call, int api_semantics) argument 59 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 64 if (_T_IS_XTI(api_semantics)) { 87 retval = _t_rcv_conn_con(tiptr, call, &ctlbuf, api_semantics);
|
H A D | t_sndrel.c | 49 _tx_sndrel(int fd, int api_semantics) argument 55 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 65 if (_T_IS_XTI(api_semantics)) { 78 api_semantics) == T_DISCONNECT) {
|
H A D | t_sndreldata.c | 47 _tx_sndreldata(int fd, struct t_discon *discon, int api_semantics) argument 53 assert(api_semantics == TX_XTI_XNS5_API); 54 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 72 api_semantics) == T_DISCONNECT) {
|
H A D | t_connect.c | 58 int api_semantics 68 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 72 if (_T_IS_XTI(api_semantics)) { 110 if (_T_IS_TLI(api_semantics) && t_errno == TADDRBUSY) 135 if (_t_rcv_conn_con(tiptr, rcvcall, &ctlbuf, api_semantics) < 0) {
|
H A D | t_bind.c | 52 int api_semantics 65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 76 if (_T_IS_XTI(api_semantics)) { 105 use_xpg41tpi = (_T_IS_XTI(api_semantics)) && 147 (use_xpg41tpi == 0) && (_T_IS_XTI(api_semantics))) { 175 if (_T_IS_TLI(api_semantics) || ret->addr.maxlen > 0) {
|
H A D | t_open.c | 64 _tx_open(const char *path, int flags, struct t_info *info, int api_semantics) argument 85 if (_T_IS_XTI(api_semantics) && errno == ENOENT) 144 tiptr = _t_create(fd, info, api_semantics, &ticap_ioctl_failed);
|
H A D | t_unbind.c | 49 _tx_unbind(int fd, int api_semantics) argument 56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 59 if (_T_IS_XTI(api_semantics)) {
|
H A D | t_error.c | 41 _tx_error(const char *s, int api_semantics) argument
|
H A D | t_getname.c | 55 _tx_getname(int fd, struct netbuf *name, int type, int api_semantics) argument 60 assert(_T_IS_TLI(api_semantics)); /* TLI only interface */ 66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) 109 int api_semantics) 119 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) 105 _tx_getprotaddr( int fd, struct t_bind *boundaddr, struct t_bind *peeraddr, int api_semantics) argument
|
H A D | t_optmgmt.c | 63 int api_semantics 78 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 113 if (_T_IS_XTI(api_semantics) && (optlen > 0)) { 227 if (_T_IS_XTI(api_semantics)) 262 if (_T_IS_TLI(api_semantics) || ret->opt.maxlen > 0) {
|
H A D | t_rcvdis.c | 48 _tx_rcvdis(int fd, struct t_discon *discon, int api_semantics) argument 60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 77 if (_T_IS_XTI(api_semantics)) { 116 api_semantics)) < 0) { 214 if (_T_IS_TLI(api_semantics) || discon->udata.maxlen > 0) {
|
H A D | t_rcvudata.c | 57 int api_semantics 68 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 78 if (_T_IS_XTI(api_semantics)) { 164 if (_T_IS_TLI(api_semantics) || 178 if (_T_IS_TLI(api_semantics) ||
|
H A D | t_rcvuderr.c | 48 _tx_rcvuderr(int fd, struct t_uderr *uderr, int api_semantics) argument 60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 89 api_semantics)) < 0) { 150 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { 162 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) {
|
H A D | t_snd.c | 53 _tx_snd(int fd, char *buf, unsigned nbytes, int flags, int api_semantics) argument 66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 76 if (_T_IS_XTI(api_semantics)) { 116 lookevent = _t_look_locked(fd, tiptr, 0, api_semantics); 129 (api_semantics == TX_XTI_XNS4_API &&
|
H A D | t_getinfo.c | 54 _tx_getinfo(int fd, struct t_info *info, int api_semantics) argument 63 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) 108 if (_T_IS_XTI(api_semantics)) {
|
H A D | t_rcvrel.c | 52 _tx_rcvrel(int fd, int api_semantics) argument 64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) 74 if (_T_IS_XTI(api_semantics)) { 87 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) {
|
H A D | t_rcvreldata.c | 51 _tx_rcvreldata(int fd, struct t_discon *discon, int api_semantics) argument 64 assert(api_semantics == TX_XTI_XNS5_API); 65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) 82 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) {
|
H A D | t_snddis.c | 47 _tx_snddis(int fd, const struct t_call *call, int api_semantics) argument 56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 66 if (_T_IS_XTI(api_semantics)) { 120 if (_t_look_locked(fd, tiptr, 0, api_semantics) == T_DISCONNECT) {
|