blob: 7ea383c81a8885e9ed3b3c7b2ef02533f875721f [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Denis Vlasenkof81e8db2009-04-09 12:35:13 +00002#ifndef LL_MAP_H
3#define LL_MAP_H 1
Glenn L McGrath9a2d2722002-11-10 01:33:55 +00004
Denis Vlasenkof81e8db2009-04-09 12:35:13 +00005PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
Denis Vlasenko98636eb2008-05-09 17:59:34 +00006
Denys Vlasenkod5f1b1b2009-06-05 12:06:05 +02007int ll_remember_index(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) FAST_FUNC;
8int ll_init_map(struct rtnl_handle *rth) FAST_FUNC;
9int xll_name_to_index(const char *name) FAST_FUNC;
Denys Vlasenkoe52da552015-10-09 17:59:56 +020010//static: const char *ll_idx_n2a(int idx, char *buf) FAST_FUNC;
Denys Vlasenkod5f1b1b2009-06-05 12:06:05 +020011const char *ll_index_to_name(int idx) FAST_FUNC;
Denis Vlasenko08a61182007-06-19 12:11:20 +000012/* int ll_index_to_type(int idx); */
Denys Vlasenkod5f1b1b2009-06-05 12:06:05 +020013unsigned ll_index_to_flags(int idx) FAST_FUNC;
Glenn L McGrath9a2d2722002-11-10 01:33:55 +000014
Denis Vlasenkof81e8db2009-04-09 12:35:13 +000015POP_SAVED_FUNCTION_VISIBILITY
Denis Vlasenko98636eb2008-05-09 17:59:34 +000016
Denis Vlasenkof81e8db2009-04-09 12:35:13 +000017#endif