Home | History | Annotate | Download | only in rpcinfo

Lines Matching defs:netid

112 	char *netid;
169 char *netid = NULL;
255 netid = optarg;
263 if (errflg || ((function == ADDRPING) && !netid))
293 deletereg(netid, argc - optind, argv + optind);
296 addrping(address, netid, argc - optind, argv + optind);
299 progping(netid, argc - optind, argv + optind);
303 rpcbdump(function, netid, argc - optind, argv + optind);
309 rpcbaddrlist(netid, argc - optind, argv + optind);
662 add_netid(struct rpcbdump_short *rs, char *netid)
667 if (strcmp(nl->netid, netid) == 0)
674 nl->netid = netid;
681 rpcbdump(int dumptype, const char *netid, int argc, char **argv)
700 if (netid == NULL) {
705 nconf = getnetconfigent(netid);
800 " program version netid address service owner\n");
841 " program version(s) netid(s) service owner\n");
859 (void)strlcat(buf, nl->netid, sizeof(buf));
895 rpcbaddrlist(const char *netid, int argc, char **argv)
908 if (netid == NULL) {
913 nconf = getnetconfigent(netid);
1229 * Delete registeration for this (prog, vers, netid)
1232 deletereg(const char *netid, int argc, char **argv)
1238 if (netid) {
1239 nconf = getnetconfigent(netid);
1241 errx(1, "netid %s not supported", netid);
1286 addrping(const char *address, const char *netid, int argc, char **argv)
1297 if (argc < 1 || argc > 2 || (netid == NULL))
1299 nconf = getnetconfigent(netid);
1301 errx(1, "Could not find %s", netid);
1385 progping(const char *netid, int argc, char **argv)
1396 if (argc < 2 || argc > 3 || (netid == NULL))
1408 if (netid) {
1409 nconf = getnetconfigent(netid);
1411 errx(1, "Could not find `%s'", netid);
1490 (void)fprintf(stderr, "\t%s -T netid host prognum [versnum]\n",
1499 "\t%s -a serv_address -T netid prognum [version]\n",
1502 (void)fprintf(stderr, "\t%s -d [-T netid] prognum versnum\n",
1684 pr->vers, pr->proc, pr->netid);
1705 (void)printf("%d\t%s\t %-12d\t%d\n", al->vers, al->netid,