Go to the source code of this file.
Functions | |
int | rst_MACatoi (char *, unsigned char *) |
Convert a MAC address from ASCII to integer. | |
char * | rst_MACitoa (unsigned char *, char *) |
Convert a MAC address from integer to ASCII. | |
int | rst_getMAC (char *, unsigned char *) |
Retrieve the MAC address for interface i. | |
int | rst_IPatoi (char *, int *) |
Convert an IP address from ASCII to integer. | |
char * | rst_IPitoa (unsigned int, char *) |
Convert an IP address from integer to ASCII. | |
int | rst_getIPaddr (char *, unsigned int *) |
Retrieve the IP address for interface i. | |
int | rst_getIPmask (char *, unsigned int *) |
Retrieve the IP network mask for interface i. | |
void | rst_maskInc (unsigned int *, unsigned int) |
Increment the masked portion of target. |
|
Retrieve the IP address for interface i.
|
|
Retrieve the IP network mask for interface i.
|
|
Retrieve the MAC address for interface i.
|
|
Convert an IP address from ASCII to integer. A legal string IP address is of the form "I1.I2.I3.I4" where each of I1, I2, I3, and I4 is a 1, 2, or 3 digit decimal integer.
|
|
Convert an IP address from integer to ASCII.
|
|
Convert a MAC address from ASCII to integer. A legal string MAC address is of the form "D1:D2:D3:D4:D5:D6" where each of D1, D2, ..., D5 is 1 or 2 digit hex number.
|
|
Convert a MAC address from integer to ASCII.
|
|
Increment the masked portion of target.
|