Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Namespace PoC.net.ipv6

The namespace PoC.net.ipv6 offers an "Internet Protocol - Version 6" (IPv6) implementation.

Entities

Internet Protocol - Version 6

The following ASCII art shows the basic structure of an IPv6 paket:

Endianess: big-endian
Alignment: 8 byte

							Byte 0													Byte 1														Byte 2													Byte 3
+----------------+---------------+----------------+---------------+--------------------------------+--------------------------------+
| IPVers. (0x06) | TrafficClass 							 		| FlowLabel																																				|
+----------------+---------------+----------------+---------------+--------------------------------+--------------------------------+
| PayloadLength																										| NextHeader										 | HopLimit												|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| SourceAddress																																																											|
+                                +                                +                                +                                +
|																																																																		|
+                                +                                +                                +                                +
|																																																																		|
+                                +                                +                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| DestinationAddress																																																								|
+                                +                                +                                +                                +
|																																																																		|
+                                +                                +                                +                                +
|																																																																		|
+                                +                                +                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| ExtensionHeader(s)																																																								|
~                                ~                                ~                                ~                                ~
|																																																																		|
~                                ~                                ~                                ~                                ~
|																																																																		|
~                                ~                                ~                                ~                                ~
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| Payload																																																														|
~                                ~                                ~                                ~                                ~
|																																																																		|
~                                ~                                ~                                ~                                ~
|																																																																		|
~                                ~                                ~                                ~                                ~
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+