Home
last modified time | relevance | path

Searched refs:http_len (Results 1 – 22 of 22) sorted by relevance

/dports/security/suricata/suricata-6.0.4/src/tests/
H A Ddetect-http-method.c62 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest01() local
156 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest02() local
250 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest03() local
344 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest04() local
438 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest05() local
532 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest06() local
626 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest07() local
720 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest08() local
814 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest09() local
908 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpMethodTest10() local
[all …]
H A Ddetect-http-host.c63 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest01() local
162 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest02() local
261 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest03() local
360 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest04() local
459 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest05() local
558 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest06() local
657 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest07() local
756 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest08() local
855 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest09() local
954 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHHTest10() local
[all …]
H A Ddetect-http-cookie.c67 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest01() local
162 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest02() local
257 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest03() local
352 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest04() local
447 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest05() local
542 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest06() local
637 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest07() local
732 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest08() local
827 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest09() local
922 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpCookieTest10() local
[all …]
H A Ddetect-http-user-agent.c62 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest01() local
161 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest02() local
260 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest03() local
359 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest04() local
458 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest05() local
557 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest06() local
656 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest07() local
755 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest08() local
854 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest09() local
953 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpUATest10() local
[all …]
H A Ddetect-http-raw-header.c108 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest01() local
201 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest02() local
294 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest03() local
387 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest04() local
480 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest05() local
573 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest06() local
666 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest07() local
759 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest08() local
852 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest09() local
945 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpRawHeaderTest10() local
[all …]
H A Ddetect-http-header.c149 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest06() local
721 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest11() local
819 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest12() local
917 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest13() local
1315 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest28() local
1399 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest29() local
1483 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpHeaderTest30() local
1594 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHeaderTest01() local
1687 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHeaderTest02() local
1780 uint32_t http_len = sizeof(http_buf) - 1; in DetectEngineHttpHeaderTest03() local
[all …]
H A Ddetect-http-client-body.c984 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpClientBodyTest06() local
1025 STREAM_TOSERVER, http_buf, http_len); in DetectHttpClientBodyTest06()
1592 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpClientBodyTest11() local
1633 STREAM_TOSERVER, http_buf, http_len); in DetectHttpClientBodyTest11()
1691 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpClientBodyTest12() local
1732 STREAM_TOSERVER, http_buf, http_len); in DetectHttpClientBodyTest12()
1790 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpClientBodyTest13() local
1831 STREAM_TOSERVER, http_buf, http_len); in DetectHttpClientBodyTest13()
H A Ddetect-http-server-body.c5564 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpServerBodyTest06() local
5614 http_len); in DetectHttpServerBodyTest06()
6569 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpServerBodyTest13() local
6619 http_len); in DetectHttpServerBodyTest13()
7686 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpServerBodyFileDataTest01() local
7731 http_len); in DetectHttpServerBodyFileDataTest01()
8666 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpServerBodyFileDataTest08() local
8716 http_len); in DetectHttpServerBodyFileDataTest08()
/dports/security/suricata/suricata-6.0.4/src/
H A Ddetect-http-request-line.c192 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpRequestLineTest02() local
230 …nt r = AppLayerParserParse(&th_v, alp_tctx, &f, ALPROTO_HTTP, STREAM_TOSERVER, http_buf, http_len); in DetectHttpRequestLineTest02()
265 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpRequestLineWrapper() local
302 …nt r = AppLayerParserParse(&th_v, alp_tctx, &f, ALPROTO_HTTP, STREAM_TOSERVER, http_buf, http_len); in DetectHttpRequestLineWrapper()
H A Ddetect-http-response-line.c191 uint32_t http_len = sizeof(http_buf) - 1; in DetectHttpResponseLineTest02() local
235 …nt r = AppLayerParserParse(&th_v, alp_tctx, &f, ALPROTO_HTTP, STREAM_TOSERVER, http_buf, http_len); in DetectHttpResponseLineTest02()
/dports/www/http_get/http_get/
H A Dhttp_get.c166 int http_len = strlen( http ); in getURL() local
178 if ( strncmp( http, u, http_len ) == 0 ) in getURL()
180 proto_len = http_len; in getURL()
/dports/net/http_ping/http_ping/
H A Dhttp_ping.c330 int http_len = strlen( http ); in parse_url() local
338 if ( strncmp( http, url, http_len ) == 0 ) in parse_url()
340 proto_len = http_len; in parse_url()
/dports/www/http_post/http_post/
H A Dhttp_post.c183 int http_len = strlen( http ); in postURL() local
195 if ( strncmp( http, u, http_len ) == 0 ) in postURL()
197 proto_len = http_len; in postURL()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/http/
H A Dhttp_util.cc617 const size_t http_len = 4; in LocateStartOfStatusLine() local
619 if (buf_len >= http_len) { in LocateStartOfStatusLine()
620 size_t i_max = std::min(buf_len - http_len, slop); in LocateStartOfStatusLine()
622 if (base::LowerCaseEqualsASCII(base::StringPiece(buf + i, http_len), in LocateStartOfStatusLine()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/http/
H A Dhttp_util.cc619 const size_t http_len = 4; in LocateStartOfStatusLine() local
621 if (buf_len >= http_len) { in LocateStartOfStatusLine()
622 size_t i_max = std::min(buf_len - http_len, slop); in LocateStartOfStatusLine()
624 if (base::LowerCaseEqualsASCII(base::StringPiece(buf + i, http_len), in LocateStartOfStatusLine()
/dports/www/trafficserver/trafficserver-9.1.1/proxy/logging/
H A DLogAccess.cc779 static int http_len = static_cast<int>(::strlen(http)); in unmarshal_http_version() local
784 memcpy(p, http, http_len); in unmarshal_http_version()
785 p += http_len; in unmarshal_http_version()
787 int res1 = unmarshal_int_to_str(buf, p, 128 - http_len); in unmarshal_http_version()
793 int res2 = unmarshal_int_to_str(buf, p, 128 - http_len - res1 - 1); in unmarshal_http_version()
798 int val_len = http_len + res1 + res2 + 1; in unmarshal_http_version()
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dphishcheck.c161 static const size_t http_len = sizeof(http) - 1; variable
977 else if (strncmp(URL, http, http_len) == 0) in isURL()
978 start = URL + http_len - 1; in isURL()
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dphishcheck.c161 static const size_t http_len = sizeof(http) - 1; variable
977 else if (strncmp(URL, http, http_len) == 0) in isURL()
978 start = URL + http_len - 1; in isURL()
/dports/net/turnserver/coturn-4.5.2/src/client/
H A Dns_turn_msg.c952 int http_len = is_http_inline(((char*)buf), blen); in stun_get_message_len_str() local
953 if((http_len>0) && ((size_t)http_len<=blen)) { in stun_get_message_len_str()
954 *app_len = (size_t)http_len; in stun_get_message_len_str()
955 return http_len; in stun_get_message_len_str()
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/plug-ins/sslstrip/
H A Dsslstrip.c1086 size_t http_len = strlen("http://"); in http_remove_https() local
1122 memcpy(new_html + new_size, "http://", http_len); in http_remove_https()
1123 new_size += http_len; in http_remove_https()
/dports/www/http_load/http_load-09Mar2016/
H A Dhttp_load.c536 int http_len = strlen( http ); in read_url_file() local
571 if ( strncmp( http, line, http_len ) == 0 ) in read_url_file()
573 proto_len = http_len; in read_url_file()
/dports/www/trafficserver/trafficserver-9.1.1/tools/http_load/
H A Dhttp_load.c630 int http_len = strlen(http); in read_url_file() local
683 if (strncmp(http, line, http_len) == 0) { in read_url_file()
684 proto_len = http_len; in read_url_file()