netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
addr.c File Reference
#include <arpa/inet.h>
#include <ulogd/ulogd.h>
#include <ulogd/addr.h>
Include dependency graph for addr.c:

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)
 

Function Documentation

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 
)