Parser.cc File Reference
#include "squid.h"
#include "parser/BinaryTokenizer.h"
#include "parser/Tokenizer.h"
#include "proxyp/Elements.h"
#include "proxyp/Header.h"
#include "proxyp/Parser.h"
#include "sbuf/Stream.h"
#include <algorithm>
#include <limits>
Include dependency graph for Parser.cc:
![](proxyp_2Parser_8cc__incl.png)
Go to the source code of this file.
Namespaces | |
ProxyProtocol | |
ProxyProtocol::One | |
ProxyProtocol::Two | |
Functions | |
static const auto & | ProxyProtocol::One::Magic () |
magic octet prefix for PROXY protocol version 1 More... | |
static Parsed | ProxyProtocol::One::Parse (const SBuf &buf) |
extracts PROXY protocol v1 header from the given buffer More... | |
static void | ProxyProtocol::One::ExtractIp (Parser::Tokenizer &tok, Ip::Address &addr) |
static void | ProxyProtocol::One::ExtractPort (Parser::Tokenizer &tok, Ip::Address &addr, const bool trailingSpace) |
static void | ProxyProtocol::One::ParseAddresses (Parser::Tokenizer &tok, Header::Pointer &header) |
static const auto & | ProxyProtocol::Two::Magic () |
magic octet prefix for PROXY protocol version 2 More... | |
static Parsed | ProxyProtocol::Two::Parse (const SBuf &buf) |
extracts PROXY protocol v2 header from the given buffer More... | |
static void | ProxyProtocol::Two::ParseAddresses (const uint8_t family, Parser::BinaryTokenizer &tok, Header::Pointer &header) |
static void | ProxyProtocol::Two::ParseTLVs (Parser::BinaryTokenizer &tok, Header::Pointer &header) |
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products