nis-util
1.0.D108
|
#include <lib/rcstring.h>
Go to the source code of this file.
Defines | |
#define | LSB(x) ((x) & -(x)) |
Functions | |
rcstring | string_from_network_number (unsigned long number) |
char | network_class_from_number (unsigned long number) |
unsigned long | network_mask_from_number (unsigned long number) |
unsigned long | network_number_from_string (const rcstring &text) |
rcstring | canonical_network_address (const rcstring &text) |
#define LSB | ( | x | ) | ((x) & -(x)) |
Definition at line 24 of file net_utils.h.
rcstring canonical_network_address | ( | const rcstring & | text | ) |
The canonical_network_address class method is used to convert an address into its canonical form. Invalid addresses, or addresses already in canonical form, will be passed through unchanged.
Definition at line 26 of file canonical_network_address.cc.
char network_class_from_number | ( | unsigned long | number | ) |
Definition at line 23 of file network_class_from_number.cc.
unsigned long network_mask_from_number | ( | unsigned long | number | ) |
Definition at line 23 of file network_mask_from_number.cc.
unsigned long network_number_from_string | ( | const rcstring & | text | ) |
Definition at line 26 of file network_number_from_string.cc.
rcstring string_from_network_number | ( | unsigned long | number | ) |
The string_from_network_number function is used to convert and IPv4 network number into a string in canonical form.
Definition at line 27 of file string_from_network_number.cc.