Home
last modified time | relevance | path

Searched refs:hdr_end (Results 1 – 25 of 163) sorted by relevance

1234567

/dports/misc/libsolv/libsolv-0.7.19/ext/
H A Dsolv_zchunk.c26 unsigned char *hdr_end; member
154 if (p >= zck->hdr_end) in nextchunk()
162 if (p >= zck->hdr_end) in nextchunk()
261 zck->hdr_end = zck->hdr + 15; in solv_zchunk_open()
271 zck->hdr_end = zck->hdr + lead_size + hdr_size; in solv_zchunk_open()
293 if (p + zck->hdr_chk_len > zck->hdr_end) in solv_zchunk_open()
301 if ((p = getuint(p, zck->hdr_end, &zck->flags)) == 0) in solv_zchunk_open()
311 if ((p = getuint(p, zck->hdr_end, &nopt)) == 0) in solv_zchunk_open()
315 if ((p = getuint(p, zck->hdr_end, &lopt)) == 0) in solv_zchunk_open()
317 if ((p = getuint(p, zck->hdr_end, &lopt)) == 0) in solv_zchunk_open()
[all …]
/dports/dns/knot3/knot-3.1.5/src/libknot/xdp/
H A Dprotocols.h84 while (opts < hdr_end) { in prot_read_tcp()
90 if (opts + 1 > hdr_end || opts + opts[1] > hdr_end) { in prot_read_tcp()
104 return hdr_end; in prot_read_tcp()
284 hdr_end[0] = PROT_TCP_OPT_WSC; in prot_write_tcp()
285 hdr_end[1] = PROT_TCP_OPT_LEN_WSC; in prot_write_tcp()
286 hdr_end[2] = 14; // Maximum possible. in prot_write_tcp()
287 hdr_end += PROT_TCP_OPT_LEN_WSC; in prot_write_tcp()
288 *hdr_end++ = PROT_TCP_OPT_NOOP; in prot_write_tcp()
291 hdr_end[0] = PROT_TCP_OPT_MSS; in prot_write_tcp()
292 hdr_end[1] = PROT_TCP_OPT_LEN_MSS; in prot_write_tcp()
[all …]
/dports/dns/knot3-lib/knot-3.1.5/src/libknot/xdp/
H A Dprotocols.h84 while (opts < hdr_end) { in prot_read_tcp()
90 if (opts + 1 > hdr_end || opts + opts[1] > hdr_end) { in prot_read_tcp()
104 return hdr_end; in prot_read_tcp()
284 hdr_end[0] = PROT_TCP_OPT_WSC; in prot_write_tcp()
285 hdr_end[1] = PROT_TCP_OPT_LEN_WSC; in prot_write_tcp()
286 hdr_end[2] = 14; // Maximum possible. in prot_write_tcp()
287 hdr_end += PROT_TCP_OPT_LEN_WSC; in prot_write_tcp()
288 *hdr_end++ = PROT_TCP_OPT_NOOP; in prot_write_tcp()
291 hdr_end[0] = PROT_TCP_OPT_MSS; in prot_write_tcp()
292 hdr_end[1] = PROT_TCP_OPT_LEN_MSS; in prot_write_tcp()
[all …]
/dports/net/sems/sems-f89581a/apps/sbc/
H A DHeaderFilter.cpp92 size_t& val_end, size_t& hdr_end) { in skip_header() argument
96 hdr_end = hdr.length(); in skip_header()
180 hdr_end = p; in skip_header()
185 hdr_end = p; in skip_header()
211 size_t name_end, val_begin, val_end, hdr_end; in inplaceHeaderFilter() local
214 val_end, hdr_end)) != 0) { in inplaceHeaderFilter()
227 hdrs.erase(start_pos, hdr_end-start_pos); in inplaceHeaderFilter()
229 start_pos = hdr_end; in inplaceHeaderFilter()
/dports/lang/gcc12-devel/gcc-12-20211205/libsanitizer/tsan/
H A Dtsan_rtl.cpp87 uptr hdr_end = hdr + sizeof(Trace); in CreateThreadContext() local
88 hdr_end -= sizeof(TraceHeader) * (kTraceParts - TraceParts()); in CreateThreadContext()
89 hdr_end = RoundUp(hdr_end, GetPageSizeCached()); in CreateThreadContext()
90 if (hdr_end < hdr + sizeof(Trace)) { in CreateThreadContext()
91 ReleaseMemoryPagesToOS(hdr_end, hdr + sizeof(Trace)); in CreateThreadContext()
92 uptr unused = hdr + sizeof(Trace) - hdr_end; in CreateThreadContext()
93 if (hdr_end != (uptr)MmapFixedNoAccess(hdr_end, unused)) { in CreateThreadContext()
94 Report("ThreadSanitizer: failed to mprotect [0x%zx-0x%zx) \n", hdr_end, in CreateThreadContext()
/dports/net/sems/sems-f89581a/core/
H A DAmSipMsg.cpp62 const char* hdr_end = hdr_c + hdr_name.length(); in findHeader() local
64 while(hdr_c != hdr_end){ in findHeader()
74 while((hdrs_c != hdrs_end) && (hdr_c != hdr_end)){ in findHeader()
87 if(hdr_c == hdr_end) { in findHeader()
105 if(hdr_c == hdr_end){ in findHeader()
/dports/net/haproxy20/haproxy-2.0.26/src/
H A Dhttp.c667 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
678 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
681 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
689 while (equal < hdr_end) { in http_extract_cookie_value()
702 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
705 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
709 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
/dports/net/haproxy19/haproxy-1.9.16/src/
H A Dhttp.c619 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
630 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
633 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
641 while (equal < hdr_end) { in http_extract_cookie_value()
654 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
657 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
661 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
H A Dproto_htx.c4021 while (equal < hdr_end) { in htx_manage_client_side_cookies()
4069 hdr_end += delta; in htx_manage_client_side_cookies()
4279 hdr_end += delta; in htx_manage_client_side_cookies()
4304 hdr_end += delta; in htx_manage_client_side_cookies()
4326 if (hdr_beg != hdr_end) { in htx_manage_client_side_cookies()
4348 char *hdr_beg, *hdr_end; in htx_manage_server_side_cookies() local
4433 while (equal < hdr_end) { in htx_manage_server_side_cookies()
4465 if (next < hdr_end) { in htx_manage_server_side_cookies()
4474 next = hdr_end; in htx_manage_server_side_cookies()
4568 hdr_end += delta; in htx_manage_server_side_cookies()
[all …]
/dports/net/nuster/nuster-5.0.4.21/src/
H A Dhttp.c684 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
695 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
698 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
706 while (equal < hdr_end) { in http_extract_cookie_value()
719 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
722 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
726 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
/dports/security/snort3/snort3-3.1.19.0/src/framework/
H A Dcodec.cc100 const uint8_t* hdr_end = pkt + total_octets; in CheckIPV6HopOptions() local
110 while (pkt < hdr_end) in CheckIPV6HopOptions()
136 if ((pkt + oplen + 1) > hdr_end) in CheckIPV6HopOptions()
/dports/net/haproxy22/haproxy-2.2.19/src/
H A Dhttp.c688 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
699 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
702 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
710 while (equal < hdr_end) { in http_extract_cookie_value()
723 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
726 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
730 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
H A Dhttp_ana.c3214 while (equal < hdr_end) { in http_manage_client_side_cookies()
3262 hdr_end += delta; in http_manage_client_side_cookies()
3472 hdr_end += delta; in http_manage_client_side_cookies()
3497 hdr_end += delta; in http_manage_client_side_cookies()
3519 if (hdr_beg != hdr_end) in http_manage_client_side_cookies()
3539 char *hdr_beg, *hdr_end; in http_manage_server_side_cookies() local
3624 while (equal < hdr_end) { in http_manage_server_side_cookies()
3656 if (next < hdr_end) { in http_manage_server_side_cookies()
3665 next = hdr_end; in http_manage_server_side_cookies()
3758 hdr_end += delta; in http_manage_server_side_cookies()
[all …]
/dports/net/haproxy21/haproxy-2.1.12/src/
H A Dhttp.c718 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
729 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
732 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
740 while (equal < hdr_end) { in http_extract_cookie_value()
753 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
756 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
760 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
/dports/net/haproxy23/haproxy-2.3.16/src/
H A Dhttp.c688 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
699 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
702 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
710 while (equal < hdr_end) { in http_extract_cookie_value()
723 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
726 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
730 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
H A Dhttp_ana.c3215 while (equal < hdr_end) { in http_manage_client_side_cookies()
3263 hdr_end += delta; in http_manage_client_side_cookies()
3473 hdr_end += delta; in http_manage_client_side_cookies()
3498 hdr_end += delta; in http_manage_client_side_cookies()
3518 if (hdr_beg != hdr_end) in http_manage_client_side_cookies()
3538 char *hdr_beg, *hdr_end; in http_manage_server_side_cookies() local
3623 while (equal < hdr_end) { in http_manage_server_side_cookies()
3655 if (next < hdr_end) { in http_manage_server_side_cookies()
3664 next = hdr_end; in http_manage_server_side_cookies()
3757 hdr_end += delta; in http_manage_server_side_cookies()
[all …]
/dports/net/haproxy/haproxy-2.4.10/src/
H A Dhttp.c748 char *http_extract_cookie_value(char *hdr, const char *hdr_end, in http_extract_cookie_value() argument
759 for (att_beg = hdr; att_beg + cookie_name_l + 1 < hdr_end; att_beg = next + 1) { in http_extract_cookie_value()
762 while (att_beg < hdr_end && HTTP_IS_SPHT(*att_beg)) in http_extract_cookie_value()
770 while (equal < hdr_end) { in http_extract_cookie_value()
783 if (equal < hdr_end && *equal == '=') { in http_extract_cookie_value()
786 while (val_beg < hdr_end && HTTP_IS_SPHT(*val_beg)) in http_extract_cookie_value()
790 next = http_find_cookie_value_end(val_beg, hdr_end); in http_extract_cookie_value()
H A Dhttp_ana.c3105 while (equal < hdr_end) { in http_manage_client_side_cookies()
3153 hdr_end += delta; in http_manage_client_side_cookies()
3363 hdr_end += delta; in http_manage_client_side_cookies()
3388 hdr_end += delta; in http_manage_client_side_cookies()
3408 if (hdr_beg != hdr_end) in http_manage_client_side_cookies()
3428 char *hdr_beg, *hdr_end; in http_manage_server_side_cookies() local
3513 while (equal < hdr_end) { in http_manage_server_side_cookies()
3545 if (next < hdr_end) { in http_manage_server_side_cookies()
3554 next = hdr_end; in http_manage_server_side_cookies()
3647 hdr_end += delta; in http_manage_server_side_cookies()
[all …]
/dports/net/haproxy21/haproxy-2.1.12/contrib/mod_defender/
H A Ddefender.c469 char *hdr_ptr, *hdr_end; in defender_process_request() local
546 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
551 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
557 if (hdr_ptr > hdr_end) in defender_process_request()
560 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
566 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/haproxy19/haproxy-1.9.16/contrib/mod_defender/
H A Ddefender.c469 char *hdr_ptr, *hdr_end; in defender_process_request() local
546 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
551 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
557 if (hdr_ptr > hdr_end) in defender_process_request()
560 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
566 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/haproxy22/haproxy-2.2.19/contrib/mod_defender/
H A Ddefender.c467 char *hdr_ptr, *hdr_end; in defender_process_request() local
544 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
549 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
555 if (hdr_ptr > hdr_end) in defender_process_request()
558 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
564 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/haproxy18/haproxy-1.8.30/contrib/mod_defender/
H A Ddefender.c468 char *hdr_ptr, *hdr_end; in defender_process_request() local
545 hdr_end = hdr_ptr + request->headers.data.u.str.len; in defender_process_request()
550 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
556 if (hdr_ptr > hdr_end) in defender_process_request()
559 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
565 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/haproxy20/haproxy-2.0.26/contrib/mod_defender/
H A Ddefender.c469 char *hdr_ptr, *hdr_end; in defender_process_request() local
546 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
551 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
557 if (hdr_ptr > hdr_end) in defender_process_request()
560 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
566 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/haproxy23/haproxy-2.3.16/contrib/mod_defender/
H A Ddefender.c467 char *hdr_ptr, *hdr_end; in defender_process_request() local
544 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
549 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
555 if (hdr_ptr > hdr_end) in defender_process_request()
558 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
564 if (hdr_ptr > hdr_end) in defender_process_request()
/dports/net/nuster/nuster-5.0.4.21/contrib/mod_defender/
H A Ddefender.c469 char *hdr_ptr, *hdr_end; in defender_process_request() local
546 hdr_end = hdr_ptr + request->headers.data.u.str.data; in defender_process_request()
551 if (decode_varint(&hdr_ptr, hdr_end, &hdr.name.len) == -1) in defender_process_request()
557 if (hdr_ptr > hdr_end) in defender_process_request()
560 if (decode_varint(&hdr_ptr, hdr_end, &hdr.value.len) == -1) in defender_process_request()
566 if (hdr_ptr > hdr_end) in defender_process_request()

1234567