Searched refs:portnum (Results 1 - 15 of 15) sorted by relevance

/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/lib/
H A Dgdbserver-support.exp101 global portnum
102 set portnum "2345"
188 global portnum
192 set portnum [target_info gdb,socketport]
195 incr portnum
217 set gdbport $debughost$portnum
224 append gdbserver_command " :$portnum"
237 verbose -log "Port $portnum is already in use."
241 incr portnum
/netbsd-6-1-5-RELEASE/sys/arch/xen/include/xen-public/io/
H A Dusbif.h67 #define usbif_setportnum_pipe(pipe, portnum) \
68 ((pipe)|(portnum))
143 uint8_t portnum; /* port number */ member in struct:usbif_conn_response
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dinet_listen.c96 MAI_SERVPORT_STR portnum; local
135 &hostaddr, &portnum, 0);
136 msg_info("trying... [%s]:%s", hostaddr.buf, portnum.buf);
157 &hostaddr, &portnum, 0);
158 msg_fatal("bind %s port %s: %m", hostaddr.buf, portnum.buf);
H A Dmyaddrinfo.c40 /* int sockaddr_to_hostaddr(sa, salen, hostaddr, portnum, socktype)
44 /* MAI_SERVPORT_STR *portnum;
131 /* .IP portnum
584 MAI_SERVPORT_STR *portnum,
604 if (portnum != 0) {
606 if ((len = strlen(portbuf)) >= sizeof(portnum->buf)) {
610 memcpy(portnum->buf, portbuf, len + 1);
622 portnum ? portnum->buf : (char *) 0,
623 portnum
582 sockaddr_to_hostaddr(const struct sockaddr * sa, SOCKADDR_SIZE salen, MAI_HOSTADDR_STR *hostaddr, MAI_SERVPORT_STR *portnum, int unused_socktype) argument
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/dns/
H A Ddns_rr_to_sa.c129 MAI_SERVPORT_STR portnum; local
154 SOCKADDR_TO_HOSTADDR(sa, sa_length, &hostaddr, &portnum, 0);
156 argv[1], argv[2], hostaddr.buf, portnum.buf);
/netbsd-6-1-5-RELEASE/libexec/httpd/
H A Ddaemon-bozo.c127 const char *portnum; local
133 portnum = (httpd->bindport) ? httpd->bindport : "http";
139 e = getaddrinfo(httpd->bindaddress, portnum, &h, &r0);
143 portnum, gai_strerror(e));
176 httpd->virthostname, portnum, httpd->slashdir);
H A Dbozohttpd.c2175 char *portnum; local
2191 if ((portnum = bozo_get_pref(prefs, "port number")) != NULL) {
2192 httpd->bindport = strdup(portnum);
/netbsd-6-1-5-RELEASE/usr.bin/ftp/
H A Dfetch.c318 in_port_t *portnum, char **path)
325 || pass == NULL || host == NULL || port == NULL || portnum == NULL
333 *portnum = 0;
339 *portnum = HTTP_PORT;
344 *portnum = FTP_PORT;
439 *portnum = nport;
456 *portnum ? *portnum : -1, STRorNULL(*path));
505 in_port_t portnum; local
520 &portnum,
316 parse_url(const char *url, const char *desc, url_t *utype, char **uuser, char **pass, char **host, char **port, in_port_t *portnum, char **path) argument
1356 in_port_t portnum; local
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/tools/
H A Dipf_y.y95 %type <port> portnum
777 portnum { DOREM(fr->fr_scmp = FR_EQUAL; fr->fr_sport = $1;) }
778 | portnum ':' portnum
781 | portnum YY_RANGE_IN portnum
784 | srcportlist lmore portnum
786 | srcportlist lmore portnum ':' portnum
789 | srcportlist lmore portnum YY_RANGE_I
1176 portnum: label
[all...]
H A Dipscan_y.y58 %type <num> portnum
164 | IPSL_REDIRECT '(' ipaddr ',' portnum ')'
177 portnum: label
/netbsd-6-1-5-RELEASE/libexec/httpd/lua/
H A Dbozo.lua39 opt.add_option{"-I", "--portnum", action="store", dest="portnum", help="--portnum number"}
77 if options.portnum then
78 bozohttpd.set_pref(prefs, "port number", options.portnum)
/netbsd-6-1-5-RELEASE/usr.bin/rpcinfo/
H A Drpcinfo.c173 u_short portnum = 0; local
207 portnum = (u_short) strtol(optarg, &strptr, 10);
276 if (portnum != 0)
282 ip_ping(portnum, "udp", argc - optind, argv + optind);
286 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) argument
398 addr.sin_port = htons(portnum);
421 addr.sin_port = htons(portnum);
449 addr.sin_port = htons(portnum);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/
H A Dutil.c606 char portnum[31]; local
618 (void) snprintf(portnum, sizeof(portnum), "%d", port);
619 if ((error = getaddrinfo(NULL, portnum, &hints, &res0)) != 0) {
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/
H A Dpcap-sita.c404 int portnum; local
406 portnum = ((u->chassis - 1) * 64) + ((u->geoslot - 1) * 8) + IOPportnum + 1;
407 sprintf(static_buf, "%d", portnum);
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnmonitor/
H A Dmain.c260 connect_remote(char *host, int portnum) argument
288 sa.sin_port = htons(portnum);

Completed in 484 milliseconds