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

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_root * | mi_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_node * | ip_stack [MAX_IP_LEN] |
| #define IPv4_LEN 4 |
| #define IPv6_LEN 16 |
| #define MAX_IP_LEN IPv6_LEN |
Definition at line 97 of file pike_mi.c.
References get_tree_branch(), init_mi_tree(), lock_tree_branch(), MAX_IP_BRANCHES, MI_OK_LEN, MI_OK_S, mi_root::node, NULL, print_red_ips(), and unlock_tree_branch().
| 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().
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().
1.5.6