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/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 | 2787 char portbuf[NI_MAXSERV]; local 2804 portbuf, sizeof(portbuf), 2807 strlcpy(portbuf, "?", sizeof(portbuf)); 2809 printf("%s:%s", hostbuf, portbuf); 2815 portbuf, sizeof(portbuf), 2818 strlcpy(portbuf, "?", sizeof(portbuf)); 2820 printf("%s:%s", hostbuf, portbuf);
|
/external/libevent/ |
D | bufferevent_sock.c | 471 char portbuf[10]; in bufferevent_socket_connect_hostname() local 486 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 497 err = evutil_getaddrinfo_async(evdns_base, hostname, portbuf, in bufferevent_socket_connect_hostname()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-win.c | 1501 char portbuf[10]; in _dbus_listen_tcp_socket() local 1511 snprintf( portbuf, sizeof( portbuf ) - 1, "%d", addr.AddressIn.sin_port ); in _dbus_listen_tcp_socket() 1512 if (!_dbus_string_append(retport, portbuf)) in _dbus_listen_tcp_socket()
|
D | dbus-sysdeps-unix.c | 1525 char portbuf[50]; in _dbus_listen_tcp_socket() local 1532 portbuf, sizeof(portbuf), in _dbus_listen_tcp_socket() 1540 if (!_dbus_string_append(retport, portbuf)) in _dbus_listen_tcp_socket()
|