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

12

/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_sync.c41 _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 Dt_getstate.c42 _tx_getstate(int fd, int api_semantics) argument
46 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
H A Dt_sysconf.c40 _tx_sysconf(int name, int api_semantics) argument
42 assert(api_semantics == TX_XTI_XNS5_API);
H A Dt_alloc.c49 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 Dt_close.c42 _tx_close(int fd, int api_semantics) argument
47 if (_t_checkfd(fd, 0, api_semantics) == NULL)
H A Dt_look.c45 _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 Dt_strerror.c83 _tx_strerror(int errnum, int api_semantics) argument
87 if (_T_IS_XTI(api_semantics)) {
H A Dt_rcvconnect.c52 _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 Dt_sndrel.c49 _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 Dt_sndreldata.c47 _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 Dt_connect.c58 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 Dt_bind.c52 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 Dt_open.c64 _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 Dt_unbind.c49 _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 Dt_error.c41 _tx_error(const char *s, int api_semantics) argument
H A Dt_getname.c55 _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 Dt_optmgmt.c63 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 Dt_rcvdis.c48 _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 Dt_rcvudata.c57 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 Dt_rcvuderr.c48 _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 Dt_snd.c53 _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 Dt_getinfo.c54 _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 Dt_rcvrel.c52 _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 Dt_rcvreldata.c51 _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 Dt_snddis.c47 _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) {

Completed in 103 milliseconds

12