Searched refs:portp (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Drresvport.c62 u_int16_t *portp; local
72 portp = &((struct sockaddr_in *)sa)->sin_port;
76 portp = &((struct sockaddr_in6 *)sa)->sin6_port;
88 *portp = htons(*alport);
98 *portp = 0;
104 *alport = ntohs(*portp);
H A Dbindresvport.c59 u_int16_t *portp; local
80 portp = &in->sin_port;
84 portp = &in6->sin6_port;
91 port = ntohs(*portp);
99 *portp = htons(port);
/freebsd-11-stable/lib/libc/rpc/
H A Dbindresvport.c82 u_int16_t *portp; local
104 portp = &sin->sin_port;
113 portp = &sin6->sin6_port;
123 if (*portp == 0) {
138 if (*portp == 0) {
/freebsd-11-stable/sys/nfs/
H A Dkrpc.h16 u_int prog, u_int vers, u_int16_t *portp, struct thread *td);
H A Dkrpc_subr.c135 krpc_portmap(struct sockaddr_in *sin, u_int prog, u_int vers, u_int16_t *portp, argument
153 *portp = htons(PMAPPORT);
179 *portp = rdata->port;
/freebsd-11-stable/sys/mips/nlm/
H A Dboard.c379 struct xlp_port_ivars *portp; local
507 portp = &blockp->port_ivars[port];
509 &portp->phy_addr);
511 portp->mdio_bus = 0;
513 portp->mdio_bus = 1;
514 portp->port = port;
515 portp->block = block;
516 portp->node = node;
517 portp->type = blockp->type;
518 nlm_setup_port_defaults(portp);
[all...]
/freebsd-11-stable/contrib/ipfilter/l4check/
H A Dl4check.c404 int gethostport(str, lnum, ipp, portp)
408 u_short *portp;
438 *portp = htons(atoi(port));
442 *portp = sp->s_port;
450 *portp = 0;
/freebsd-11-stable/sys/rpc/
H A Drpc_generic.c792 u_int16_t *portp; local
816 portp = &sin->sin_port;
824 portp = &sin6->sin6_port;
834 if (*portp == 0) {
855 if (*portp == 0) {
H A Dxdr.h230 #define xdr_rpcport(xdrs, portp) xdr_uint32_t(xdrs, portp)
/freebsd-11-stable/contrib/telnet/telnet/
H A Dcommands.c2183 char *cmd, *hostp = 0, *portp = 0, *user = 0;
2232 if (portp == 0) {
2233 portp = *argv++;
2302 if (!portp) {
2304 portp = strdup("telnet");
2305 } else if (*portp == '-') {
2306 portp++;
2308 } else if (*portp == '+') {
2309 portp++;
2318 error = getaddrinfo(hostname, portp,
2175 char *cmd, *hostp = 0, *portp = 0, *user = 0; local
[all...]
/freebsd-11-stable/include/rpc/
H A Dxdr.h226 #define xdr_rpcport(xdrs, portp) xdr_u_int32_t(xdrs, portp)
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2064 char *cmd, *hostp = 0, *portp = 0;
2105 if (portp == 0) {
2106 portp = *argv++;
2134 if (portp) {
2135 if (*portp == '-') {
2136 portp++;
2140 port = atoi(portp);
2142 sp = roken_getservbyname(portp, "tcp");
2146 printf("%s: bad port number\r\n", portp);
2056 char *cmd, *hostp = 0, *portp = 0; local
/freebsd-11-stable/crypto/openssh/
H A Dmisc.c465 * If port was not specified then *portp will be -1.
469 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) argument
479 if (portp != NULL)
480 *portp = -1;
511 if (portp != NULL)
512 *portp = port;
/freebsd-11-stable/sys/dev/sfxge/common/
H A Def10_nic.c47 __out uint32_t *portp)
75 *portp = MCDI_OUT_DWORD(req, GET_PORT_ASSIGNMENT_OUT_PORT);
45 efx_mcdi_get_port_assignment( __in efx_nic_t *enp, __out uint32_t *portp) argument
H A Def10_impl.h1097 __out uint32_t *portp);
/freebsd-11-stable/contrib/libpcap/
H A Dpcap.c1531 * If the source is not a URL, *schemep, *userinfop, *hostp, and *portp
1536 * case of rpcap:), *schemep, *userinfop, *hostp, and *portp are set
1552 * if a port number is present in the URL, *portp is set to point
1565 char **hostp, char **portp, char **pathp, char *ebuf)
1582 *portp = NULL;
1893 *portp = port;
/freebsd-11-stable/lib/libc/net/
H A Dgetaddrinfo.c372 str2number(const char *p, int *portp) argument
383 *portp = v;

Completed in 169 milliseconds