Home
last modified time | relevance | path

Searched refs:portbuf (Results 1 – 7 of 7) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y112 struct _val *portbuf));
375 parse_sockaddr(addrbuf, portbuf) in parse_sockaddr() argument
377 struct _val *portbuf;
391 if (portbuf && ((serv = malloc(portbuf->len + 1)) == NULL)) {
401 if (portbuf) {
402 strncpy(serv, portbuf->buf, portbuf->len);
403 serv[portbuf->len] = '\0';
Dpfkey_dump.c700 char portbuf[128]; local
720 memset(portbuf, 0, sizeof(portbuf));
723 snprintf(portbuf, sizeof(portbuf), "[%s]", "any");
725 snprintf(portbuf, sizeof(portbuf), "[%u]", port);
728 snprintf(buf, sizeof(buf), "%s%s", prefbuf, portbuf);
/external/curl/lib/
Durlapi.c537 char portbuf[7]; in Curl_parse_port() local
563 msnprintf(portbuf, sizeof(portbuf), "%ld", port); in Curl_parse_port()
565 u->port = strdup(portbuf); in Curl_parse_port()
1008 char portbuf[7]; in curl_url_get() local
1053 msnprintf(portbuf, sizeof(portbuf), "%ld", h->defport); in curl_url_get()
1054 ptr = portbuf; in curl_url_get()
1112 msnprintf(portbuf, sizeof(portbuf), "%ld", h->defport); in curl_url_get()
1113 port = portbuf; in curl_url_get()
Durl.c2637 char portbuf[16]; local
2640 msnprintf(portbuf, sizeof(portbuf), "%d", conn->remote_port);
2641 uc = curl_url_set(data->state.uh, CURLUPART_PORT, portbuf, 0);
/external/ipsec-tools/src/racoon/
Dcfparse.y495 char portbuf[10]; variable
497 snprintf(portbuf, sizeof(portbuf), "%ld", $2);
498 $$ = str2saddr($1->v, portbuf);
1192 char portbuf[10]; variable
1201 snprintf(portbuf, sizeof(portbuf), "%lu", $4);
1202 saddr = str2saddr($2->v, portbuf);
1241 char portbuf[10]; variable
1251 snprintf(portbuf, sizeof(portbuf), "%lu", $5);
1253 laddr = str2saddr($2->v, portbuf);
1258 haddr = str2saddr($3->v, portbuf);
Disakmp.c2794 char portbuf[NI_MAXSERV]; local
2811 portbuf, sizeof(portbuf),
2814 strlcpy(portbuf, "?", sizeof(portbuf));
2816 printf("%s:%s", hostbuf, portbuf);
2822 portbuf, sizeof(portbuf),
2825 strlcpy(portbuf, "?", sizeof(portbuf));
2827 printf("%s:%s", hostbuf, portbuf);
/external/libevent/
Dbufferevent_sock.c497 char portbuf[10]; in bufferevent_socket_connect_hostname() local
511 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname()
521 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev); in bufferevent_socket_connect_hostname()