X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_inet.h;h=8fefe778d4fbaf59c7edaeed93ba4b216b0a7f53;hb=5d74fef7c9fe6b65a965ceac6bfe812872dab323;hp=babd7a9ceb96d24f5c74fa0d32532fe9413b40cb;hpb=829bbd114f1c3dc00c1da47bca0a8207c049df3f;p=o-du%2Fl2.git diff --git a/src/cm/cm_inet.h b/src/cm/cm_inet.h index babd7a9ce..8fefe778d 100644 --- a/src/cm/cm_inet.h +++ b/src/cm/cm_inet.h @@ -448,7 +448,7 @@ #ifdef IPV6_SUPPORTED #define CM_INET_COPY_IPV6ADDR(_addrToFill, _fromAddr) \ { \ - (Void)cmMemcpy((U8 *)_addrToFill, (U8 *)_fromAddr, sizeof(CmInetIpAddr6)); \ + memcpy(_addrToFill, _fromAddr, sizeof(CmInetIpAddr6)); \ } #if (defined(SUNOS) || defined(HPOS) || defined(SS_VW)) @@ -485,13 +485,13 @@ #endif /* SUNOS || HPOS */ #endif /* IPV6_SUPPORTED */ -#define cmPkCmInetIpAddr(x, mBuf) SPkU32(x, mBuf) /* pack IP Address */ -#define cmUnpkCmInetIpAddr(x, mBuf) SUnpkU32(x, mBuf) /* unpacks IP Address */ +#define cmPkCmInetIpAddr(x, mBuf) oduUnpackUInt32(x, mBuf) /* pack IP Address */ +#define cmUnpkCmInetIpAddr(x, mBuf) oduPackUInt32(x, mBuf) /* unpacks IP Address */ #ifdef SS_VW #define CM_COPY_VWIPADDR(vwIpAddr, addr) \ { \ - (Void)cmMemcpy((U8 *)addr, (U8 *)&vwIpAddr, sizeof(S32)); \ + memcpy(addr, &vwIpAddr, sizeof(S32)); \ } #endif