Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c49 int api_semantics, boolean_t option);
52 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) in _tx_alloc() argument
71 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_alloc()
116 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
128 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
132 if (info.OPT_size >= 0 && _T_IS_XTI(api_semantics)) in _tx_alloc()
139 fields, api_semantics, B_TRUE) < 0) in _tx_alloc()
146 fields, api_semantics, B_FALSE) < 0) in _tx_alloc()
156 if (info.OPT_size >= 0 && _T_IS_XTI(api_semantics)) in _tx_alloc()
163 fields, api_semantics, B_TRUE) < 0) in _tx_alloc()
[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.c58 int api_semantics in _tx_connect() argument
68 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_connect()
72 if (_T_IS_XTI(api_semantics)) { in _tx_connect()
110 if (_T_IS_TLI(api_semantics) && t_errno == TADDRBUSY) in _tx_connect()
135 if (_t_rcv_conn_con(tiptr, rcvcall, &ctlbuf, api_semantics) < 0) { in _tx_connect()
H A Dt_rcvconnect.c52 _tx_rcvconnect(int fd, struct t_call *call, int api_semantics) in _tx_rcvconnect() argument
59 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvconnect()
64 if (_T_IS_XTI(api_semantics)) { in _tx_rcvconnect()
87 retval = _t_rcv_conn_con(tiptr, call, &ctlbuf, api_semantics); in _tx_rcvconnect()
H A Dt_sndrel.c49 _tx_sndrel(int fd, int api_semantics) in _tx_sndrel() argument
55 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndrel()
65 if (_T_IS_XTI(api_semantics)) { in _tx_sndrel()
78 api_semantics) == T_DISCONNECT) { in _tx_sndrel()
H A Dt_bind.c52 int api_semantics in _tx_bind() argument
65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_bind()
76 if (_T_IS_XTI(api_semantics)) { in _tx_bind()
105 use_xpg41tpi = (_T_IS_XTI(api_semantics)) && in _tx_bind()
147 (use_xpg41tpi == 0) && (_T_IS_XTI(api_semantics))) { in _tx_bind()
175 if (_T_IS_TLI(api_semantics) || ret->addr.maxlen > 0) { in _tx_bind()
H A Dt_sync.c41 _tx_sync(int fd, int api_semantics) in _tx_sync() argument
55 if (_T_IS_XTI(api_semantics)) in _tx_sync()
58 if ((tiptr = _t_checkfd(fd, force_sync, api_semantics)) == NULL) in _tx_sync()
H A Dt_sndreldata.c47 _tx_sndreldata(int fd, struct t_discon *discon, int api_semantics) in _tx_sndreldata() argument
53 assert(api_semantics == TX_XTI_XNS5_API); in _tx_sndreldata()
54 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndreldata()
72 api_semantics) == T_DISCONNECT) { in _tx_sndreldata()
H A Dt_snd.c53 _tx_snd(int fd, char *buf, unsigned nbytes, int flags, int api_semantics) in _tx_snd() argument
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_snd()
76 if (_T_IS_XTI(api_semantics)) { in _tx_snd()
116 lookevent = _t_look_locked(fd, tiptr, 0, api_semantics); in _tx_snd()
129 (api_semantics == TX_XTI_XNS4_API && in _tx_snd()
H A Dt_rcvuderr.c48 _tx_rcvuderr(int fd, struct t_uderr *uderr, int api_semantics) in _tx_rcvuderr() argument
60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvuderr()
89 api_semantics)) < 0) { in _tx_rcvuderr()
150 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr()
162 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr()
H A Dt_listen.c47 _tx_listen(int fd, struct t_call *call, int api_semantics) in _tx_listen() argument
58 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_listen()
70 if (_T_IS_XTI(api_semantics)) { in _tx_listen()
200 if (_T_IS_TLI(api_semantics) || call->addr.maxlen > 0) { in _tx_listen()
211 if (_T_IS_TLI(api_semantics) || call->opt.maxlen > 0) { in _tx_listen()
222 if (_T_IS_TLI(api_semantics) || call->udata.maxlen > 0) { in _tx_listen()
H A Dt_getname.c55 _tx_getname(int fd, struct netbuf *name, int type, int api_semantics) in _tx_getname() argument
60 assert(_T_IS_TLI(api_semantics)); /* TLI only interface */ in _tx_getname()
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getname()
109 int api_semantics) in _tx_getprotaddr() argument
119 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getprotaddr()
H A Dt_accept.c53 int api_semantics in _tx_accept() argument
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_accept()
68 if ((restiptr = _t_checkfd(resfd, 0, api_semantics)) == NULL) in _tx_accept()
87 if (_T_IS_XTI(api_semantics)) { in _tx_accept()
183 if (_T_API_VER_LT(api_semantics, TX_XTI_XNS5_API)) { in _tx_accept()
284 if (_T_IS_TLI(api_semantics) && t_errno == TPROVMISMATCH) { in _tx_accept()
H A Dt_optmgmt.c63 int api_semantics in _tx_optmgmt() argument
78 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_optmgmt()
113 if (_T_IS_XTI(api_semantics) && (optlen > 0)) { in _tx_optmgmt()
227 if (_T_IS_XTI(api_semantics)) in _tx_optmgmt()
262 if (_T_IS_TLI(api_semantics) || ret->opt.maxlen > 0) { in _tx_optmgmt()
H A Dt_rcvdis.c48 _tx_rcvdis(int fd, struct t_discon *discon, int api_semantics) in _tx_rcvdis() argument
60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvdis()
77 if (_T_IS_XTI(api_semantics)) { in _tx_rcvdis()
116 api_semantics)) < 0) { in _tx_rcvdis()
214 if (_T_IS_TLI(api_semantics) || discon->udata.maxlen > 0) { in _tx_rcvdis()
H A Dt_rcvudata.c57 int api_semantics in _tx_rcvudata() argument
68 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_rcvudata()
78 if (_T_IS_XTI(api_semantics)) { in _tx_rcvudata()
164 if (_T_IS_TLI(api_semantics) || in _tx_rcvudata()
178 if (_T_IS_TLI(api_semantics) || in _tx_rcvudata()
H A Dt_snddis.c47 _tx_snddis(int fd, const struct t_call *call, int api_semantics) in _tx_snddis() argument
56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_snddis()
66 if (_T_IS_XTI(api_semantics)) { in _tx_snddis()
120 if (_t_look_locked(fd, tiptr, 0, api_semantics) == T_DISCONNECT) { in _tx_snddis()
H A Dt_rcvrel.c52 _tx_rcvrel(int fd, int api_semantics) in _tx_rcvrel() argument
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvrel()
74 if (_T_IS_XTI(api_semantics)) { in _tx_rcvrel()
87 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvrel()
H A Dt_rcvreldata.c51 _tx_rcvreldata(int fd, struct t_discon *discon, int api_semantics) in _tx_rcvreldata() argument
64 assert(api_semantics == TX_XTI_XNS5_API); in _tx_rcvreldata()
65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvreldata()
82 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvreldata()
H A Dt_sndudata.c51 _tx_sndudata(int fd, const struct t_unitdata *unitdata, int api_semantics) in _tx_sndudata() argument
60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_sndudata()
70 if (_T_IS_XTI(api_semantics)) { in _tx_sndudata()
91 if (_T_IS_TLI(api_semantics)) { in _tx_sndudata()
H A Dt_unbind.c49 _tx_unbind(int fd, int api_semantics) in _tx_unbind() argument
56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_unbind()
59 if (_T_IS_XTI(api_semantics)) { in _tx_unbind()
H A Dt_sysconf.c40 _tx_sysconf(int name, int api_semantics) in _tx_sysconf() argument
42 assert(api_semantics == TX_XTI_XNS5_API); in _tx_sysconf()
H A Dt_getinfo.c54 _tx_getinfo(int fd, struct t_info *info, int api_semantics) in _tx_getinfo() argument
63 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_getinfo()
108 if (_T_IS_XTI(api_semantics)) { in _tx_getinfo()
H A Dt_open.c64 _tx_open(const char *path, int flags, struct t_info *info, int api_semantics) in _tx_open() argument
85 if (_T_IS_XTI(api_semantics) && errno == ENOENT) in _tx_open()
144 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()

12