Lines Matching refs:portnum
171 u_short portnum = 0;
205 portnum = (u_short) strtol(optarg, &strptr, 10);
274 if (portnum != 0)
280 ip_ping(portnum, "udp", argc - optind, argv + optind);
284 ip_ping(portnum, "tcp", argc - optind, argv + optind);
365 * If portnum is 0, then go and get the address from portmapper, which happens
372 ip_ping(u_short portnum, const char *trans, int argc, char **argv)
398 addr.sin_port = htons(portnum);
422 addr.sin_port = htons(portnum);
450 addr.sin_port = htons(portnum);
1474 " rpcinfo [-n portnum] -u | -t host prognum [versnum]\n");