Realistic 3D camera system
3D camera system components
Public Member Functions | Friends | List of all members
ipv4_header Class Reference

#include <ipv4_header.hpp>

Public Member Functions

 ipv4_header ()
 
unsigned char version () const
 
unsigned short header_length () const
 
unsigned char type_of_service () const
 
unsigned short total_length () const
 
unsigned short identification () const
 
bool dont_fragment () const
 
bool more_fragments () const
 
unsigned short fragment_offset () const
 
unsigned int time_to_live () const
 
unsigned char protocol () const
 
unsigned short header_checksum () const
 
asio::ip::address_v4 source_address () const
 
asio::ip::address_v4 destination_address () const
 

Friends

std::istream & operator>> (std::istream &is, ipv4_header &header)
 

Detailed Description

Definition at line 51 of file ipv4_header.hpp.

Constructor & Destructor Documentation

ipv4_header::ipv4_header ( )
inline

Definition at line 54 of file ipv4_header.hpp.

Member Function Documentation

asio::ip::address_v4 ipv4_header::destination_address ( ) const
inline

Definition at line 75 of file ipv4_header.hpp.

bool ipv4_header::dont_fragment ( ) const
inline

Definition at line 61 of file ipv4_header.hpp.

unsigned short ipv4_header::fragment_offset ( ) const
inline

Definition at line 63 of file ipv4_header.hpp.

unsigned short ipv4_header::header_checksum ( ) const
inline

Definition at line 66 of file ipv4_header.hpp.

unsigned short ipv4_header::header_length ( ) const
inline

Definition at line 57 of file ipv4_header.hpp.

unsigned short ipv4_header::identification ( ) const
inline

Definition at line 60 of file ipv4_header.hpp.

bool ipv4_header::more_fragments ( ) const
inline

Definition at line 62 of file ipv4_header.hpp.

unsigned char ipv4_header::protocol ( ) const
inline

Definition at line 65 of file ipv4_header.hpp.

asio::ip::address_v4 ipv4_header::source_address ( ) const
inline

Definition at line 68 of file ipv4_header.hpp.

unsigned int ipv4_header::time_to_live ( ) const
inline

Definition at line 64 of file ipv4_header.hpp.

unsigned short ipv4_header::total_length ( ) const
inline

Definition at line 59 of file ipv4_header.hpp.

unsigned char ipv4_header::type_of_service ( ) const
inline

Definition at line 58 of file ipv4_header.hpp.

unsigned char ipv4_header::version ( ) const
inline

Definition at line 56 of file ipv4_header.hpp.

Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  is,
ipv4_header header 
)
friend

Definition at line 82 of file ipv4_header.hpp.


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