addr.h File Reference

#include <stdint.h>

Include dependency graph for addr.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t addr_hton (uint32_t addr)
 convert address from host to network byte order
uint32_t addr_ntoh (uint32_t addr)
 convert address from network to host byte order
int addr_from_str (const char *str, uint32_t *ip, uint32_t *mask)
 convert string to IP address and netmask
char * addr_to_str (uint32_t ip, uint32_t mask)
 convert IP address and netmask to string


Generated on Sun Dec 3 17:45:53 2006 for lucid by  doxygen 1.5.1