Home
last modified time | relevance | path

Searched refs:port_len (Results 1 – 25 of 168) sorted by relevance

1234567

/dports/www/trafficserver/trafficserver-9.1.1/proxy/hdrs/unit_tests/
H A Dtest_mime.cc76 int port_len; variable
80 hdr.get_host_port_values(&host, &host_len, &port, &port_len);
89 if (port_len != 0) {
100 hdr.get_host_port_values(&host, &host_len, &port, &port_len);
109 if (port_len != 0) {
129 if (port_len != 0) {
149 if (port_len != 4) {
153 if (strncmp(port, "port", port_len) != 0) {
169 if (port_len != 4) {
173 if (strncmp(port, "port", port_len) != 0) {
[all …]
/dports/net/netembryo/netembryo-0.1.1/utils/
H A Durl.c41 size_t protocol_len, hostname_len, port_len, path_len; in Url_init() local
70 port_len = 0; in Url_init()
75 port_len = (size_t)(path_begin - port_begin - 1); in Url_init()
77 port_len = strlen(urlname) - ((size_t)(port_begin - urlname)); in Url_init()
87 if (port_len) { in Url_init()
88 url->port = (char*)malloc(port_len+1); in Url_init()
89 strncpy(url->port, port_begin, port_len); in Url_init()
90 url->port[port_len] = '\0'; in Url_init()
/dports/net/tacacs/PROJECTS/tac_plus/
H A Dacct.c74 …len = TAC_ACCT_REQ_FIXED_FIELDS_SIZE + acct->user_len + acct->port_len + acct->rem_addr_len + acct… in accounting_pak_looks_bogus()
112 log_write(rbt, (char *) p, acct->port_len); in accounting()
114 p += acct->port_len; in accounting()
140 char *mp = alloca(acct->port_len + 1); in accounting()
143 strncpy(mp, portname, acct->port_len); in accounting()
144 mp[acct->port_len] = 0; in accounting()
H A Ddump.c219 … "user_len=%d port_len=%d rem_addr_len=%d", start->user_len, start->port_len, start->rem_addr_len); in dump_nas_pak()
224 report_string(session, LOG_DEBUG, DEBUG_PACKET_FLAG, "port", p, start->port_len); in dump_nas_pak()
225 p += start->port_len; in dump_nas_pak()
250 …"user_len=%d port_len=%d rem_addr_len=%d arg_cnt=%d", author->user_len, author->port_len, author->… in dump_nas_pak()
257 report_string(session, LOG_DEBUG, DEBUG_PACKET_FLAG, "port", p, author->port_len); in dump_nas_pak()
258 p += author->port_len; in dump_nas_pak()
274 …"user_len=%d port_len=%d rem_addr_len=%d arg_cnt=%d", acct->user_len, acct->port_len, acct->rem_ad… in dump_nas_pak()
281 report_string(session, LOG_DEBUG, DEBUG_PACKET_FLAG, "port", p, acct->port_len); in dump_nas_pak()
282 p += acct->port_len; in dump_nas_pak()
/dports/net/pwnat/pwnat-5de412c/
H A Ddestination.c69 size_t host_len, port_len; in destination_copy() local
72 port_len = src->port ? strlen(src->port) : 0; in destination_copy()
74 dst->data = calloc(host_len + port_len + 2, 1); in destination_copy()
88 if (port_len > 0) in destination_copy()
91 memcpy((char *)dst->port, src->port, port_len + 1); in destination_copy()
/dports/sysutils/cmogstored/cmogstored-1.8.1/
H A Dlisten_parser.c30 size_t port_len = 0; in listen_parse() local
77 { port_len = p - port_beg + 1; } in listen_parse()
81 { port_len = p - port_beg + 1; } in listen_parse()
99 port_beg, port_len, sa_family); in listen_parse()
173 { port_len = p - port_beg + 1; } in listen_parse()
179 { port_len = p - port_beg + 1; } in listen_parse()
H A Dlisten_parser_internal.c10 char *mark_beg, size_t mark_len, char *port_beg, size_t port_len, in mog_listen_parse_internal() argument
29 port_beg[port_len] = 0; in mog_listen_parse_internal()
H A Dcfg_parser.c49 size_t port_len = 0; in mog_cfg_parse() local
433 { port_len = p - port_beg + 1; } in mog_cfg_parse()
437 { port_len = p - port_beg + 1; } in mog_cfg_parse()
540 { port_len = p - port_beg + 1; } in mog_cfg_parse()
546 { port_len = p - port_beg + 1; } in mog_cfg_parse()
684 { port_len = p - port_beg + 1; } in mog_cfg_parse()
688 { port_len = p - port_beg + 1; } in mog_cfg_parse()
791 { port_len = p - port_beg + 1; } in mog_cfg_parse()
797 { port_len = p - port_beg + 1; } in mog_cfg_parse()
1190 { port_len = p - port_beg + 1; } in mog_cfg_parse()
[all …]
H A Dcfg_parser.rl39 port_beg, port_len, sa_family);
46 port_beg, port_len, sa_family);
52 port_beg, port_len, sa_family);
128 size_t port_len = 0;
H A Dlisten_parser.rl13 port_beg, port_len, sa_family);
25 size_t port_len = 0;
/dports/devel/cgit/cgit-1.2.3/git/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/devel/git-svn/git-2.34.1/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/devel/git-p4/git-2.34.1/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/devel/git-gui/git-2.34.1/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/devel/git/git-2.34.1/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/devel/git-cvs/git-2.34.1/
H A Durlmatch.c150 size_t host_off=0, host_len=0, port_off=0, port_len=0, path_off, path_len, result_len; in url_normalize_1() local
311 port_len = slash_ptr - url; in url_normalize_1()
317 host_len = norm.len - host_off - (port_len ? port_len + 1 : 0); in url_normalize_1()
426 out_info->port_len = port_len; in url_normalize_1()
517 if (url_prefix->port_len != url->port_len || in match_urls()
519 url_prefix->url + url_prefix->port_off, url->port_len)) in match_urls()
/dports/net/libtacplus/libtacplus-4.0/
H A Dtaclib_private.h96 u_int8_t port_len; member
123 u_int8_t port_len; member
144 u_int8_t port_len; member
/dports/databases/p5-Cache-Memcached-Fast/Cache-Memcached-Fast-0.27/src/
H A Ddispatch_key.c160 const char *port, size_t port_len, in ketama_crc32_add_server() argument
175 crc32 = compute_crc32_add(crc32, port, port_len); in ketama_crc32_add_server()
286 const char *port, size_t port_len, in dispatch_add_server() argument
290 return ketama_crc32_add_server(state, host, host_len, port, port_len, in dispatch_add_server()
/dports/x11/foot/foot/
H A Duri.c134 size_t port_len = path_segment - port_str; in uri_parse() local
135 if (port_len == 0) in uri_parse()
139 for (size_t i = 0; i < port_len; i++) { in uri_parse()
151 LOG_DBG("port: \"%.*s\" (%hu)", (int)port_len, port_str, _port); in uri_parse()
/dports/security/sslproxy/SSLproxy-0.9.2/tests/testproxy/lp/
H A Dprototcp.c328 int port_len = port_end - port_start; in prototcp_parse_sslproxy_line() local
329 if (port_len > MAX_PORT_LEN) { in prototcp_parse_sslproxy_line()
330 log_err_level_printf(LOG_ERR, "sslproxy port_len greater than MAX_PORT_LEN: %d\n", port_len); in prototcp_parse_sslproxy_line()
335 char port[port_len + 1]; in prototcp_parse_sslproxy_line()
336 memcpy(port, port_start, port_len); in prototcp_parse_sslproxy_line()
337 port[port_len] = '\0'; in prototcp_parse_sslproxy_line()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/usb/usbip/src/
H A Dusbip_detach.c41 unsigned int port_len = strlen(port); in detach_port() local
43 for (unsigned int i = 0; i < port_len; i++) in detach_port()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/usb/usbip/src/
H A Dusbip_detach.c41 unsigned int port_len = strlen(port); in detach_port() local
43 for (unsigned int i = 0; i < port_len; i++) in detach_port()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/usb/usbip/src/
H A Dusbip_detach.c41 unsigned int port_len = strlen(port); in detach_port() local
43 for (unsigned int i = 0; i < port_len; i++) in detach_port()
/dports/sysutils/pnscan/pnscan-1.14.1/
H A Dt_listen.c46 int port_len = 16384; variable
72 port = (random()%port_len)+port_base; in main()
/dports/emulators/dps8m/dps8m-572f79bb4f0f84a8b16c3892c894c2b9ed64b458/src/simh/
H A Dsim_sock.h75 …har *host, size_t hostlen, const char *default_host, char *port, size_t port_len, const char *defa…
77 …har *host, size_t hostlen, const char *default_host, char *port, size_t port_len, char *localport,…

1234567