Searched refs:portbuf (Results 1 – 7 of 7) sorted by relevance
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 112 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';
|
D | pfkey_dump.c | 700 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/ |
D | urlapi.c | 532 char portbuf[7]; in Curl_parse_port() local 558 msnprintf(portbuf, sizeof(portbuf), "%ld", port); in Curl_parse_port() 560 u->port = strdup(portbuf); in Curl_parse_port() 942 char portbuf[7]; in curl_url_get() local 984 msnprintf(portbuf, sizeof(portbuf), "%ld", h->defport); in curl_url_get() 985 ptr = portbuf; in curl_url_get() 1043 msnprintf(portbuf, sizeof(portbuf), "%ld", h->defport); in curl_url_get() 1044 port = portbuf; in curl_url_get()
|
D | url.c | 3015 char portbuf[16]; in parse_remote_port() local 3018 msnprintf(portbuf, sizeof(portbuf), "%d", conn->remote_port); in parse_remote_port() 3019 uc = curl_url_set(data->state.uh, CURLUPART_PORT, portbuf, 0); in parse_remote_port()
|
/external/ipsec-tools/src/racoon/ |
D | cfparse.y | 495 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);
|
D | isakmp.c | 2794 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/ |
D | bufferevent_sock.c | 503 char portbuf[10]; in bufferevent_socket_connect_hostname() local 518 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 528 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev); in bufferevent_socket_connect_hostname()
|