embedded IPsec source code documentation


keil_1000_ah_md5.h File Reference


Detailed Description

Test configuration: AH MD5 connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3).

Definition in file keil_1000_ah_md5.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,3, 255,255,255,255, 
                                0x1000, 
                                IPSEC_PROTO_AH, IPSEC_TUNNEL, 
                                0, 
                                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                                IPSEC_HMAC_MD5,  
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0, 0, 0, 0
                          ),
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY

}
inbound SAD configuration data

Definition at line 11 of file keil_1000_ah_md5.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,3,     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 28 of file keil_1000_ah_md5.h.

sad_entry outbound_sad_config[IPSEC_MAX_SAD_ENTRIES]
 

Initial value:

 {
        SAD_ENTRY(      192,168,1,5, 255,255,255,255, 
                                0x1000, 
                                IPSEC_PROTO_AH, IPSEC_TUNNEL, 
                                0, 
                                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                                IPSEC_HMAC_MD5,  
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0, 0, 0, 0
                  ),
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY,                          
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY
}
outbound SAD configuration data

Definition at line 44 of file keil_1000_ah_md5.h.

spd_entry outbound_spd_config[IPSEC_MAX_SPD_ENTRIES]
 

Initial value:

 {

        SPD_ENTRY(  192,168,1,3,     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 60 of file keil_1000_ah_md5.h.


Copyright 2003 by Christian Scheurer and Niklaus Schild