Navigation


Changeset 1214:c2fbaf2985f4 in freeDiameter for extensions/test_app/test_app.c


Ignore:
Timestamp:
Jun 18, 2013, 5:27:45 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

New options to test_app extension to generate long Diameter messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_app/test_app.c

    r1199 r1214  
    5555        ta_conf->cmd_id     = 0xfffffe; /* Experimental */
    5656        ta_conf->avp_id     = 0xffffff; /* dummy value */
     57        ta_conf->long_avp_len = 5000;
    5758        ta_conf->mode       = MODE_SERV | MODE_CLI;
    5859        ta_conf->dest_realm = strdup(fd_g_config->cnf_diamrlm);
     
    7778        fd_log_debug( " Command Id ......... : %u", ta_conf->cmd_id);
    7879        fd_log_debug( " AVP Id ............. : %u", ta_conf->avp_id);
     80        fd_log_debug( " Long AVP Id ........ : %u", ta_conf->long_avp_id);
     81        fd_log_debug( " Long AVP len ....... : %zu", ta_conf->long_avp_len);
    7982        fd_log_debug( " Mode ............... : %s%s%s", ta_conf->mode & MODE_SERV ? "Serv" : "", ta_conf->mode & MODE_CLI ? "Cli" : "",  ta_conf->mode & MODE_BENCH ? " (Benchmark)" : "");
    8083        fd_log_debug( " Destination Realm .. : %s", ta_conf->dest_realm ?: "- none -");
Note: See TracChangeset for help on using the changeset viewer.