Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

IKEv2Header Struct Reference

Structure which represent IKEv2 header. The format of the IKE header (see IKEv2 Protocol):. More...

#include <message.h>


Data Fields

uint64_t InitiatorSPI
uint64_t ResponderSPI
uint8_t NextPayload
union {
   struct {
      uint8_t   MjVersion:4
      uint8_t   MnVersion:4
   }   packed
   uint8_t   Version
packed
uint8_t ExchangeType
uint8_t Flags
uint32_t MessageID
uint32_t Length


Detailed Description

Structure which represent IKEv2 header. The format of the IKE header (see IKEv2 Protocol):.

  0                   1                   2                   3
  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                       InitiatorSPI                            |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                       ResponderSPI                            |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  NextPayload  | MjVer | MnVer |  ExchangeType |    Flags      |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                         MessageID                             |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                          Length                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 


Field Documentation

uint8_t IKEv2Header::ExchangeType
 

uint8_t IKEv2Header::Flags
 

uint64_t IKEv2Header::InitiatorSPI
 

uint32_t IKEv2Header::Length
 

uint32_t IKEv2Header::MessageID
 

uint8_t IKEv2Header::MjVersion
 

uint8_t IKEv2Header::MnVersion
 

uint8_t IKEv2Header::NextPayload
 

union { ... } IKEv2Header::packed
 

struct { ... } IKEv2Header::packed
 

uint64_t IKEv2Header::ResponderSPI
 

uint8_t IKEv2Header::Version
 


The documentation for this struct was generated from the following file:
Project hosted by: SourceForge.net Logo