/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_rcmd_pxy.c | 135 char portbuf[8], *s; in ipf_p_rcmd_portmsg() local 169 bzero(portbuf, sizeof(portbuf)); in ipf_p_rcmd_portmsg() 170 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf); in ipf_p_rcmd_portmsg() 172 portbuf[sizeof(portbuf) - 1] = '\0'; in ipf_p_rcmd_portmsg() 173 s = portbuf; in ipf_p_rcmd_portmsg() 178 dlen, portbuf); in ipf_p_rcmd_portmsg()
|
/freebsd/lib/libipsec/ |
H A D | pfkey_dump.c | 581 char portbuf[128]; in str_upperspec() 601 memset(portbuf, 0, sizeof(portbuf)); 604 snprintf(portbuf, sizeof(portbuf), "[%s]", "any"); in str_time() 606 snprintf(portbuf, sizeof(portbuf), "[%u]", port); in str_time() 609 snprintf(buf, sizeof(buf), "%s%s", prefbuf, portbuf); in str_time() 537 char portbuf[128]; str_prefport() local
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_sock.c | 497 char portbuf[10]; in bufferevent_socket_connect_hostname() local 511 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 521 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev); in bufferevent_socket_connect_hostname()
|
/freebsd/contrib/libevent/ |
H A D | bufferevent_sock.c | 497 char portbuf[10]; in bufferevent_socket_connect_hostname() local 511 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname() 521 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev); in bufferevent_socket_connect_hostname()
|
/freebsd/contrib/unbound/smallapp/ |
H A D | unbound-checkconf.c | 345 char portbuf[32]; interfacechecks() local
|
/freebsd/crypto/krb5/src/lib/kadm5/clnt/ |
H A D | client_init.c | 524 char portbuf[32]; in connect_to_server() local 529 (void) snprintf(portbuf, sizeof(portbuf), "%d", port); in connect_to_server() 536 err = getaddrinfo(hostname, portbuf, &hint, &addrs); in connect_to_server()
|
/freebsd/crypto/krb5/src/lib/krb5/os/ |
H A D | sendto_kdc.c | 816 char portbuf[PORT_LENGTH]; in resolve_server() local 852 result = snprintf(portbuf, sizeof(portbuf), "%d", entry->port); in resolve_server() 853 if (SNPRINTF_OVERFLOW(result, sizeof(portbuf))) in resolve_server() 856 err = getaddrinfo(entry->hostname, portbuf, &hint, &addrs); in resolve_server() 864 entry->hostname, portbuf, entry->uri_path, in resolve_server() 876 entry->hostname, portbuf, in resolve_server()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | trans_inet.c | 972 char portbuf[8]; in dns_activate() local 973 sprintf(portbuf, "%hu", ntohs(port->dns_port)); in dns_activate() 978 portbuf, &hints, &res0); in dns_activate()
|
/freebsd/libexec/ftpd/ |
H A D | ftpd.c | 1973 char hostbuf[NI_MAXHOST], portbuf[NI_MAXSERV]; in dataconn() local 1978 portbuf, sizeof(portbuf) - 1, in dataconn() 1980 *hostbuf = *portbuf = 0; in dataconn() 1982 portbuf[sizeof(portbuf) - 1] = 0; in dataconn() 1984 hostbuf, portbuf, strerror(errno)); in dataconn()
|
/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 1045 char portbuf[32]; in make_sock() 1046 snprintf(portbuf, sizeof(portbuf), "%d", port); in make_sock() 1049 if((r=getaddrinfo(ifname, portbuf, hints, &res)) != 0 || !res) { in make_sock() 1057 ifname?ifname:"default", portbuf, gai_strerror(r), in make_sock() 1890 char portbuf[32]; listening_ports_open() local
|
/freebsd/contrib/unbound/util/ |
H A D | config_file.c | 2790 char portbuf[32]; cfg_has_https() local
|