Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c141 char portbuf[8], *s; in ipf_p_rcmd_portmsg() local
175 bzero(portbuf, sizeof(portbuf)); in ipf_p_rcmd_portmsg()
176 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf); in ipf_p_rcmd_portmsg()
178 portbuf[sizeof(portbuf) - 1] = '\0'; in ipf_p_rcmd_portmsg()
179 s = portbuf; in ipf_p_rcmd_portmsg()
184 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]; in interfacechecks() local
346 snprintf(portbuf, sizeof(portbuf), "%d", cfg->port); in interfacechecks()
369 if(if_is_pp2(resif[i][0], portbuf, cfg->proxy_protocol_port)) { in interfacechecks()
370 if(if_is_dnscrypt(resif[i][0], portbuf, in interfacechecks()
374 } else if(if_is_https(resif[i][0], portbuf, in interfacechecks()
/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_inet.c974 char portbuf[8]; in dns_activate() local
975 sprintf(portbuf, "%hu", ntohs(port->dns_port)); in dns_activate()
980 portbuf, &hints, &res0); in dns_activate()
/freebsd/libexec/ftpd/
H A Dftpd.c1962 char hostbuf[NI_MAXHOST], portbuf[NI_MAXSERV]; in dataconn() local
1967 portbuf, sizeof(portbuf) - 1, in dataconn()
1969 *hostbuf = *portbuf = 0; in dataconn()
1971 portbuf[sizeof(portbuf) - 1] = 0; in dataconn()
1973 hostbuf, portbuf, strerror(errno)); in dataconn()
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c1890 char portbuf[32]; in listening_ports_open() local
1891 snprintf(portbuf, sizeof(portbuf), "%d", cfg->port); in listening_ports_open()
1937 snprintf(portbuf, sizeof(portbuf), "%d", extraport); in listening_ports_open()
1942 &hints, portbuf, &list, in listening_ports_open()
1961 &hints, portbuf, &list, in listening_ports_open()
1983 &hints, portbuf, &list, in listening_ports_open()
2001 &hints, portbuf, &list, in listening_ports_open()
2021 do_tcp, &hints, portbuf, &list, in listening_ports_open()
2039 do_tcp, &hints, portbuf, &list, in listening_ports_open()
/freebsd/contrib/unbound/util/
H A Dconfig_file.c2790 char portbuf[32]; in cfg_has_https() local
2791 snprintf(portbuf, sizeof(portbuf), "%d", cfg->port); in cfg_has_https()
2793 if(if_is_https(cfg->ifs[i], portbuf, cfg->https_port)) in cfg_has_https()