Handle the f1 setup request and send back f1 response with value from conf

This commit is contained in:
Bing-Kai Hong
2018-09-12 19:51:03 +02:00
parent 44d0fa64e0
commit 37b9e7b512
11 changed files with 319 additions and 121 deletions
+14 -1
View File
@@ -390,7 +390,20 @@ inline void ASN_DEBUG(const char *fmt, ...);
#endif
//Forward declaration
//struct f1ap_message_s;
#define F1AP_FIND_PROTOCOLIE_BY_ID(IE_TYPE, ie, container, IE_ID, mandatory) \
do {\
IE_TYPE **ptr; \
ie = NULL; \
for (ptr = container->protocolIEs.list.array; \
ptr < &container->protocolIEs.list.array[container->protocolIEs.list.count]; \
ptr++) { \
if((*ptr)->id == IE_ID) { \
ie = *ptr; \
break; \
} \
} \
if (mandatory) DevAssert(ie != NULL); \
} while(0)
/** \brief Function callback prototype.
**/