tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

http_parser Struct Reference

#include <http_parser.h>

Public Attributes

unsigned int type: 2
 
unsigned int flags: 8
 
unsigned int state: 7
 
unsigned int header_state: 7
 
unsigned int index: 7
 
unsigned int lenient_http_headers: 1
 
uint32_t nread
 
uint64_t content_length
 
unsigned short http_major
 
unsigned short http_minor
 
unsigned int status_code: 16
 
unsigned int method: 8
 
unsigned int http_errno: 7
 
unsigned int upgrade: 1
 
void * data
 

Detailed Description

Definition at line 288 of file http_parser.h.

Member Data Documentation

◆ content_length

uint64_t http_parser::content_length

Definition at line 298 of file http_parser.h.

Referenced by http_message_needs_eof().

◆ data

void* http_parser::data

PUBLIC

Definition at line 315 of file http_parser.h.

Referenced by http_parser_init(), and scan_http().

◆ flags

unsigned int http_parser::flags

Definition at line 291 of file http_parser.h.

Referenced by http_message_needs_eof(), and http_should_keep_alive().

◆ header_state

unsigned int http_parser::header_state

Definition at line 293 of file http_parser.h.

◆ http_errno

unsigned int http_parser::http_errno

Definition at line 305 of file http_parser.h.

Referenced by http_parser_init().

◆ http_major

unsigned short http_parser::http_major

READ-ONLY

Definition at line 301 of file http_parser.h.

Referenced by http_should_keep_alive().

◆ http_minor

unsigned short http_parser::http_minor

Definition at line 302 of file http_parser.h.

Referenced by http_should_keep_alive().

◆ index

unsigned int http_parser::index

Definition at line 294 of file http_parser.h.

◆ lenient_http_headers

unsigned int http_parser::lenient_http_headers

Definition at line 295 of file http_parser.h.

◆ method

unsigned int http_parser::method

Definition at line 304 of file http_parser.h.

◆ nread

uint32_t http_parser::nread

Definition at line 297 of file http_parser.h.

◆ state

unsigned int http_parser::state

Definition at line 292 of file http_parser.h.

Referenced by http_body_is_final(), and http_parser_init().

◆ status_code

unsigned int http_parser::status_code

Definition at line 303 of file http_parser.h.

Referenced by http_message_needs_eof().

◆ type

unsigned int http_parser::type

PRIVATE

Definition at line 290 of file http_parser.h.

Referenced by http_message_needs_eof(), and http_parser_init().

◆ upgrade

unsigned int http_parser::upgrade

Definition at line 312 of file http_parser.h.

Referenced by scan_http().


The documentation for this struct was generated from the following file: