Searched refs:PPv2_CONNECTION_HEADER_LEN (Results 1 – 2 of 2) sorted by relevance
225 ink_release_assert(msg.size() >= PPv2_CONNECTION_HEADER_LEN); in proxy_protocol_v2_parse()233 const size_t total_len = PPv2_CONNECTION_HEADER_LEN + len; in proxy_protocol_v2_parse()372 if (max_buf_len < PPv2_CONNECTION_HEADER_LEN) { in proxy_protocol_v2_build()407 ink_release_assert(bw.size() == PPv2_CONNECTION_HEADER_LEN); in proxy_protocol_v2_build()442 uint16_t len = htons(bw.size() - PPv2_CONNECTION_HEADER_LEN); in proxy_protocol_v2_build()461 } else if (tv.size() >= PPv2_CONNECTION_HEADER_LEN && PPv2_CONNECTION_PREFACE.isPrefixOf(tv)) { in proxy_protocol_parse()
51 const size_t PPv2_CONNECTION_HEADER_LEN = 16; variable