Files
m241Neelima/components/ip_net2-6.9/ipike/src/ipike_ipc.h
T
2026-07-30 11:19:44 +05:30

100 lines
3.0 KiB
C

/*
******************************************************************************
* HEADER FILE
*
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipike_ipc.h,v $ $Revision: 1.9.16.1 $
* $Source: /home/interpeak/CVSRoot/ipike/src/ipike_ipc.h,v $
* $Author: edahlber $ $Date: 2012-03-13 12:45:53 $
* $State: Exp $ $Locker: $
*
* INTERPEAK_COPYRIGHT_STRING
* Design and implementation by Kenneth Jonsson <kenneth@interpeak.se>
******************************************************************************
*/
#ifndef IPIKE_IPC_H
#define IPIKE_IPC_H
/*
****************************************************************************
* 1 DESCRIPTION
****************************************************************************
*/
/* Structures used by ipcom_call IPC mechanism */
/*
****************************************************************************
* 2 CONFIGURATION
****************************************************************************
*/
/*
****************************************************************************
* 3 INCLUDE FILES
****************************************************************************
*/
#include "ipike_config.h"
#include <ipcom.h>
#include "ipike_sadb.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
****************************************************************************
* 4 DEFINES
****************************************************************************
*/
/*
****************************************************************************
* 5 TYPES
****************************************************************************
*/
/* IPD info structure about one IKE SA */
struct Ipike_ipd_sa_info
{
int seq;
Ip_u8 initiator_cookie[IPIKE_ISAKMP_COOKIE_SIZE];
Ip_u8 responder_cookie[IPIKE_ISAKMP_COOKIE_SIZE];
Ip_time_t created;
Ipike_sadb_state state;
int ref_count;
union Ip_sockaddr_union peer_addr;
union Ip_sockaddr_union local_addr;
Ip_bool is_initiator;
Ip_u32 bytes_received;
Ip_u32 bytes_sent;
Ip_u16 encryption_algorithm;
Ip_u16 hash_algorithm;
Ip_u16 authentication_method;
Ip_u16 life_type;
Ip_u64 life_duration;
Ip_u16 dh_group;
Ip_u32 dh_generator;
Ip_u16 key_length;
Ip_u8 version;
};
/*
****************************************************************************
* 6 FUNCTIONS
****************************************************************************
*/
#ifdef __cplusplus
}
#endif
#endif
/*
****************************************************************************
* END OF FILE
****************************************************************************
*/