ipprobe-manager.c File Reference

IP Probe manager functions. More...

#include "ipprobe-manager.h"


void manager_auth_close (void)
int manager_auth_open (void)
void manager_close (void)
void manager_init (void)
int manager_open (u_short port)


evContext manager_ev_ctx

Detailed Description

IP Probe manager functions.

This file contains the functions to manage the following components:

The probe manager is a TCP server running on the probe target. It starts a TCP session when received and accepted the connection request from the probe initiator.

After received request from initiator to start probe, the probe manager first sends probe user information to the authentication server. The request will be refused if authentication failed. Otherwise, the probe manager will create a responder for the probe.

The responder receives probe packet, puts timestamp into the packet and send it back to the initiator.

When probe is done, the initiator will close the connection to the probe manager which will close the responder and the session as well.

Function Documentation

void manager_auth_close ( void   ) 

Close the connection to authd.

int manager_auth_open ( void   ) 

Open connection to authd.

0 on success, -1 on failure

void manager_close ( void   ) 

Close the manager and all sessions.

void manager_init ( void   ) 

Intializes the manager

int manager_open ( u_short  port  ) 

Open the manager

[in] port Manager TCP port
0 on success, -1 on failure

Variable Documentation

evContext manager_ev_ctx

The global event context.

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 Manager 1.0 by Doxygen 1.5.1