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/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.c2787 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/
Dbufferevent_sock.c471 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/
Ddbus-sysdeps-win.c1501 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()
Ddbus-sysdeps-unix.c1525 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()