pike_mi.c File Reference

#include "ip_tree.h"
#include "pike_mi.h"

Include dependency graph for pike_mi.c:

Go to the source code of this file.

Defines

#define IPv4_LEN   4
#define IPv6_LEN   16
#define MAX_IP_LEN   IPv6_LEN

Functions

struct mi_rootmi_pike_list (struct mi_root *cmd_tree, void *param)
static void print_ip_stack (int level, struct mi_node *node)
static void print_red_ips (struct ip_node *ip, int level, struct mi_node *node)

Variables

static struct ip_nodeip_stack [MAX_IP_LEN]


Define Documentation

#define IPv4_LEN   4

Definition at line 33 of file pike_mi.c.

Referenced by print_ip_stack().

#define IPv6_LEN   16

Definition at line 32 of file pike_mi.c.

Referenced by print_ip_stack().

#define MAX_IP_LEN   IPv6_LEN

Definition at line 34 of file pike_mi.c.

Referenced by print_red_ips().


Function Documentation

struct mi_root* mi_pike_list ( struct mi_root cmd_tree,
void *  param 
) [read]

static void print_ip_stack ( int  level,
struct mi_node node 
) [inline, static]

Definition at line 40 of file pike_mi.c.

References addf_mi_node_child(), IPv4_LEN, IPv6_LEN, and LM_CRIT.

Referenced by print_red_ips().

static void print_red_ips ( struct ip_node ip,
int  level,
struct mi_node node 
) [static]

Definition at line 68 of file pike_mi.c.

References ip_node::flags, ip_node::kids, LM_CRIT, MAX_IP_LEN, ip_node::next, NODE_ISRED_FLAG, and print_ip_stack().

Referenced by mi_pike_list().


Variable Documentation

struct ip_node* ip_stack[MAX_IP_LEN] [static]

Definition at line 37 of file pike_mi.c.


Generated on Thu May 24 02:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6