IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


tIPSEC_ADDR Struct Reference
[IPsec types]

IPsec Selector Address Specifier. More...


Detailed Description

This data structure is used to specify the IP address information used by the IP Security Policy selectors.

typedef struct sIPSEC_ADDR
{
    unsigned char Usage ;
    unsigned char Family ;
    unsigned char IpAddr1[16] ;
    unsigned char IpAddr2[16] ;
    unsigned short  Port ;
} tIPSEC_ADDR ;

Depending on the setting of Usage none (IPSEC_WILD_ADDR), one (IPSEC_SINGLE_ADDR), or two (for IPSEC_RANGE_ADDR or IPSEC_NETMASK_ADDR settings) of the IP address values must be specified.

The IP addresses are binary values in network byte order. Domain names are not accepted here. A specific port may be specified for protocols where this could be applied.

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

Data Fields

unsigned char Usage
unsigned char Family
unsigned char IpAddr1 [16]
unsigned char IpAddr2 [16]
unsigned short Port





Top of page | Main page

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