summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
1fecb05)
convert xml data to per for e2_setup response and e2 setup failure
Change-Id: I8079d6156954e644c18fc519026657c272fd43ac
Signed-off-by: aa7133@att.com <aa7133@att.com>
if (rval.code != RC_OK) {
mdclog_write(MDCLOG_ERR, "Error %d Decoding (unpack) E2AP PDU from RAN : %s", rval.code,
message.peerInfo->enodbName);
if (rval.code != RC_OK) {
mdclog_write(MDCLOG_ERR, "Error %d Decoding (unpack) E2AP PDU from RAN : %s", rval.code,
message.peerInfo->enodbName);
+ //todo may need reset to pdu
//TODO need to test ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu); to get better performance
ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu);
//ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
//TODO need to test ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu); to get better performance
ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu);
//ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
}
//clock_gettime(CLOCK_MONOTONIC, &start);
}
// in case of break to avoid memory leak
}
//clock_gettime(CLOCK_MONOTONIC, &start);
}
// in case of break to avoid memory leak
- if (pdu != nullptr) {
- //ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
- ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu);
- pdu = nullptr;
- }
+// if (pdu != nullptr) {
+// //ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
+// ASN_STRUCT_RESET(asn_DEF_E2AP_PDU, pdu);
+// //pdu = nullptr;
+// }
if (done) {
if (loglevel >= MDCLOG_INFO) {
if (done) {
if (loglevel >= MDCLOG_INFO) {