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

uint16_t addr_htos (uint16_t addr)
 convert address from host to network byte order
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
uint16_t addr_stoh (uint16_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 Tue Jun 19 20:38:27 2007 for lucid by  doxygen 1.5.2