Commit a68829c7 authored by liuyu's avatar liuyu

con

parent 1d49db40
...@@ -329,7 +329,7 @@ namespace ngap { ...@@ -329,7 +329,7 @@ namespace ngap {
} }
} break; } break;
case Ngap_ProtocolIE_ID_id_UserLocationInformation: { case Ngap_ProtocolIE_ID_id_UserLocationInformation: {
cout << "Decode NGAP UserLocationInformation IE" << endl; // cout << "Decode NGAP UserLocationInformation IE" << endl;
if (pathSwitchRequestIEs->protocolIEs.list.array[i]->criticality == if (pathSwitchRequestIEs->protocolIEs.list.array[i]->criticality ==
Ngap_Criticality_ignore && Ngap_Criticality_ignore &&
pathSwitchRequestIEs->protocolIEs.list.array[i]->value.present == pathSwitchRequestIEs->protocolIEs.list.array[i]->value.present ==
......
...@@ -150,7 +150,7 @@ vector<string> SplitString(string s, string c){ ...@@ -150,7 +150,7 @@ vector<string> SplitString(string s, string c){
return v; return v;
} }
ngap_app ngap_handle_udp("0",0);
void udp_server::handle_receive_udp(int r,uint8_t udp_recv[]){ void udp_server::handle_receive_udp(int r,uint8_t udp_recv[]){
if(priority==true) if(priority==true)
{ {
...@@ -290,9 +290,9 @@ void udp_server::handle_receive_udp(int r,uint8_t udp_recv[]){ ...@@ -290,9 +290,9 @@ void udp_server::handle_receive_udp(int r,uint8_t udp_recv[]){
// cout<<"mlen"<<payload->mlen<<endl; // cout<<"mlen"<<payload->mlen<<endl;
// cout<<"start handle"<<endl; // cout<<"start handle"<<endl;
if (!amf_n2_inst->is_assoc_id_2_gnb_context(assoc_id)) { if (!amf_n2_inst->is_assoc_id_2_gnb_context(assoc_id)) {
amf_n2_inst->handle_sctp_new_association(assoc_id,0,0); amf_n2_inst->handle_sctp_new_association(assoc_id,10,10);
} }
ngap_handle_udp.handle_receive(payload,assoc_id,stream,0,0,buffer,r-6); ngap_app("0",0).handle_receive(payload,assoc_id,stream,10,10,buffer,r-6);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment