Home
last modified time | relevance | path

Searched refs:api_semantics (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c49 int api_semantics, boolean_t option);
116 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
128 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
139 fields, api_semantics, B_TRUE) < 0) in _tx_alloc()
146 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
163 fields, api_semantics, B_TRUE) < 0) in _tx_alloc()
174 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
196 fields, api_semantics, B_TRUE) < 0) in _tx_alloc()
236 if (_T_IS_XTI(api_semantics)) { in _tx_alloc()
268 if (_T_IS_XTI(api_semantics)) { in _alloc_buf()
[all …]
H A Dt_look.c45 _tx_look(int fd, int api_semantics) in _tx_look() argument
52 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_look()
56 if (_T_IS_XTI(api_semantics)) in _tx_look()
60 state = _t_look_locked(fd, tiptr, do_expinline_peek, api_semantics); in _tx_look()
79 int api_semantics in _t_look_locked() argument
91 if (_T_IS_XTI(api_semantics)) { in _t_look_locked()
189 assert(_T_IS_XTI(api_semantics)); in _t_look_locked()
230 assert(_T_IS_XTI(api_semantics)); in _t_look_locked()
H A Dt_connect.c56 int api_semantics in _tx_connect() argument
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_connect()
70 if (_T_IS_XTI(api_semantics)) { in _tx_connect()
108 if (_T_IS_TLI(api_semantics) && t_errno == TADDRBUSY) in _tx_connect()
133 if (_t_rcv_conn_con(tiptr, rcvcall, &ctlbuf, api_semantics) < 0) { in _tx_connect()
H A Dt_rcvconnect.c50 _tx_rcvconnect(int fd, struct t_call *call, int api_semantics) in _tx_rcvconnect() argument
57 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvconnect()
62 if (_T_IS_XTI(api_semantics)) { in _tx_rcvconnect()
85 retval = _t_rcv_conn_con(tiptr, call, &ctlbuf, api_semantics); in _tx_rcvconnect()
H A Dt_sndrel.c47 _tx_sndrel(int fd, int api_semantics) in _tx_sndrel() argument
53 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndrel()
63 if (_T_IS_XTI(api_semantics)) { in _tx_sndrel()
76 api_semantics) == T_DISCONNECT) { in _tx_sndrel()
H A Dt_bind.c50 int api_semantics in _tx_bind() argument
63 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_bind()
74 if (_T_IS_XTI(api_semantics)) { in _tx_bind()
103 use_xpg41tpi = (_T_IS_XTI(api_semantics)) && in _tx_bind()
145 (use_xpg41tpi == 0) && (_T_IS_XTI(api_semantics))) { in _tx_bind()
173 if (_T_IS_TLI(api_semantics) || ret->addr.maxlen > 0) { in _tx_bind()
H A Dt_sndreldata.c45 _tx_sndreldata(int fd, struct t_discon *discon, int api_semantics) in _tx_sndreldata() argument
51 assert(api_semantics == TX_XTI_XNS5_API); in _tx_sndreldata()
52 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndreldata()
70 api_semantics) == T_DISCONNECT) { in _tx_sndreldata()
H A Dt_sync.c39 _tx_sync(int fd, int api_semantics) in _tx_sync() argument
53 if (_T_IS_XTI(api_semantics)) in _tx_sync()
56 if ((tiptr = _t_checkfd(fd, force_sync, api_semantics)) == NULL) in _tx_sync()
H A Dt_snd.c51 _tx_snd(int fd, char *buf, unsigned nbytes, int flags, int api_semantics) in _tx_snd() argument
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_snd()
74 if (_T_IS_XTI(api_semantics)) { in _tx_snd()
114 lookevent = _t_look_locked(fd, tiptr, 0, api_semantics); in _tx_snd()
127 (api_semantics == TX_XTI_XNS4_API && in _tx_snd()
H A Dt_rcvuderr.c46 _tx_rcvuderr(int fd, struct t_uderr *uderr, int api_semantics) in _tx_rcvuderr() argument
58 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvuderr()
87 api_semantics)) < 0) { in _tx_rcvuderr()
148 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr()
160 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr()
H A Dt_listen.c45 _tx_listen(int fd, struct t_call *call, int api_semantics) in _tx_listen() argument
56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_listen()
68 if (_T_IS_XTI(api_semantics)) { in _tx_listen()
198 if (_T_IS_TLI(api_semantics) || call->addr.maxlen > 0) { in _tx_listen()
209 if (_T_IS_TLI(api_semantics) || call->opt.maxlen > 0) { in _tx_listen()
220 if (_T_IS_TLI(api_semantics) || call->udata.maxlen > 0) { in _tx_listen()
H A Dt_getname.c53 _tx_getname(int fd, struct netbuf *name, int type, int api_semantics) in _tx_getname() argument
58 assert(_T_IS_TLI(api_semantics)); /* TLI only interface */ in _tx_getname()
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getname()
107 int api_semantics) in _tx_getprotaddr() argument
117 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getprotaddr()
H A Dt_accept.c51 int api_semantics in _tx_accept() argument
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_accept()
66 if ((restiptr = _t_checkfd(resfd, 0, api_semantics)) == NULL) in _tx_accept()
85 if (_T_IS_XTI(api_semantics)) { in _tx_accept()
181 if (_T_API_VER_LT(api_semantics, TX_XTI_XNS5_API)) { in _tx_accept()
282 if (_T_IS_TLI(api_semantics) && t_errno == TPROVMISMATCH) { in _tx_accept()
H A Dt_optmgmt.c61 int api_semantics in _tx_optmgmt() argument
76 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_optmgmt()
111 if (_T_IS_XTI(api_semantics) && (optlen > 0)) { in _tx_optmgmt()
225 if (_T_IS_XTI(api_semantics)) in _tx_optmgmt()
260 if (_T_IS_TLI(api_semantics) || ret->opt.maxlen > 0) { in _tx_optmgmt()
H A Dt_rcvudata.c55 int api_semantics in _tx_rcvudata() argument
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvudata()
76 if (_T_IS_XTI(api_semantics)) { in _tx_rcvudata()
162 if (_T_IS_TLI(api_semantics) || in _tx_rcvudata()
176 if (_T_IS_TLI(api_semantics) || in _tx_rcvudata()
H A Dt_rcvdis.c46 _tx_rcvdis(int fd, struct t_discon *discon, int api_semantics) in _tx_rcvdis() argument
58 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvdis()
75 if (_T_IS_XTI(api_semantics)) { in _tx_rcvdis()
114 api_semantics)) < 0) { in _tx_rcvdis()
212 if (_T_IS_TLI(api_semantics) || discon->udata.maxlen > 0) { in _tx_rcvdis()
H A Dt_snddis.c45 _tx_snddis(int fd, const struct t_call *call, int api_semantics) in _tx_snddis() argument
54 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_snddis()
64 if (_T_IS_XTI(api_semantics)) { in _tx_snddis()
118 if (_t_look_locked(fd, tiptr, 0, api_semantics) == T_DISCONNECT) { in _tx_snddis()
H A Dt_rcvreldata.c49 _tx_rcvreldata(int fd, struct t_discon *discon, int api_semantics) in _tx_rcvreldata() argument
62 assert(api_semantics == TX_XTI_XNS5_API); in _tx_rcvreldata()
63 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvreldata()
80 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvreldata()
H A Dt_sndudata.c49 _tx_sndudata(int fd, const struct t_unitdata *unitdata, int api_semantics) in _tx_sndudata() argument
58 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndudata()
68 if (_T_IS_XTI(api_semantics)) { in _tx_sndudata()
89 if (_T_IS_TLI(api_semantics)) { in _tx_sndudata()
H A Dt_rcvrel.c50 _tx_rcvrel(int fd, int api_semantics) in _tx_rcvrel() argument
62 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvrel()
72 if (_T_IS_XTI(api_semantics)) { in _tx_rcvrel()
85 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvrel()
H A Dt_unbind.c47 _tx_unbind(int fd, int api_semantics) in _tx_unbind() argument
54 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_unbind()
57 if (_T_IS_XTI(api_semantics)) { in _tx_unbind()
H A Dt_getinfo.c52 _tx_getinfo(int fd, struct t_info *info, int api_semantics) in _tx_getinfo() argument
61 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getinfo()
106 if (_T_IS_XTI(api_semantics)) { in _tx_getinfo()
H A Dt_open.c62 _tx_open(const char *path, int flags, struct t_info *info, int api_semantics) in _tx_open() argument
83 if (_T_IS_XTI(api_semantics) && errno == ENOENT) in _tx_open()
142 tiptr = _t_create(fd, info, api_semantics, &ticap_ioctl_failed); in _tx_open()
H A Dt_sndv.c49 int flags, int api_semantics) in _tx_sndv() argument
66 assert(api_semantics == TX_XTI_XNS5_API); in _tx_sndv()
67 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndv()
125 lookevent = _t_look_locked(fd, tiptr, 0, api_semantics); in _tx_sndv()
H A Dt_sysconf.c38 _tx_sysconf(int name, int api_semantics) in _tx_sysconf() argument
40 assert(api_semantics == TX_XTI_XNS5_API); in _tx_sysconf()

12