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

/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dinet_listen.c94 MAI_SERVPORT_STR portnum; local
133 &hostaddr, &portnum, 0);
134 msg_info("trying... [%s]:%s", hostaddr.buf, portnum.buf);
155 &hostaddr, &portnum, 0);
156 msg_fatal("bind %s port %s: %m", hostaddr.buf, portnum.buf);
H A Dmyaddrinfo.c38 /* int sockaddr_to_hostaddr(sa, salen, hostaddr, portnum, socktype)
42 /* MAI_SERVPORT_STR *portnum;
129 /* .IP portnum
582 MAI_SERVPORT_STR *portnum,
602 if (portnum != 0) {
604 if ((len = strlen(portbuf)) >= sizeof(portnum->buf)) {
608 memcpy(portnum->buf, portbuf, len + 1);
620 portnum ? portnum->buf : (char *) 0,
621 portnum
580 sockaddr_to_hostaddr(const struct sockaddr * sa, SOCKADDR_SIZE salen, MAI_HOSTADDR_STR *hostaddr, MAI_SERVPORT_STR *portnum, int unused_socktype) argument
[all...]
/macosx-10.10.1/cups-408/cups/cups/
H A Dhttp-addrlist.c583 int portnum; /* Port number */
591 portnum = 0;
593 portnum = atoi(service);
595 portnum = ntohs(port->s_port);
597 portnum = 80;
599 portnum = 443;
601 portnum = 631;
603 portnum = 515;
605 portnum = 9100;
639 first->addr.ipv4.sin_port = htons(portnum);
710 int portnum; /* Port number */ local
[all...]
/macosx-10.10.1/postfix-255/postfix/src/dns/
H A Ddns_rr_to_sa.c127 MAI_SERVPORT_STR portnum; local
152 SOCKADDR_TO_HOSTADDR(sa, sa_length, &hostaddr, &portnum, 0);
154 argv[1], argv[2], hostaddr.buf, portnum.buf);
/macosx-10.10.1/Heimdal-398.1.2/appl/popper/
H A Dpop_init.c198 int portnum = 0; local
279 portnum = htons(atoi(port_str));
300 if (portnum == 0)
301 portnum = p->kerberosp ?
304 mini_inetd (portnum, NULL);
/macosx-10.10.1/lukemftp-14/tnftp/src/
H A Dfetch.c329 in_port_t *portnum, char **path)
336 || pass == NULL || host == NULL || port == NULL || portnum == NULL
343 *portnum = 0;
349 *portnum = HTTP_PORT;
354 *portnum = FTP_PORT;
448 *portnum = nport;
465 *portnum ? *portnum : -1, *path ? *path : "<null>");
514 in_port_t portnum; local
527 &portnum,
327 parse_url(const char *url, const char *desc, url_t *type, char **user, char **pass, char **host, char **port, in_port_t *portnum, char **path) argument
1337 in_port_t portnum; local
[all...]
H A Dftp.c179 int s = -1, error, portnum; local
189 portnum = parseport(port, FTP_PORT);
219 ((struct sockaddr_in *)res->ai_addr)->sin_port = htons(portnum);
H A Dftp.c.orig175 int s = -1, error, portnum;
185 portnum = parseport(port, FTP_PORT);
215 ((struct sockaddr_in *)res->ai_addr)->sin_port = htons(portnum);
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dsocket.c1108 long portnum; local
1112 portnum = NUM2LONG(port);
1113 if (portnum != (uint16_t)portnum) {
1114 const char *s = portnum > 0 ? "big" : "small";
1115 rb_raise(rb_eRangeError, "integer %ld too %s to convert into `int16_t'", portnum, s);
1119 sp = getservbyport((int)htons((uint16_t)portnum), protoname);
1121 rb_raise(rb_eSocket, "no such service for port %d/%s", (int)portnum, protoname);
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/
H A Dkdp.py278 portnum = ArgumentStringToInt(cmd_args[3])
279 retval = KDPDumpInfo(GetEnumValue('kdp_dumpinfo_t::KDP_DUMPINFO_SETINFO'), cmd_args[0], cmd_args[1], cmd_args[2], portnum)
/macosx-10.10.1/emacs-93/emacs/lisp/net/
H A Dnet-utils.el805 (portnum (string-to-number service))
807 (or (zerop portnum) (setq service portnum))
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dkrbhst.c893 int portnum,
913 hi->port = hi->def_port = portnum;
929 int proto, portnum; local
932 portnum = socket_get_port(addr);
946 ret = add_plugin_host(kd, host, port, portnum, proto);
959 ret = add_plugin_host(kd, host, port, portnum, KRB5_KRBHST_TCP);
890 add_plugin_host(struct krb5_krbhst_data *kd, const char *host, const char *port, int portnum, int proto) argument
/macosx-10.10.1/Heimdal-398.1.2/appl/gssmask/
H A Dgssmask.c685 int32_t portnum; local
688 ret32(c, portnum);
691 "logging port on peer is: %d", (int)portnum);
693 socket_set_port((struct sockaddr *)(&c->sa), htons(portnum));
/macosx-10.10.1/OpenSSH-189/openssh/regress/
H A DMakefile59 portnum \
/macosx-10.10.1/libpcap-48/libpcap/
H A Dpcap-sita.c411 int portnum; local
413 portnum = ((u->chassis - 1) * 64) + ((u->geoslot - 1) * 8) + IOPportnum + 1;
414 snprintf(buf, bufsize, "%s_%d", proto, portnum);
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dzftp.c899 unsigned long portnum; local
920 portnum = strtoul(portbuf, &pbp, 10);
921 if(*pbp || portnum > 65535UL)
924 zdsockp->in6.sin6_port = htons((unsigned)portnum);
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dconnect.c257 int portnum = data->set.localportrange; local
448 if(--portnum > 0) {

Completed in 326 milliseconds