ipprobe-mt_main.c File Reference

Contains main entry point. More...

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <isc/eventlib.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/ip_icmp.h>
#include <jnx/aux_types.h>
#include <jnx/bits.h>
#include <jnx/patricia.h>
#include <jnx/pconn.h>
#include <jnx/junos_trace.h>
#include <jnx/junos_init.h>
#include "ipprobe-mt.h"

Go to the source code of this file.


static void main_exit (void)
 Close and exit.
static int main_init (evContext ev_ctx)
 Callback for the first initialization of the RE-SDK application.
int main (int argc, char **argv)
 Intializes ipprobe-mt environment.


const parse_menu_t master_menu []
static junos_sdk_app_ctx_t app_ctx

Detailed Description

Contains main entry point.

Contains the main entry point and registers the application as a JUNOS daemon

Definition in file ipprobe-mt_main.c.

Function Documentation

int main ( int  argc,
char **  argv 

Intializes ipprobe-mt environment.

[in] argc Number of command line arguments
[in] argv String array of command line arguments
0 on successful exit of the application (shouldn't happen), non-zero on failure

Definition at line 183 of file ipprobe-mt_main.c.

References app_ctx, config_read(), main_exit(), main_init(), and master_menu.

static int main_init ( evContext  ev_ctx  )  [static]

Callback for the first initialization of the RE-SDK application.

[in] ctx Newly created event context
0 on success, -1 on failure

Definition at line 162 of file ipprobe-mt_main.c.

References probe_mngr_init(), PROBE_TRACE, and rspd_mngr_init().

Referenced by main().

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:27:00 2010 for SDK Your Net Corporation IP Probe MT: ipprobe-mt 1.0 by Doxygen 1.5.1