| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | rresvport.c | 62 u_int16_t *portp; in rresvport_af() local 72 portp = &((struct sockaddr_in *)sa)->sin_port; in rresvport_af() 76 portp = &((struct sockaddr_in6 *)sa)->sin6_port; in rresvport_af() 88 *portp = htons(*alport); in rresvport_af() 98 *portp = 0; in rresvport_af() 104 *alport = ntohs(*portp); in rresvport_af()
|
| H A D | bindresvport.c | 59 u_int16_t *portp; in bindresvport_sa() local 80 portp = &in->sin_port; in bindresvport_sa() 84 portp = &in6->sin6_port; in bindresvport_sa() 91 port = ntohs(*portp); in bindresvport_sa() 99 *portp = htons(port); in bindresvport_sa()
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | bindresvport.c | 84 u_int16_t *portp; in bindresvport_sa() local 106 portp = &sin->sin_port; in bindresvport_sa() 115 portp = &sin6->sin6_port; in bindresvport_sa() 125 if (*portp == 0) { in bindresvport_sa() 140 if (*portp == 0) { in bindresvport_sa()
|
| /freebsd-13.1/sys/mips/nlm/ |
| H A D | board.c | 380 struct xlp_port_ivars *portp; in nlm_setup_xlp_board() local 508 portp = &blockp->port_ivars[port]; in nlm_setup_xlp_board() 510 &portp->phy_addr); in nlm_setup_xlp_board() 512 portp->mdio_bus = 0; in nlm_setup_xlp_board() 514 portp->mdio_bus = 1; in nlm_setup_xlp_board() 515 portp->port = port; in nlm_setup_xlp_board() 516 portp->block = block; in nlm_setup_xlp_board() 517 portp->node = node; in nlm_setup_xlp_board() 518 portp->type = blockp->type; in nlm_setup_xlp_board() 519 nlm_setup_port_defaults(portp); in nlm_setup_xlp_board()
|
| /freebsd-13.1/sys/nfs/ |
| H A D | krpc_subr.c | 137 krpc_portmap(struct sockaddr_in *sin, u_int prog, u_int vers, u_int16_t *portp, in krpc_portmap() argument 155 *portp = htons(PMAPPORT); in krpc_portmap() 181 *portp = rdata->port; in krpc_portmap()
|
| H A D | krpc.h | 16 u_int prog, u_int vers, u_int16_t *portp, struct thread *td);
|
| /freebsd-13.1/sys/rpc/ |
| H A D | rpc_generic.c | 796 u_int16_t *portp; in bindresvport() local 820 portp = &sin->sin_port; in bindresvport() 828 portp = &sin6->sin6_port; in bindresvport() 838 if (*portp == 0) { in bindresvport() 859 if (*portp == 0) { in bindresvport()
|
| H A D | xdr.h | 232 #define xdr_rpcport(xdrs, portp) xdr_uint32_t(xdrs, portp) argument
|
| /freebsd-13.1/contrib/telnet/telnet/ |
| H A D | commands.c | 2175 char *cmd, *hostp = 0, *portp = 0, *user = 0; in tn() local 2224 if (portp == 0) { in tn() 2225 portp = *argv++; in tn() 2294 if (!portp) { in tn() 2296 portp = strdup("telnet"); in tn() 2297 } else if (*portp == '-') { in tn() 2298 portp++; in tn() 2300 } else if (*portp == '+') { in tn() 2301 portp++; in tn() 2310 error = getaddrinfo(hostname, portp, &hints, &res); in tn() [all …]
|
| /freebsd-13.1/crypto/heimdal/appl/telnet/telnet/ |
| H A D | commands.c | 2056 char *cmd, *hostp = 0, *portp = 0; in tn() local 2097 if (portp == 0) { in tn() 2098 portp = *argv++; in tn() 2126 if (portp) { in tn() 2127 if (*portp == '-') { in tn() 2128 portp++; in tn() 2132 port = atoi(portp); in tn() 2134 sp = roken_getservbyname(portp, "tcp"); in tn() 2138 printf("%s: bad port number\r\n", portp); in tn()
|
| /freebsd-13.1/share/examples/ipfilter/l4check/ |
| H A D | l4check.c | 404 gethostport(char *str, int lnum, u_32_t *ipp, u_short *portp) in gethostport() argument 434 *portp = htons(atoi(port)); in gethostport() 438 *portp = sp->s_port; in gethostport() 446 *portp = 0; in gethostport()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | misc.c | 839 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) in parse_user_host_port() argument 849 if (portp != NULL) in parse_user_host_port() 850 *portp = -1; in parse_user_host_port() 881 if (portp != NULL) in parse_user_host_port() 882 *portp = port; in parse_user_host_port() 964 int *portp, char **pathp) in parse_uri() argument 980 if (portp != NULL) in parse_uri() 981 *portp = -1; in parse_uri() 1038 if (portp != NULL) in parse_uri() 1039 *portp = port; in parse_uri()
|
| H A D | scp.c | 702 parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, in parse_scp_uri() argument 707 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
|
| H A D | readconf.c | 3112 parse_ssh_uri(const char *uri, char **userp, char **hostp, int *portp) in parse_ssh_uri() argument 3129 if (portp != NULL) in parse_ssh_uri() 3130 *portp = port; in parse_ssh_uri()
|
| /freebsd-13.1/include/rpc/ |
| H A D | xdr.h | 228 #define xdr_rpcport(xdrs, portp) xdr_u_int32_t(xdrs, portp) argument
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | pcap.c | 1565 char **hostp, char **portp, char **pathp, char *ebuf) 1582 *portp = NULL; 1893 *portp = port;
|
| /freebsd-13.1/sys/dev/sfxge/common/ |
| H A D | ef10_nic.c | 47 __out uint32_t *portp) in efx_mcdi_get_port_assignment() argument 76 *portp = MCDI_OUT_DWORD(req, GET_PORT_ASSIGNMENT_OUT_PORT); in efx_mcdi_get_port_assignment()
|
| H A D | ef10_impl.h | 1177 __out uint32_t *portp);
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | getaddrinfo.c | 374 str2number(const char *p, int *portp) in str2number() argument 385 *portp = v; in str2number()
|