IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


tIPSEC_POLICY_CONTENT Struct Reference
[IPsec types]

IPsec Policy Content. More...


Detailed Description

This data structure is used to specify the content of an IP Security policy.

typedef struct sIPSEC_POLICY_CONTENT
{
    unsigned short          RuleFlags ;
    unsigned char           AuthAlg ;
    unsigned char           EncryptAlg ;
    unsigned long           LifeSeconds ;
    unsigned long           LifeKbytes ;
    struct sIPSEC_TUNNEL    Tunnel ;
    unsigned short          _spare_ ;
}  tIPSEC_POLICY_CONTENT ;

Each instance of this structure may specify either AH or ESP, but not both. More than one structure is required when both protocols are desired.

When tunnel mode is specified by the RuleFlags, the Tunnel member must provide the end points of this tunnel.

Since:
SC2x3 V1.00 - CLIB V1.00
See also:
IPsec_Add_Policy()

Data Fields

unsigned short RuleFlags
unsigned char AuthAlg
unsigned char EncryptAlg
unsigned long LifeSeconds
unsigned long LifeKbytes
struct sIPSEC_TUNNEL Tunnel
unsigned short _spare_





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:40 2017 by Doxygen 1.6.1