Functions | |
u_int32_t | ulogd_bits2netmask (int bits) |
void | ulogd_ipv6_cidr2mask_host (uint8_t cidr, uint32_t *res) |
void | ulogd_ipv6_addr2addr_host (uint32_t *addr, uint32_t *res) |
int | ulogd_parse_addr (char *string, size_t len, struct ulogd_addr *addr) |
u_int32_t ulogd_bits2netmask | ( | int | bits | ) |
void ulogd_ipv6_addr2addr_host | ( | uint32_t * | addr, |
uint32_t * | res | ||
) |
void ulogd_ipv6_cidr2mask_host | ( | uint8_t | cidr, |
uint32_t * | res | ||
) |
int ulogd_parse_addr | ( | char * | string, |
size_t | len, | ||
struct ulogd_addr * | addr | ||
) |
References ulogd_addr::in, ulogd_addr::ipv4, ulogd_addr::ipv6, ulogd_addr::netmask, NULL, ULOGD_FATAL, and ulogd_log.