Commit beb25ce6 authored by liuyu's avatar liuyu

delete a word

parent bbbd0ab4
......@@ -60,7 +60,7 @@ AMF =
# AMF binded interface for N1/N2 interface (NGAP)
NGAP_AMF:
{
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE
INTERFACE_NAME = "wlp58s0"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read";
PORT = 38412; # YOUR NETWORK CONFIG HERE
PPID = 60; # YOUR NETWORK CONFIG HERE
......@@ -76,7 +76,7 @@ AMF =
# AMF binded interface for N11
N11:
{
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE
INTERFACE_NAME = "wlp58s0"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read";
PORT = 8282; # YOUR NETWORK CONFIG HERE
......@@ -91,7 +91,7 @@ AMF =
AUTHENTICATION:
{
## MySQL mandatory options
MYSQL_server = "172.16.200.10"; # MySQL Server address
MYSQL_server = "127.0.0.1"; # MySQL Server address
MYSQL_user = "yunshou"; # Database server login
MYSQL_pass = "123456"; # Database server password
MYSQL_db = "OAI_DB"; # Your database name
......
......@@ -26,7 +26,7 @@ AMF =
AMF_NAME = "OAI-AMF";
RELATIVE_CAPACITY = 50;
RELATIVE_CAPACITY = 30;
# Display statistics about whole system (in seconds)
STATISTICS_TIMER_INTERVAL = 20; # YOUR CONFIG HERE
......
......@@ -421,7 +421,7 @@ void amf_n2::handle_itti_message(itti_ng_setup_request &itti_msg) {
// gc1->gnb_context_from_json(udsf_response);
// gc2 = std::shared_ptr<gnb_context>(gc1);
// printf("gnbname-%s\n",gc2.get()->gnb_name.c_str());
// printf("globalgnbid-%d\n",gc2.get()->globalRanNodeId);
// printf("next stream-%d\n",gc2.get()->next_sctp_stream);
return;
......
......@@ -243,7 +243,7 @@ asn_dec_rval_t NativeEnumerated_decode_aper(
}
ASN_DEBUG("Decoding %s as NativeEnumerated", td->name);
printf("test0515 Decoding %s as NativeEnumerated\n", td->name);
//printf("test0515 Decoding %s as NativeEnumerated\n", td->name);
if (ct->flags & APC_EXTENSIBLE) {
int inext = per_get_few_bits(pd, 1);
......
......@@ -321,7 +321,7 @@ asn_dec_rval_t NativeInteger_decode_aper(
(void) opt_codec_ctx;
ASN_DEBUG("Decoding NativeInteger %s (APER)", td->name);
printf("test0515 Decoding NativeInteger %s (APER)\n", td->name);
//printf("test0515 Decoding NativeInteger %s (APER)\n", td->name);
if (!native) {
native = (long*) (*sptr = CALLOC(1, sizeof(*native)));
......
......@@ -1033,9 +1033,9 @@ asn_dec_rval_t CHOICE_decode_aper(
if (value < 0) ASN__DECODE_STARVED;
ASN_DEBUG(
"CHOICE %s got index %d in range %d", td->name, value, ct->range_bits);
printf(
"test0515 CHOICE %s got index %d in range %d\n", td->name, value,
ct->range_bits);
// printf(
// "test0515 CHOICE %s got index %d in range %d\n", td->name, value,
// ct->range_bits);
if (value > ct->upper_bound) ASN__DECODE_FAILED;
} else {
if (specs->ext_start == -1) ASN__DECODE_FAILED;
......@@ -1060,9 +1060,9 @@ asn_dec_rval_t CHOICE_decode_aper(
memb_ptr2 = &memb_ptr;
}
ASN_DEBUG("Discovered CHOICE %s encodes %s", td->name, elm->name);
printf(
"test1130 decoding element(%s) in td->name(%s), pointer(%p)\n", elm->name,
td->name, memb_ptr2);
// printf(
// "test1130 decoding element(%s) in td->name(%s), pointer(%p)\n", elm->name,
// td->name, memb_ptr2);
if (ct && ct->range_bits >= 0) {
rv = elm->type->op->aper_decoder(
......@@ -1077,9 +1077,9 @@ asn_dec_rval_t CHOICE_decode_aper(
if (rv.code != RC_OK) {
ASN_DEBUG(
"Failed to decode %s in %s (CHOICE) %d", elm->name, td->name, rv.code);
printf(
"test0515 Failed to decode %s in %s (CHOICE) %d\n", elm->name, td->name,
rv.code);
// printf(
// "test0515 Failed to decode %s in %s (CHOICE) %d\n", elm->name, td->name,
// rv.code);
}
return rv;
}
......
......@@ -945,7 +945,7 @@ int SEQUENCE_print(
for (edx = 0; edx < td->elements_count; edx++) {
asn_TYPE_member_t* elm = &td->elements[edx];
printf("element name: %s\n", elm->name);
//printf("element name: %s\n", elm->name);
const void* memb_ptr;
if (elm->flags & ATF_POINTER) {
......@@ -1498,7 +1498,7 @@ asn_dec_rval_t SEQUENCE_decode_aper(
}
ASN_DEBUG("Decoding %s as SEQUENCE (APER)", td->name);
printf("test0515 Decoding %s as SEQUENCE (APER)\n", td->name);
//printf("test0515 Decoding %s as SEQUENCE (APER)\n", td->name);
/* Handle extensions */
if (specs->first_extension < 0) {
......@@ -1572,9 +1572,9 @@ asn_dec_rval_t SEQUENCE_decode_aper(
ASN_DEBUG(
"Member %s->%s is optional, p=%d (%d->%d)", td->name, elm->name,
present, (int) opmd.nboff, (int) opmd.nbits);
printf(
"test0515 Member %s->%s is optional, p=%d (%d->%d)\n", td->name,
elm->name, present, (int) opmd.nboff, (int) opmd.nbits);
// printf(
// "test0515 Member %s->%s is optional, p=%d (%d->%d)\n", td->name,
// elm->name, present, (int) opmd.nboff, (int) opmd.nbits);
if (present == 0) {
/* This element is not present */
if (elm->default_value_set) {
......@@ -1593,7 +1593,7 @@ asn_dec_rval_t SEQUENCE_decode_aper(
/* Fetch the member from the stream */
ASN_DEBUG("Decoding member \"%s\" in %s", elm->name, td->name);
printf("test0515 Decoding member \"%s\" in %s\n", elm->name, td->name);
//printf("test0515 Decoding member \"%s\" in %s\n", elm->name, td->name);
if (elm->flags & ATF_OPEN_TYPE) {
rv = OPEN_TYPE_aper_get(opt_codec_ctx, td, st, elm, pd);
......
......@@ -407,7 +407,7 @@ static asn_dec_rval_t aper_open_type_get_simple(
ASN__STACK_OVERFLOW_CHECK(ctx);
ASN_DEBUG("Getting open type %s...", td->name);
printf("test0515 Getting open type %s...\n", td->name);
//printf("test0515 Getting open type %s...\n", td->name);
do {
//printf("test1130 while repeat1(%d)\n", repeat);
......@@ -436,9 +436,9 @@ static asn_dec_rval_t aper_open_type_get_simple(
// ASN_DEBUG("Getting open type %s encoded in %ld bytes", td->name,
// (long)bufLen);
printf(
"test1130 Getting open type %s encoded in %ld bytes\n", td->name,
(long) bufLen);
// printf(
// "test1130 Getting open type %s encoded in %ld bytes\n", td->name,
// (long) bufLen);
memset(&spd, 0, sizeof(spd));
spd.buffer = buf;
......
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