embedded IPsec source code documentation


phy_2002_esp_3des.h File Reference


Detailed Description

Test configuration: ESP 3DES connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4).

Definition in file phy_2002_esp_3des.h.

Go to the source code of this file.

Variables

sad_entry inbound_sad_config [IPSEC_MAX_SAD_ENTRIES]
spd_entry inbound_spd_config [IPSEC_MAX_SAD_ENTRIES]
sad_entry outbound_sad_config [IPSEC_MAX_SAD_ENTRIES]
spd_entry outbound_spd_config [IPSEC_MAX_SPD_ENTRIES]


Variable Documentation

sad_entry inbound_sad_config[IPSEC_MAX_SAD_ENTRIES]
 

Initial value:

 {
        SAD_ENTRY(      192,168,1,4, 255,255,255,255, 
                                0x2002, 
                                IPSEC_PROTO_ESP, IPSEC_TUNNEL, 
                                IPSEC_3DES, 
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67,
                                0,  
                                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
                          ),
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY

}
inbound SAD configuration data

Definition at line 10 of file phy_2002_esp_3des.h.

spd_entry inbound_spd_config[IPSEC_MAX_SAD_ENTRIES]
 

Initial value:

 {

        SPD_ENTRY(  192,168,1,5,     255,255,255,255, 192,168,1,4,     255,255,255,255, 0,                              0,     0,     POLICY_APPLY,   &inbound_sad_config[0]),
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY
}
inbound SPD configuration data

Definition at line 27 of file phy_2002_esp_3des.h.

sad_entry outbound_sad_config[IPSEC_MAX_SAD_ENTRIES]
 

Initial value:

 {
        SAD_ENTRY(      192,168,1,5, 255,255,255,255, 
                                0x2002, 
                                IPSEC_PROTO_ESP, IPSEC_TUNNEL, 
                                IPSEC_3DES, 
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67,
                                0,  
                                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
                  ),
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY,                          
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY
}
outbound SAD configuration data

Definition at line 43 of file phy_2002_esp_3des.h.

spd_entry outbound_spd_config[IPSEC_MAX_SPD_ENTRIES]
 

Initial value:

 {

        SPD_ENTRY(  192,168,1,4,     255,255,255,255, 192,168,1,5,     255,255,255,255, 0,                              0,     0,     POLICY_APPLY,   &outbound_sad_config[0]),
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY,
        EMPTY_SPD_ENTRY
}
outbound SPD configuration data

Definition at line 59 of file phy_2002_esp_3des.h.


Copyright 2003 by Christian Scheurer and Niklaus Schild