Logo Search packages:      
Sourcecode: paris-traceroute version File versions  Download package

IP4Header::IP4Header (  ) 

Create a new IPv4 header.

All fields are initialized to zero.

Todo:
Handle IPv4 options
Create a new IPv4 header.

All fields are initialized to zero.

Todo:
Handle IPv4 options

Definition at line 19 of file IP4Header.cc.

                      {
  header = new uint8[20];
  header_len = 20;
  memset(header, 0, 20);
  header[0] = 0x45;
}


Generated by  Doxygen 1.6.0   Back to index