Buffer *mBuf; /* message buffer */
#endif
{
- U8 num;
- U8 *ptr = (U8*)pkParam;
+ uint8_t num;
+ uint8_t *ptr = (uint8_t*)pkParam;
for(num = 0; num < CM_IPV6ADDR_SIZE; num++)
Buffer *mBuf; /* message buffer */
#endif
{
- U16 idx; /* Loop Index */
+ uint16_t idx; /* Loop Index */
CmNetAddr *netAddr; /* Network Address */
Buffer *mBuf; /* message buffer */
#endif
{
- U32 num;
+ uint32_t num;
if( pkParam->numOpts > CM_MAX_SOCK_OPTS)
Buffer *mBuf; /* message buffer */
#endif
{
- U32 num;
+ uint32_t num;
if( pkParam->numOpts > CM_MAX_SOCK_OPTS)
Buffer *mBuf; /* message buffer */
#endif
{
- U32 num;
- U8 *ptr = (U8*)unpkParam;
+ uint32_t num;
+ uint8_t *ptr = (uint8_t*)unpkParam;
ptr += (CM_INET_IPV6ADDR_SIZE - 1);
Buffer *mBuf; /* message buffer */
#endif
{
- U16 idx; /* Loop Index */
+ uint16_t idx; /* Loop Index */
CmNetAddr *netAddr; /* Network Address */
Buffer *mBuf; /* message buffer */
#endif
{
- U32 num;
+ uint32_t num;
CMCHKUNPK(oduPackUInt8, &unpkParam->listenQSize, mBuf);
Buffer *mBuf; /* message buffer */
#endif
{
- U32 num;
+ uint32_t num;
CMCHKUNPK(SUnpkS16, &unpkParam->ctxId, mBuf);
CMCHKPK(cmPkTknStr64, &pkParam->u.hdrParmIpv4.ipv4HdrOpt, mBuf);
#endif /* IPV4_OPTS_SUPPORTED */
- CMCHKPK(cmPkTknU8, &pkParam->u.hdrParmIpv4.ttl, mBuf);
- CMCHKPK(cmPkTknU8, &pkParam->u.hdrParmIpv4.tos, mBuf);
- CMCHKPK(cmPkTknU8, &pkParam->u.hdrParmIpv4.dfBit, mBuf);
- CMCHKPK(cmPkTknU8, &pkParam->u.hdrParmIpv4.proto, mBuf);
+ CMCHKPK(cmPkTknUInt8, &pkParam->u.hdrParmIpv4.ttl, mBuf);
+ CMCHKPK(cmPkTknUInt8, &pkParam->u.hdrParmIpv4.tos, mBuf);
+ CMCHKPK(cmPkTknUInt8, &pkParam->u.hdrParmIpv4.dfBit, mBuf);
+ CMCHKPK(cmPkTknUInt8, &pkParam->u.hdrParmIpv4.proto, mBuf);
break;
case CM_HDRPARM_IPV6:
CMCHKPK(cmPkCmIpv6ExtHdr, &pkParam->u.hdrParmIpv6.ipv6ExtHdr, mBuf);
#endif /* IPV6_OPTS_SUPPORTED */
CMCHKPK(cmPkCmNetAddr, &pkParam->u.hdrParmIpv6.srcAddr6, mBuf);
- CMCHKPK(cmPkTknU8, &pkParam->u.hdrParmIpv6.ttl, mBuf);
+ CMCHKPK(cmPkTknUInt8, &pkParam->u.hdrParmIpv6.ttl, mBuf);
#endif /* IPV6_SUPPORTED */
break;
Buffer *mBuf; /* message buffer */
#endif
{
- U8 idx;
+ uint8_t idx;
/* pack all IPV6 addrs in the route hdr */
Mem *memInfo; /* meminfo to allocate for Route hdr */
#endif
{
- U8 idx; /* array index */
+ uint8_t idx; /* array index */
S32 retVal; /* temporary return value */
#endif
{
- U8 numOptions;
+ uint8_t numOptions;
/* pack all HBH options */
Buffer *mBuf; /* message buffer */
#endif
{
- U8 optLen;
+ uint8_t optLen;
for(optLen = 0; optLen < pkParam->length; optLen++)
#endif
{
S32 retVal; /* temporary return value */
- U8 optLen; /* length of value field */
+ uint8_t optLen; /* length of value field */
/* unpack type, length */
Mem *memInfo; /* meminfo to allocate mem for dest opts */
#endif
{
- U8 numOptions;
+ uint8_t numOptions;
S16 retVal;
Buffer *mBuf; /* message buffer */
#endif
{
- U8 numOptions;
+ uint8_t numOptions;
for(numOptions = 0; numOptions<pkParam->numHBHOpts; numOptions++)
Buffer *mBuf; /* message buffer */
#endif
{
- U8 optLen;
+ uint8_t optLen;
/* pack value field */
#endif
{
S32 retVal; /* temporary return value */
- U8 optLen; /* length of value field */
+ uint8_t optLen; /* length of value field */
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
Mem *memInfo; /* meminfo to allocate space for HBH opt */
#endif
{
- U8 numOptions;
+ uint8_t numOptions;
S16 retVal;
break;
case CM_HDRPARM_IPV4:
- CMCHKUNPK(cmUnpkTknU8, &unpkParam->u.hdrParmIpv4.proto, mBuf);
- CMCHKUNPK(cmUnpkTknU8, &unpkParam->u.hdrParmIpv4.dfBit, mBuf);
- CMCHKUNPK(cmUnpkTknU8, &unpkParam->u.hdrParmIpv4.tos, mBuf);
- CMCHKUNPK(cmUnpkTknU8, &unpkParam->u.hdrParmIpv4.ttl, mBuf);
+ CMCHKUNPK(cmUnpkTknUInt8, &unpkParam->u.hdrParmIpv4.proto, mBuf);
+ CMCHKUNPK(cmUnpkTknUInt8, &unpkParam->u.hdrParmIpv4.dfBit, mBuf);
+ CMCHKUNPK(cmUnpkTknUInt8, &unpkParam->u.hdrParmIpv4.tos, mBuf);
+ CMCHKUNPK(cmUnpkTknUInt8, &unpkParam->u.hdrParmIpv4.ttl, mBuf);
#ifdef IPV4_OPTS_SUPPORTED
CMCHKUNPK(cmUnpkTknStr64, &unpkParam->u.hdrParmIpv4.ipv4HdrOpt, mBuf);
#endif /* IPV4_OPTS_SUPPORTED */
case CM_HDRPARM_IPV6:
#ifdef IPV6_SUPPORTED
- CMCHKUNPK(cmUnpkTknU8, &unpkParam->u.hdrParmIpv6.ttl, mBuf);
+ CMCHKUNPK(cmUnpkTknUInt8, &unpkParam->u.hdrParmIpv6.ttl, mBuf);
CMCHKUNPK(cmUnpkCmNetAddr,
&unpkParam->u.hdrParmIpv6.srcAddr6, mBuf);