Home
last modified time | relevance | path

Searched refs:port_str (Results 1 – 12 of 12) sorted by relevance

/mirbsd/src/sbin/isakmpd/
Dudp_encap.c236 char *addr_str, *port_str; in udp_encap_create() local
238 port_str = conf_get_str(name, "Port"); /* XXX "Encap-port" ? */ in udp_encap_create()
239 if (!port_str) in udp_encap_create()
240 port_str = udp_encap_default_port; in udp_encap_create()
241 if (!port_str) in udp_encap_create()
242 port_str = UDP_ENCAP_DEFAULT_PORT_STR; in udp_encap_create()
250 if (text2sockaddr(addr_str, port_str, &dst, 0, 0)) { in udp_encap_create()
278 if (text2sockaddr(addr_node->field, port_str, in udp_encap_create()
294 if (text2sockaddr(addr_str, port_str, &addr, 0, 0)) { in udp_encap_create()
304 "%s:%s must exist as a listener too", addr_str, port_str); in udp_encap_create()
Dudp.c272 char *addr_str, *port_str; in udp_create() local
276 port_str = conf_get_str(name, "Port"); in udp_create()
277 if (!port_str) in udp_create()
278 port_str = udp_default_port; in udp_create()
279 if (!port_str) in udp_create()
280 port_str = UDP_DEFAULT_PORT_STR; in udp_create()
288 if (text2sockaddr(addr_str, port_str, &dst, 0, 0)) { in udp_create()
316 port_str, &addr, 0, 0) == 0) { in udp_create()
330 if (text2sockaddr(addr_str, port_str, &addr, 0, 0)) { in udp_create()
341 addr_str, port_str); in udp_create()
Dutil.c229 text2port(char *port_str) in text2port() argument
235 port_long = strtol(port_str, &port_str_end, 0); in text2port()
236 if (port_str == port_str_end) { in text2port()
237 service = getservbyname(port_str, "udp"); in text2port()
240 port_str); in text2port()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dser-tcp.c73 char *port_str, hostname[100]; in net_open() local
93 port_str = strchr (name, ':'); in net_open()
95 if (!port_str) in net_open()
98 tmp = min (port_str - name, (int) sizeof hostname - 1); in net_open()
101 port = atoi (port_str + 1); in net_open()
Dremote-m32r-sdi.c352 char *port_str, hostname[256]; in m32r_open() local
368 port_str = strchr (args, ':'); in m32r_open()
369 if (port_str == NULL) in m32r_open()
/mirbsd/src/usr.sbin/httpd/src/main/
Dutil_uri.c234 if (uptr->port_str && in ap_unparse_uri_components()
240 parts[j++] = uptr->port_str; in ap_unparse_uri_components()
436 uptr->port_str = ap_pstrndup(p, s, uri - s); in ap_parse_uri_components()
438 port = ap_strtol(uptr->port_str, &endstr, 10); in ap_parse_uri_components()
496 uptr->port_str = ap_pstrdup(p, s); in ap_parse_hostinfo_components()
498 uptr->port = (unsigned short)ap_strtol(uptr->port_str, &endstr, 10); in ap_parse_hostinfo_components()
Dhttp_core.c845 port = r->parsed_uri.port_str ? r->parsed_uri.port : in ap_get_server_port()
/mirbsd/src/usr.sbin/ppp/ppp/
Dalias_smedia.c142 const char *port_str) in alias_rtsp_out() argument
173 while (port_dlen > strlen(port_str)) { in alias_rtsp_out()
175 pos = search_string(port_data, port_dlen, port_str); in alias_rtsp_out()
Dradlib.c312 char *port_str; in rad_config() local
386 port_str = strsep(&res, ":"); in rad_config()
387 if (port_str != NULL) { in rad_config()
388 port = strtoul(port_str, &end, 10); in rad_config()
/mirbsd/src/usr.sbin/httpd/src/include/
Dutil_uri.h110 char *port_str; /* port string (integer representation is in "port") */ member
/mirbsd/src/usr.sbin/httpd/src/modules/experimental/
Dmod_auth_digest.c990 if (src->port_str && src->port_str[0] != '\0') in copy_uri_components()
1143 || (d_uri.port_str && d_uri.port != r_uri.port) in authenticate_digest_user()
1146 && !d_uri.port_str && r_uri.port != ap_default_port(r)) in authenticate_digest_user()
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dmod_proxy.c160 r->parsed_uri.port_str ? r->parsed_uri.port : ap_default_port(r)))) { in proxy_detect()
170 && r->parsed_uri.port_str) { in proxy_detect()