]> git.proxmox.com Git - mirror_iproute2.git/blob - tipc/misc.h
ll_map: Add function to remove link cache entry by index
[mirror_iproute2.git] / tipc / misc.h
1 /*
2 * misc.h Miscellaneous TIPC helper functions.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *
9 * Authors: Richard Alpe <richard.alpe@ericsson.com>
10 */
11
12 #ifndef _TIPC_MISC_H
13 #define _TIPC_MISC_H
14
15 #include <stdint.h>
16
17 uint32_t str2addr(char *str);
18 int str2nodeid(char *str, uint8_t *id);
19 void nodeid2str(uint8_t *id, char *str);
20 void hash2nodestr(uint32_t hash, char *str);
21
22 #endif