ipprobe_config.c File Reference

Read probe configuration. More...

#include "../ipprobe-manager/ipprobe-manager.h"
#include "ipprobe.h"
#include "ddl/dax.h"

Functions

int config_read (int check __unused)

Variables

u_short manager_port = DEFAULT_MANAGER_PORT
probe_params_t probe_params
char ifd_name [MAX_STR_LEN]
char username [MAX_STR_LEN]
char password [MAX_STR_LEN]


Detailed Description

Read probe configuration.

This code opens configuration database and loads probe configuration.


Function Documentation

int config_read ( int check  __unused  ) 

Initialize probe parameters to default value and read probe configuration.

Parameters:
[in] check 1 if this function being invoked because of a commit check
Returns:
0 on success, -1 on failure


Variable Documentation

char ifd_name[MAX_STR_LEN]

The interface name through which, probe packets are transmitted and received.

u_short manager_port = DEFAULT_MANAGER_PORT

Probe manager TCP port.

char password[MAX_STR_LEN]

Password for authentication.

probe_params_t probe_params

Probe parameter data structure.

char username[MAX_STR_LEN]

Username for authentication.


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:59 2010 for SDK Your Net Corporation IP Probe 1.0 by Doxygen 1.5.1