Commit ecd336cf authored by Martti Mela's avatar Martti Mela

Network detection: NTA headers updated

darcs-hash:20060815060140-1b897-caf7d360e8680d7773e61f2df4b4d9c8ffeafb08.gz
parent 4010a142
This diff is collapsed.
......@@ -113,6 +113,13 @@ enum {
/**< Maximum value for timers. */
};
typedef enum {
NTA_NW_DETECT_NOTHING = 0,
NTA_NW_DETECT_ONLY_INFO,
NTA_NW_DETECT_TRY_FULL,
} nta_nw_detector_e;
/* ----------------------------------------------------------------------
* 3) Agent-level prototypes
*/
......
......@@ -449,6 +449,24 @@ NTA_DLL extern tag_typedef_t ntatag_rseq;
NTA_DLL extern tag_typedef_t ntatag_rseq_ref;
#define NTATAG_RSEQ_REF(x) ntatag_rseq_ref, tag_uint_vr(&(x))
/** Enable detection of local IP address updates
*
* @par Used with
* #nua_i_network_updated
*
* @par Parameter type
* int
*
* Corresponding tag taking reference parameter is NTATAG_DETECT_NETWORK_UPDATES_REF()
*/
#define NTATAG_DETECT_NETWORK_UPDATES(x) \
ntatag_detect_network_updates, tag_uint_v(x)
NTA_DLL extern tag_typedef_t ntatag_detect_network_updates;
#define NTATAG_DETECT_NETWORK_UPDATES_REF(x) \
ntatag_detect_network_updates_ref, tag_uint_vr(&(x))
NTA_DLL extern tag_typedef_t ntatag_detect_network_updates_ref;
/* ====================================================================== */
/* Tags for statistics. */
......
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