Searched refs:portbuf (Results 1 – 4 of 4) 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 | 2789 char portbuf[NI_MAXSERV]; local 2806 portbuf, sizeof(portbuf), 2809 strlcpy(portbuf, "?", sizeof(portbuf)); 2811 printf("%s:%s", hostbuf, portbuf); 2817 portbuf, sizeof(portbuf), 2820 strlcpy(portbuf, "?", sizeof(portbuf)); 2822 printf("%s:%s", hostbuf, portbuf);
|