embedded IPsec source code documentation


keil_1001_ah_sha1.h File Reference


Detailed Description

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

Definition in file keil_1001_ah_sha1.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, 
                                0x1001, 
                                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_SHA1, 
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67
                          ),
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY,
          EMPTY_SAD_ENTRY
}
inbound SAD configuration data

Definition at line 10 of file keil_1001_ah_sha1.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 26 of file keil_1001_ah_sha1.h.

sad_entry outbound_sad_config[IPSEC_MAX_SAD_ENTRIES]
 

Initial value:

 {
        SAD_ENTRY(      192,168,1,5, 255,255,255,255, 
                                0x1001, 
                                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_SHA1, 
                                0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67, 0x01, 0x23, 0x45, 0x67
                  ),
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY,                          
        EMPTY_SAD_ENTRY,
        EMPTY_SAD_ENTRY
}
outbound SAD configuration data

Definition at line 42 of file keil_1001_ah_sha1.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 58 of file keil_1001_ah_sha1.h.


Copyright 2003 by Christian Scheurer and Niklaus Schild