The Netsukuku Project
0.0.9
An Alternative routing method
|
Functions | |
char | xor_int (int i) |
void | swap_array (int nmemb, size_t nmemb_sz, void *src, void *dst) |
void | swap_ints (int nmemb, unsigned int *x, unsigned int *y) |
void | swap_shorts (int nmemb, unsigned short *x, unsigned short *y) |
int | rand_range (int _min, int _max) |
void | xsrand (void) |
char * | last_token (char *string, char tok) |
void | strip_char (char *string, char char_to_strip) |
char ** | split_string (char *str, const char *div_str, int *substrings, int max_substrings, int max_substring_sz) |
int | find_int (int x, int *ia, int nmemb) |
void | xtimer (u_int secs, u_int steps, int *counter) |
int | check_and_create_dir (char *dir) |
int | file_exist (char *filename) |
int | exec_root_script (char *script, char *argv) |
void | do_nothing (void) |
int check_and_create_dir | ( | char * | dir | ) |
void do_nothing | ( | void | ) |
int exec_root_script | ( | char * | script, |
char * | argv | ||
) |
int file_exist | ( | char * | filename | ) |
int find_int | ( | int | x, |
int * | ia, | ||
int | nmemb | ||
) |
char* last_token | ( | char * | string, |
char | tok | ||
) |
|
inline |
char** split_string | ( | char * | str, |
const char * | div_str, | ||
int * | substrings, | ||
int | max_substrings, | ||
int | max_substring_sz | ||
) |
void strip_char | ( | char * | string, |
char | char_to_strip | ||
) |
void swap_array | ( | int | nmemb, |
size_t | nmemb_sz, | ||
void * | src, | ||
void * | dst | ||
) |
void swap_ints | ( | int | nmemb, |
unsigned int * | x, | ||
unsigned int * | y | ||
) |
void swap_shorts | ( | int | nmemb, |
unsigned short * | x, | ||
unsigned short * | y | ||
) |
char xor_int | ( | int | i | ) |
void xsrand | ( | void | ) |
void xtimer | ( | u_int | secs, |
u_int | steps, | ||
int * | counter | ||
) |