Searched refs:portbuf (Results 1 - 8 of 8) sorted by relevance

/macosx-10.9.5/rsync-42/rsync/
H A Dsocket.c187 char portbuf[10]; local
227 strlcpy(portbuf, cp, sizeof portbuf);
230 h, portbuf);
233 snprintf(portbuf, sizeof portbuf, "%d", port);
240 error = getaddrinfo(h, portbuf, &hints, &res0);
243 h, portbuf, gai_strerror(error));
335 char portbuf[10], **errmsgs; local
342 snprintf(portbuf, sizeo
[all...]
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/libipsec/
H A Dpolicy_parse.y114 struct _val *portbuf);
394 parse_sockaddr(addrbuf, portbuf)
396 struct _val *portbuf;
413 if (portbuf) {
414 serv_len = portbuf->len + 1;
425 if (portbuf) {
426 strlcpy(serv, portbuf->buf, serv_len);
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/Common/
H A Dpfkey_dump.c712 char portbuf[128]; local
732 memset(portbuf, 0, sizeof(portbuf));
735 snprintf(portbuf, sizeof(portbuf), "[%s]", "any");
737 snprintf(portbuf, sizeof(portbuf), "[%u]", port);
740 snprintf(buf, sizeof(buf), "%s%s", prefbuf, portbuf);
/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dmyaddrinfo.c584 char portbuf[sizeof("65535")]; local
601 snprintf(portbuf, sizeof portbuf, "%d", ntohs(SOCK_ADDR_IN_PORT(sa)) & 0xffff); /* APPLE */
602 if ((len = strlen(portbuf)) >= sizeof(portnum->buf)) {
606 memcpy(portnum->buf, portbuf, len + 1);
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Dcfparse.y406 char portbuf[10];
408 snprintf(portbuf, sizeof(portbuf), "%ld", $2);
409 $$ = str2saddr($1->v, portbuf);
418 char portbuf[10];
427 snprintf(portbuf, sizeof(portbuf), "%ld", $3);
428 new->addr = str2saddr($1->v, portbuf);
973 char portbuf[10];
982 snprintf(portbuf, sizeo
[all...]
H A Disakmp.c2955 char portbuf[NI_MAXSERV];
2972 portbuf, sizeof(portbuf),
2975 strlcpy(portbuf, "?", sizeof(portbuf));
2977 printf("%s:%s", hostbuf, portbuf);
2983 portbuf, sizeof(portbuf),
2986 strlcpy(portbuf, "?", sizeof(portbuf));
2954 char portbuf[NI_MAXSERV]; local
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dzftp.c898 char delim, portbuf[6], *pbp; local
918 memcpy(portbuf, ptr, (end-ptr));
919 portbuf[end-ptr] = 0;
920 portnum = strtoul(portbuf, &pbp, 10);
/macosx-10.9.5/emacs-92/emacs/src/
H A Dprocess.c2867 char *portstring, portbuf[128];
3081 sprintf (portbuf, "%ld", (long) XINT (service));
3082 portstring = portbuf;
2855 char *portstring, portbuf[128]; variable

Completed in 232 milliseconds