#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.
Functions | |
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. | |
Variables | |
const parse_menu_t | master_menu [] |
static junos_sdk_app_ctx_t | app_ctx |
Contains the main entry point and registers the application as a JUNOS daemon
Definition in file ipprobe-mt_main.c.
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 |
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 |
Definition at line 162 of file ipprobe-mt_main.c.
References probe_mngr_init(), PROBE_TRACE, and rspd_mngr_init().
Referenced by main().