HomeSort by: relevance | last modified time | path
    Searched defs:portp (Results 1 - 6 of 6) sorted by relevancy

  /src/lib/libc/rpc/
bindresvport.c 89 u_int16_t *portp; local in function:bindresvport_sa
112 portp = &brsin->sin_port;
121 portp = &brsin6->sin6_port;
131 if (*portp == 0) {
145 if (*portp == 0) {
  /src/usr.sbin/faithd/
ftp.c 740 char *afp, *hostp, *portp; local in function:ftp_copycommand
773 portp = p;
789 error = getaddrinfo(hostp, portp, &hints, &res);
  /src/libexec/rshd/
rshd.c 272 u_int16_t *portp; local in function:doit
293 portp = &((struct sockaddr_in *)fromp)->sin_port;
297 portp = &((struct sockaddr_in6 *)fromp)->sin6_port;
342 if (ntohs(*portp) >= IPPORT_RESERVED
343 || ntohs(*portp) < IPPORT_RESERVED / 2) {
346 naddr, ntohs(*portp));
378 *portp = htons(port);
  /src/lib/libc/net/
rcmd.c 522 u_int16_t *portp; local in function:rresvport_af_addr
537 portp = &((struct sockaddr_in *)(void *)sa)->sin_port;
548 portp = &((struct sockaddr_in6 *)(void *)sa)->sin6_port;
563 *portp = 0;
571 *alport = (int)ntohs(*portp);
579 *portp = htons((u_short)*alport);
  /src/libexec/rlogind/
rlogind.c 252 u_int16_t *portp; local in function:doit
268 portp = &((struct sockaddr_in *)fromp)->sin_port;
272 portp = &((struct sockaddr_in6 *)fromp)->sin6_port;
343 if (ntohs(*portp) >= IPPORT_RESERVED ||
344 ntohs(*portp) < IPPORT_RESERVED/2) {
  /src/usr.bin/telnet/
commands.c 2099 const char *portp = 0;
2138 if (portp == 0) {
2139 portp = *argv++;
2153 if (!portp) {
2155 portp = "telnet";
2156 } else if (portp[0] == '-') {
2159 portp++;
2168 error = getaddrinfo(hostname, portp, &hints, &res0);
2184 error = getaddrinfo(hostname, portp, &hints, &res0);
2186 fprintf(stderr, "tcp/%s: unknown service\n", portp);
2091 const char *portp = 0; local in function:tn
    [all...]

Completed in 15 milliseconds