ProxyProtocol::One Namespace Reference

Functions

static Parsed Parse (const SBuf &buf)
 extracts PROXY protocol v1 header from the given buffer More...
 
static void ExtractIp (Parser::Tokenizer &tok, Ip::Address &addr)
 
static void ExtractPort (Parser::Tokenizer &tok, Ip::Address &addr, const bool trailingSpace)
 
static void ParseAddresses (Parser::Tokenizer &tok, Header::Pointer &header)
 

Variables

static const SBuf Magic ("PROXY", 5)
 magic octet prefix for PROXY protocol version 1 More...
 

Function Documentation

◆ ExtractIp()

void ProxyProtocol::One::ExtractIp ( Parser::Tokenizer tok,
Ip::Address addr 
)
static

◆ ExtractPort()

void ProxyProtocol::One::ExtractPort ( Parser::Tokenizer tok,
Ip::Address addr,
const bool  trailingSpace 
)
static

◆ Parse()

◆ ParseAddresses()

void ProxyProtocol::One::ParseAddresses ( Parser::Tokenizer tok,
Header::Pointer header 
)
static

Variable Documentation

◆ Magic

const SBuf ProxyProtocol::One::Magic("PROXY", 5)
static

Referenced by ProxyProtocol::Parse(), and Parse().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors