Searched defs:tinfo (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c114 struct T_info_ack tinfo; local
145 strioc.ic_len = sizeof (tinfo);
146 strioc.ic_dp = (char *)&tinfo;
147 tinfo.PRIM_type = T_INFO_REQ;
160 switch (tinfo.SERV_type) {
162 error = svc_clts_kcreate(fp, max_msgsize, &tinfo, &xprt);
166 error = svc_cots_kcreate(fp, max_msgsize, &tinfo, &xprt);
170 tinfo.SERV_type);
187 xprt->xp_type = tinfo.SERV_type;
231 if (hotstream && tinfo
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c234 struct t_info tinfo; /* transport info */ local
246 fd = t_open(nconf->nc_device, O_RDWR, &tinfo);
272 if (t_getinfo(fd, &tinfo) == -1) {
485 switch (tinfo.servtype) {
496 if ((tinfo.servtype == T_COTS_ORD) &&
521 xprt->xp_type = tinfo.servtype;
527 xprt->xp_rtaddr.maxlen = __rpc_get_a_size(tinfo.addr);
555 * if (madefd && (tinfo.servtype == T_CLTS))
H A Dclnt_generic.c605 struct t_info tinfo; /* transport info */ local
635 if (t_getinfo(fd, &tinfo) == -1)
637 servtype = tinfo.servtype;
649 (t_getinfo(fd, &tinfo) == -1))
651 servtype = tinfo.servtype;
H A Drpc_generic.c150 t_scalar_t size) /* normally tinfo.addr */
425 struct t_info tinfo; local
432 if (t_getinfo(fd, &tinfo) == -1) {
442 servtype = tinfo.servtype;
H A Dsvc_simple.c133 struct t_info tinfo; local
138 if (t_getinfo(svcxprt->xp_fd, &tinfo) == -1) {
149 if ((recvsz = __rpc_get_t_size(0, tinfo.tsdu)) == 0) {
H A Dclnt_bcast.c176 struct t_info tinfo; local
184 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) {
204 if (((addrlen = __rpc_get_a_size(tinfo.addr)) == 0) ||
218 tinfo.tsdu)) == 0) {
H A Dclnt_dg.c140 struct t_info tinfo; local
157 if (t_getinfo(fd, &tinfo) == -1) {
169 if (tinfo.servtype == T_CLTS)
175 ssz = __rpc_get_t_size((int)sendsz, tinfo.tsdu);
176 rsz = __rpc_get_t_size((int)recvsz, tinfo.tsdu);
H A Drpc_soc.c82 struct t_info tinfo; local
95 fd = t_open(nconf->nc_device, O_RDWR, &tinfo);
101 if (t_getinfo(fd, &tinfo) == -1)
123 bindaddr.maxlen = bindaddr.len = __rpc_get_a_size(tinfo.addr);
286 struct t_info tinfo; local
326 if (t_getinfo(fd, &tinfo) == -1) {
336 tbindstr.addr.len = tbindstr.addr.maxlen = __rpc_get_a_size(tinfo.addr);
520 struct t_info tinfo; local
527 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) {
533 __rpc_get_a_size(tinfo
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypupdated.c369 struct t_info tinfo; local
371 if (t_getinfo(0, tinfo) || (tinfo.servtype == T_CLTS))
H A Dyp_b_svc.c670 struct t_info tinfo; local
672 if (t_getinfo(0, &tinfo) || (tinfo.servtype == T_CLTS))
/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c151 struct t_info tinfo; local
174 if ((fdl->fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) {
188 switch (tinfo.servtype) {
222 switch (tinfo.servtype) {
243 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) {
275 switch (tinfo.servtype) {
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c249 struct t_info tinfo; local
251 if (!t_getinfo(0, &tinfo) && (tinfo.servtype == T_CLTS))
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c205 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server,
276 struct t_info *tinfo, char *hostname, int fd, bool_t direct_to_server,
343 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server,
356 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) < 0)
362 if (setup_nb_parms(nconf, tbind, tinfo, hostname, fd, direct_to_server,
203 resolve_netconf(char *host, rpcprog_t prog, rpcvers_t nfsver, struct netconfig **netconf, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstatp) argument
275 setup_nb_parms(struct netconfig *nconf, struct t_bind *tbind, struct t_info *tinfo, char *hostname, int fd, bool_t direct_to_server, ushort_t port, rpcprog_t prog, rpcvers_t vers, bool_t file_handle) argument
341 get_server_addr(char *hostname, rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstat) argument
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c475 struct t_info tinfo; local
497 fd = t_open(devname, O_RDWR, &tinfo);
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c340 struct netconfig *nconf, ushort_t port, struct t_info *tinfo,
353 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1)
527 char *proto, char *srvport, struct t_info *tinfo, int portmap)
589 tinfo, portmap)) == NULL) {
626 port, tinfo, portmap)) == NULL) {
339 get_the_addr(char *hostname, ulong_t prog, ulong_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, int portmap) argument
526 get_addr(char *hostname, ulong_t prog, ulong_t vers, struct netconfig **nconfp, char *proto, char *srvport, struct t_info *tinfo, int portmap) argument
H A Drdcconfig.c236 struct t_info tinfo; local
261 &conf, NULL, "rdc", &tinfo, 0);
275 &conf, NULL, "rdc", &tinfo, 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c152 taginfo_t *tinfo; local
158 tinfo = pppoe_gettaginfo(tag_type);
160 show_header("PPPoE: ", tinfo->tag_name,
182 if (tag_length != 0 && tinfo->interpret_tagvalue != NULL)
183 tinfo->interpret_tagvalue(tag_value, tag_length);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c455 struct t_info tinfo; local
457 if (t_getinfo(0, &tinfo) || (tinfo.servtype == T_CLTS))
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c431 struct t_info tinfo; local
444 if (t_getinfo(tli[i], &tinfo) < 0) {
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c123 struct t_info tinfo; local
331 cvcd_ssp = t_open(TCP_DEV, O_RDWR, &tinfo);
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrboot.c273 struct t_info tinfo; local
338 &conf, proto_test?NC_UDP: NULL, "rdc", &tinfo, rpcbind);
369 &conf, proto_test?NC_UDP: NULL, "rdc", &tinfo, rpcbind);
/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c1057 struct t_info tinfo; local
1080 fd = t_open(devname, O_RDWR, &tinfo);
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c138 struct t_info tinfo; local
144 if (t_getinfo(0, &tinfo) == -1) {
148 if (tinfo.servtype == T_CLTS) {
149 if (tinfo.addr == INET_ADDRSTRLEN)
259 struct t_info tinfo; local
261 if (!t_getinfo(0, &tinfo) && (tinfo.servtype == T_CLTS))
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c231 struct t_info tinfo; local
238 (void) memset(&tinfo, 0, sizeof (tinfo));
241 fd = t_open(nconf->nc_device, O_RDWR | O_NONBLOCK, &tinfo);
258 netaddr.len = netaddr.maxlen = __rpc_get_a_size(tinfo.addr);
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c906 struct t_info tinfo; local
954 if (t_getinfo(fd, &tinfo) == -1)
965 tbindstr.addr.len = tbindstr.addr.maxlen = __rpc_get_a_size(tinfo.addr);

Completed in 270 milliseconds

12