]> git.proxmox.com Git - mirror_iproute2.git/blame - tipc/misc.h
ll_map: Add function to remove link cache entry by index
[mirror_iproute2.git] / tipc / misc.h
CommitLineData
f043759d
RA
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
17uint32_t str2addr(char *str);
725ebfbf
JM
18int str2nodeid(char *str, uint8_t *id);
19void nodeid2str(uint8_t *id, char *str);
5947046d 20void hash2nodestr(uint32_t hash, char *str);
f043759d
RA
21
22#endif