Home
last modified time | relevance | path

Searched refs:portbuf (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c135 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 Dpfkey_dump.c581 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 Dbufferevent_sock.c497 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 Dbufferevent_sock.c497 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 Dunbound-checkconf.c345 char portbuf[32]; interfacechecks() local
/freebsd/crypto/krb5/src/lib/kadm5/clnt/
H A Dclient_init.c524 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 Dsendto_kdc.c816 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 Dtrans_inet.c972 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 Dftpd.c1973 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 Dlisten_dnsport.c1045 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 Dconfig_file.c2790 char portbuf[32]; cfg_has_https() local