Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 25 of 49) sorted by relevance

12

/titanic_41/usr/src/uts/common/rpc/
H A Dsvc_gen.c114 struct T_info_ack tinfo; in svc_tli_kcreate() local
145 strioc.ic_len = sizeof (tinfo); in svc_tli_kcreate()
146 strioc.ic_dp = (char *)&tinfo; in svc_tli_kcreate()
147 tinfo.PRIM_type = T_INFO_REQ; in svc_tli_kcreate()
160 switch (tinfo.SERV_type) { in svc_tli_kcreate()
162 error = svc_clts_kcreate(fp, max_msgsize, &tinfo, &xprt); in svc_tli_kcreate()
166 error = svc_cots_kcreate(fp, max_msgsize, &tinfo, &xprt); in svc_tli_kcreate()
170 tinfo.SERV_type); in svc_tli_kcreate()
187 xprt->xp_type = tinfo.SERV_type; in svc_tli_kcreate()
231 if (hotstream && tinfo.SERV_type == T_CLTS) { in svc_tli_kcreate()
H A Dsvc_cots.c185 svc_cots_kcreate(file_t *fp, uint_t max_msgsize, struct T_info_ack *tinfo, in svc_cots_kcreate() argument
208 if ((tinfo->TIDU_size > COTS_MAX_ALLOCSIZE) || in svc_cots_kcreate()
209 (tinfo->TIDU_size <= 0)) in svc_cots_kcreate()
212 xprt->xp_msg_size = tinfo->TIDU_size - in svc_cots_kcreate()
213 (tinfo->TIDU_size % BYTES_PER_XDR_UNIT); in svc_cots_kcreate()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_decode.c42 taginfo tinfo
44 #define asn1class (tinfo.asn1class)
45 #define construction (tinfo.construction)
46 #define tagnum (tinfo.tagnum)
47 #define length (tinfo.length)
50 retval = asn1_get_tag_2(buf,&tinfo);\
H A Dasn1_get.h46 asn1_error_code asn1_get_tag_2 (asn1buf *buf, taginfo *tinfo);
/titanic_41/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c82 struct t_info tinfo; in clnt_com_create() local
95 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in clnt_com_create()
101 if (t_getinfo(fd, &tinfo) == -1) in clnt_com_create()
123 bindaddr.maxlen = bindaddr.len = __rpc_get_a_size(tinfo.addr); in clnt_com_create()
286 struct t_info tinfo; in __rpc_bindresvport_ipv6() local
326 if (t_getinfo(fd, &tinfo) == -1) { in __rpc_bindresvport_ipv6()
336 tbindstr.addr.len = tbindstr.addr.maxlen = __rpc_get_a_size(tinfo.addr); in __rpc_bindresvport_ipv6()
520 struct t_info tinfo; in authdes_create() local
527 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) { in authdes_create()
533 __rpc_get_a_size(tinfo.addr); in authdes_create()
H A Dsvc_generic.c234 struct t_info tinfo; /* transport info */ in svc_tli_create_common() local
246 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in svc_tli_create_common()
272 if (t_getinfo(fd, &tinfo) == -1) { in svc_tli_create_common()
485 switch (tinfo.servtype) { in svc_tli_create_common()
496 if ((tinfo.servtype == T_COTS_ORD) && in svc_tli_create_common()
521 xprt->xp_type = tinfo.servtype; in svc_tli_create_common()
527 xprt->xp_rtaddr.maxlen = __rpc_get_a_size(tinfo.addr); in svc_tli_create_common()
H A Dsvc_vc.c202 struct t_info tinfo; in svc_vc_create_private() local
226 if (t_getinfo(fd, &tinfo) == -1) { in svc_vc_create_private()
240 r->sendsize = __rpc_get_t_size((int)sendsize, tinfo.tsdu); in svc_vc_create_private()
241 r->recvsize = __rpc_get_t_size((int)recvsize, tinfo.tsdu); in svc_vc_create_private()
272 r->cf_tsdu = tinfo.tsdu; in svc_vc_create_private()
395 struct t_info tinfo; in svc_fd_create_private() local
406 if (t_getinfo(fd, &tinfo) == -1) { in svc_fd_create_private()
418 sendsize = __rpc_get_t_size((int)sendsize, tinfo.tsdu); in svc_fd_create_private()
419 recvsize = __rpc_get_t_size((int)recvsize, tinfo.tsdu); in svc_fd_create_private()
425 dummy = makefd_xprt(fd, sendsize, recvsize, tinfo.tsdu, NULL); in svc_fd_create_private()
[all …]
H A Dsvc_simple.c133 struct t_info tinfo; in rpc_reg() local
138 if (t_getinfo(svcxprt->xp_fd, &tinfo) == -1) { in rpc_reg()
149 if ((recvsz = __rpc_get_t_size(0, tinfo.tsdu)) == 0) { in rpc_reg()
H A Drpc_generic.c425 struct t_info tinfo; in __rpcfd_to_nconf() local
432 if (t_getinfo(fd, &tinfo) == -1) { in __rpcfd_to_nconf()
442 servtype = tinfo.servtype; in __rpcfd_to_nconf()
H A Dclnt_generic.c605 struct t_info tinfo; /* transport info */ in _clnt_tli_create_timed() local
635 if (t_getinfo(fd, &tinfo) == -1) in _clnt_tli_create_timed()
637 servtype = tinfo.servtype; in _clnt_tli_create_timed()
649 (t_getinfo(fd, &tinfo) == -1)) in _clnt_tli_create_timed()
651 servtype = tinfo.servtype; in _clnt_tli_create_timed()
H A Dclnt_bcast.c176 struct t_info tinfo; in rpc_broadcast_exp() local
184 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) { in rpc_broadcast_exp()
204 if (((addrlen = __rpc_get_a_size(tinfo.addr)) == 0) || in rpc_broadcast_exp()
218 tinfo.tsdu)) == 0) { in rpc_broadcast_exp()
/titanic_41/usr/src/cmd/rpcbind/
H A Dcheck_bound.c151 struct t_info tinfo; in add_bndlist() local
174 if ((fdl->fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { in add_bndlist()
188 switch (tinfo.servtype) { in add_bndlist()
222 switch (tinfo.servtype) { in add_bndlist()
243 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { in add_bndlist()
275 switch (tinfo.servtype) { in add_bndlist()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c152 taginfo_t *tinfo; in interpret_tags() local
158 tinfo = pppoe_gettaginfo(tag_type); in interpret_tags()
160 show_header("PPPoE: ", tinfo->tag_name, in interpret_tags()
182 if (tag_length != 0 && tinfo->interpret_tagvalue != NULL) in interpret_tags()
183 tinfo->interpret_tagvalue(tag_value, tag_length); in interpret_tags()
/titanic_41/usr/src/lib/fm/libfmd_snmp/common/
H A DsunFM_impl.h71 #define netsnmp_table_helper_add_index(tinfo, type) \ argument
72 snmp_varlist_add_variable(&tinfo->indexes, NULL, 0, (uchar_t)type, \
/titanic_41/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c249 struct t_info tinfo; in closedown() local
251 if (!t_getinfo(0, &tinfo) && (tinfo.servtype == T_CLTS)) in closedown()
/titanic_41/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c140 struct t_info tinfo; in main() local
146 if (t_getinfo(0, &tinfo) == -1) { in main()
150 if (tinfo.servtype == T_CLTS) { in main()
151 if (tinfo.addr == INET_ADDRSTRLEN) in main()
261 struct t_info tinfo; in closedown() local
263 if (!t_getinfo(0, &tinfo) && (tinfo.servtype == T_CLTS)) in closedown()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c205 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, in resolve_netconf() argument
276 struct t_info *tinfo, char *hostname, int fd, bool_t direct_to_server, in setup_nb_parms() argument
343 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, in get_server_addr() argument
356 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) < 0) in get_server_addr()
362 if (setup_nb_parms(nconf, tbind, tinfo, hostname, fd, direct_to_server, in get_server_addr()
/titanic_41/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c1394 struct netconfig *nconf, ushort_t port, struct t_info *tinfo, in get_the_addr() argument
1409 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1) in get_the_addr()
1752 char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, in get_addr() argument
1768 tinfo, fhp, get_pubfh, fspath, error)); in get_addr()
1810 vers, nconf, port, tinfo, in get_addr()
1839 tinfo, fhp, get_pubfh, fspath, error)) == NULL) in get_addr()
1870 port, tinfo, fhp, get_pubfh, fspath, error)) in get_addr()
2411 struct t_info tinfo; in getaddr_nfs() local
2425 nfsvers_to_use, nconfp, NULL, port, &tinfo, in getaddr_nfs()
2431 nfsvers_to_use, nconfp, nfs_proto, port, &tinfo, in getaddr_nfs()
[all …]
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c876 SINFO_DATA *tinfo; in get_data() local
895 tinfo = &sinfo_data[sec->type]; in get_data()
908 sec->shdr->sh_type = tinfo->sh_type; in get_data()
909 sec->shdr->sh_flags = tinfo->sh_flags; in get_data()
910 if ((tinfo->sh_flags & SHF_ALLOC) == 0) { in get_data()
949 sec->shdr->sh_addralign = tinfo->sh_addralign; in get_data()
950 sec->shdr->sh_entsize = tinfo->sh_entsize; in get_data()
955 switch (tinfo->sh_type) { in get_data()
1002 sec->data->d_type = tinfo->libelf_type; in get_data()
1005 sec->data->d_align = tinfo->sh_addralign; in get_data()
[all …]
/titanic_41/usr/src/lib/librdc/common/
H A Dnetaddrs.c340 struct netconfig *nconf, ushort_t port, struct t_info *tinfo, in get_the_addr() argument
353 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1) in get_the_addr()
527 char *proto, char *srvport, struct t_info *tinfo, int portmap) in get_addr() argument
589 tinfo, portmap)) == NULL) { in get_addr()
626 port, tinfo, portmap)) == NULL) { in get_addr()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypupdated.c367 struct t_info tinfo; in closedown() local
369 if (t_getinfo(0, tinfo) || (tinfo.servtype == T_CLTS)) in closedown()
H A Dyp_b_svc.c670 struct t_info tinfo; in closedown() local
672 if (t_getinfo(0, &tinfo) || (tinfo.servtype == T_CLTS)) in closedown()
/titanic_41/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c455 struct t_info tinfo; local
457 if (t_getinfo(0, &tinfo) || (tinfo.servtype == T_CLTS))
/titanic_41/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c571 vrrp_timerinfo_t *tinfo = &qinfo->show_vt; in sfunc_vrrp_conf() local
614 (void) timeval_since_str(tinfo->vt_since_last_tran, buf, in sfunc_vrrp_conf()
629 (void) timeval_since_str(tinfo->vt_since_last_adv, buf, in sfunc_vrrp_conf()
633 (void) snprintf(buf, bufsize, "%d", tinfo->vt_master_down_intv); in sfunc_vrrp_conf()
/titanic_41/usr/src/uts/sun4u/os/
H A Dcpr_impl.c552 uintptr_t tinfo; in i_cpr_write_machdep() local
592 tinfo = (uintptr_t)curthread; in i_cpr_write_machdep()
593 m_info.thrp = (cpr_ptr)tinfo; in i_cpr_write_machdep()
595 tinfo = (uintptr_t)i_cpr_resume_setup; in i_cpr_write_machdep()
596 m_info.func = (cpr_ptr)tinfo; in i_cpr_write_machdep()
604 tinfo = (uintptr_t)&i_cpr_data_page; in i_cpr_write_machdep()
605 m_info.tmp_stack = (cpr_ptr)tinfo; in i_cpr_write_machdep()

12