/netbsd/sys/external/bsd/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 139 char portbuf[8], *s; in ipf_p_rcmd_portmsg() local 173 bzero(portbuf, sizeof(portbuf)); in ipf_p_rcmd_portmsg() 174 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf); in ipf_p_rcmd_portmsg() 176 portbuf[sizeof(portbuf) - 1] = '\0'; in ipf_p_rcmd_portmsg() 177 s = portbuf; in ipf_p_rcmd_portmsg() 182 dlen, portbuf); in ipf_p_rcmd_portmsg()
|
/netbsd/crypto/dist/ipsec-tools/src/libipsec/ |
H A D | policy_parse.y | 112 struct _val *portbuf); 374 parse_sockaddr(struct _val *addrbuf, struct _val *portbuf) in parse_sockaddr() argument 388 if (portbuf && ((serv = malloc(portbuf->len + 1)) == NULL)) { in parse_sockaddr() 398 if (portbuf) { in parse_sockaddr() 399 strncpy(serv, portbuf->buf, portbuf->len); in parse_sockaddr() 400 serv[portbuf->len] = '\0'; in parse_sockaddr()
|
H A D | pfkey_dump.c | 706 char portbuf[128]; in str_prefport() local 730 memset(portbuf, 0, sizeof(portbuf)); in str_prefport() 734 strcpy(portbuf, "[any]"); in str_prefport() 736 snprintf(portbuf, sizeof(portbuf), "[%u]", port); in str_prefport() 740 snprintf(buf, sizeof(buf), "%s%s", prefbuf, portbuf); in str_prefport()
|
/netbsd/sys/dev/acpi/ |
H A D | ehci_acpi.c | 189 ACPI_BUFFER portbuf, buf; in ehci_acpi_port_has_companion() local 195 rv = acpi_eval_struct(portad->ad_handle, "_PLD", &portbuf); in ehci_acpi_port_has_companion() 199 portobj = portbuf.Pointer; in ehci_acpi_port_has_companion() 238 ACPI_FREE(portbuf.Pointer); in ehci_acpi_port_has_companion()
|
/netbsd/crypto/dist/ipsec-tools/src/racoon/ |
H A D | cfparse.y | 586 char portbuf[10]; variable 588 snprintf(portbuf, sizeof(portbuf), "%ld", $2); 589 $$ = str2saddr($1->v, portbuf); 599 char portbuf[10]; variable 601 snprintf(portbuf, sizeof(portbuf), "%ld", $2); 602 $$ = str2saddr($1->v, portbuf); 1521 char portbuf[10]; variable 1535 snprintf(portbuf, sizeof(portbuf), "%lu", $4); 1536 saddr = str2saddr($2->v, portbuf); 1575 char portbuf[10]; variable [all …]
|
H A D | isakmp.c | 2839 char portbuf[NI_MAXSERV]; local 2856 portbuf, sizeof(portbuf), 2859 strlcpy(portbuf, "?", sizeof(portbuf)); 2861 printf("%s:%s", hostbuf, portbuf); 2867 portbuf, sizeof(portbuf), 2870 strlcpy(portbuf, "?", sizeof(portbuf)); 2872 printf("%s:%s", hostbuf, portbuf);
|
/netbsd/external/bsd/ntp/dist/sntp/libevent/ |
H A D | bufferevent_sock.c | 472 char portbuf[10]; in bufferevent_socket_connect_hostname() local 487 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 498 err = evutil_getaddrinfo_async_(evdns_base, hostname, portbuf, in bufferevent_socket_connect_hostname()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | myaddrinfo.c | 605 char portbuf[sizeof("65535")]; in sockaddr_to_hostaddr() local 622 sprintf(portbuf, "%d", ntohs(SOCK_ADDR_IN_PORT(sa)) & 0xffff); in sockaddr_to_hostaddr() 623 if ((len = strlen(portbuf)) >= sizeof(portnum->buf)) { in sockaddr_to_hostaddr() 627 memcpy(portnum->buf, portbuf, len + 1); in sockaddr_to_hostaddr()
|
/netbsd/external/bsd/libevent/dist/ |
H A D | bufferevent_sock.c | 500 char portbuf[10]; in bufferevent_socket_connect_hostname() local 514 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 524 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev); in bufferevent_socket_connect_hostname()
|
/netbsd/libexec/httpd/ |
H A D | bozohttpd.c | 1066 char portbuf[20]; in handle_redirect() local 1120 portbuf[0] = '\0'; in handle_redirect() 1126 snprintf(portbuf, sizeof(portbuf), ":%s", in handle_redirect() 1129 portbuf[0] = '\0'; in handle_redirect() 1142 scheme, hostname, portbuf, url, quest, query); in handle_redirect() 2223 char portbuf[20]; in bozo_http_error() local 2243 snprintf(portbuf, sizeof(portbuf), ":%s", in bozo_http_error() 2246 portbuf[0] = '\0'; in bozo_http_error() 2282 reason, hostname, portbuf, hostname, portbuf); in bozo_http_error()
|
/netbsd/external/bsd/unbound/dist/services/ |
H A D | listen_dnsport.c | 1711 char portbuf[32]; in listening_ports_open() local 1712 snprintf(portbuf, sizeof(portbuf), "%d", cfg->port); in listening_ports_open() 1758 snprintf(portbuf, sizeof(portbuf), "%d", extraport); in listening_ports_open() 1763 &hints, portbuf, &list, in listening_ports_open() 1778 &hints, portbuf, &list, in listening_ports_open() 1796 &hints, portbuf, &list, in listening_ports_open() 1811 &hints, portbuf, &list, in listening_ports_open() 1828 do_tcp, &hints, portbuf, &list, in listening_ports_open() 1843 do_tcp, &hints, portbuf, &list, in listening_ports_open()
|
/netbsd/external/bsd/unbound/dist/util/ |
H A D | config_file.c | 2604 char portbuf[32]; in cfg_has_https() local 2605 snprintf(portbuf, sizeof(portbuf), "%d", cfg->port); in cfg_has_https() 2607 if(if_is_https(cfg->ifs[i], portbuf, cfg->https_port)) in cfg_has_https()
|