Files
m241Neelima/components/ip_net2-6.9/iprohc/config/iprohc_config.h
T
2026-07-30 11:19:44 +05:30

96 lines
2.2 KiB
C

/*
* Copyright 2008 Wind River Systems, Inc.
*
* The right to copy, distribute, modify or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
/*
modification history
--------------------
01c,11aug08,tlu Add ROHC address type definition
01b,26may08,tlu Add compile flag for WLSB/LSB encoding/decoding
01a,20feb08,tlu Initial creation
*/
#ifndef IPROHC_CONFIG_H
#define IPROHC_CONFIG_H
/*
****************************************************************************
* 1 DESCRIPTION
****************************************************************************
*/
/*
****************************************************************************
* 2 INCLUDE FILES
****************************************************************************
*/
#define IPCOM_USE_CLIB_PROTO
#include <ipcom_type.h>
#include <ipcom_cstyle.h>
#include <ipcom_inet.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
****************************************************************************
* 3 DEFINES
****************************************************************************
*/
/* Syslog priority */
#ifdef IP_DEBUG
#define IPROHC_SYSTEM_PRIORITY IPCOM_LOG_DEBUG
#else
#define IPROHC_SYSTEM_PRIORITY IPCOM_LOG_WARNING
#endif
/* compile flag for WLSB/LSB encoding/decoding */
#undef IPROHC_WLSB_LSB
/*
****************************************************************************
* 4 TYPES
****************************************************************************
*/
typedef union Iprohc_addr_union
{
#ifdef IPCOM_USE_INET
Ipa_union addr4;
#endif
#ifdef IPCOM_USE_INET6
struct Ip_in6_addr addr6;
#endif
}
Iprohc_addr;
/*
****************************************************************************
* 5 PROTOTYPES
****************************************************************************
*/
#ifdef __cplusplus
}
#endif
#endif
/*
****************************************************************************
* END OF FILE
****************************************************************************
*/