Lines Matching defs:host

96 static void	get_inet_address(/*struct sockaddr_in *addr, char *host*/);
107 static CLIENT *clnt_rpcbind_create(/* char *host, int vers */);
108 static CLIENT *getclnthandle(/* host, nconf, rpcbversnum */);
130 #define PROGPING 7 /* pings a program on a given host */
496 char *host;
503 host = argv[0];
505 host = HOST_SELF_CONNECT;
507 get_inet_address(&server_addr, host);
536 host, host);
567 get_inet_address(addr, host)
569 char *host;
576 addr->sin_addr.s_addr = inet_addr(host);
585 service.h_host = host;
589 host, netdir_sperror());
715 char *host;
728 host = argv[0];
730 host = HOST_SELF_CONNECT;
734 client = clnt_rpcbind_create(host, RPCBVERS, NULL);
736 client = getclnthandle(host, loopback_nconf, RPCBVERS, NULL);
739 client = clnt_rpcbind_create(host, RPCBVERS, NULL);
750 client = getclnthandle(host, nconf, RPCBVERS, NULL);
947 char *host;
955 host = argv[0];
958 client = clnt_rpcbind_create(host, RPCBVERS4, &targaddr);
960 client = getclnthandle(host, loopback_nconf, RPCBVERS4,
964 client = clnt_rpcbind_create(host, RPCBVERS4, &targaddr);
975 client = getclnthandle(host, nconf, RPCBVERS4, &targaddr);
1060 char *host;
1086 host = argv[0];
1088 host = HOST_SELF_CONNECT;
1091 client = getclnthandle(host, loopback_nconf, RPCBVERS4, NULL);
1094 client = clnt_rpcbind_create(host, RPCBVERS4, NULL);
1097 client = clnt_rpcbind_create(host, RPCBVERS4, NULL);
1584 (void) fprintf(stderr, "Usage: rpcinfo [-T netid] [-m | -s] [host]\n");
1586 (void) fprintf(stderr, " rpcinfo -p [host]\n");
1589 " rpcinfo -T netid host prognum [versnum]\n");
1591 " rpcinfo -l [-T netid] host prognum versnum\n");
1594 " rpcinfo [-n portnum] -u | -t host prognum [versnum]\n");
1678 clnt_rpcbind_create(host, rpcbversnum, targaddr)
1679 char *host;
1701 clnt = getclnthandle(host, nconf, rpcbversnum,
1712 getclnthandle(host, nconf, rpcbversnum, targaddr)
1713 char *host;
1724 rpcbind_hs.h_host = host;