#include <stdlib.h>
#include <stdio.h>
#include "ip_addr.h"
#include "dprint.h"
#include "mem/mem.h"

Go to the source code of this file.
Functions | |
| struct net * | mk_net (struct ip_addr *ip, struct ip_addr *mask) |
| struct net * | mk_net_bitlen (struct ip_addr *ip, unsigned int bitlen) |
| void | print_ip (char *p, struct ip_addr *ip, char *s) |
| void | print_net (struct net *net) |
| void | stdout_print_ip (struct ip_addr *ip) |
Definition in file ip_addr.c.
Definition at line 43 of file ip_addr.c.
References ip_addr::addr32, ip_addr::af, net::ip, ip_addr::len, LM_CRIT, LM_WARN, net::mask, pkg_malloc, print_ip(), and ip_addr::u.
Referenced by mk_net_bitlen().
Definition at line 81 of file ip_addr.c.
References ip_addr::addr, ip_addr::af, ip_addr::len, LM_CRIT, mk_net(), and ip_addr::u.
| void print_ip | ( | char * | p, | |
| struct ip_addr * | ip, | |||
| char * | s | |||
| ) |
Definition at line 103 of file ip_addr.c.
References ip_addr::addr, ip_addr::addr16, ip_addr::af, LM_DBG, and ip_addr::u.
Referenced by comp_ip(), mk_net(), print_action(), print_expr(), and print_net().
| void print_net | ( | struct net * | net | ) |
Definition at line 162 of file ip_addr.c.
References net::ip, LM_WARN, net::mask, and print_ip().
Referenced by print_expr().
| void stdout_print_ip | ( | struct ip_addr * | ip | ) |
Definition at line 135 of file ip_addr.c.
References ip_addr::addr, ip_addr::addr16, ip_addr::af, LM_DBG, and ip_addr::u.
1.5.6