"Robert P. J. Day" | 63fc1a9 | 2006-07-02 19:47:05 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 2 | #ifndef LL_MAP_H |
| 3 | #define LL_MAP_H 1 |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 4 | |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 5 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
Denis Vlasenko | 98636eb | 2008-05-09 17:59:34 +0000 | [diff] [blame] | 6 | |
Denys Vlasenko | d5f1b1b | 2009-06-05 12:06:05 +0200 | [diff] [blame] | 7 | int ll_remember_index(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) FAST_FUNC; |
| 8 | int ll_init_map(struct rtnl_handle *rth) FAST_FUNC; |
| 9 | int xll_name_to_index(const char *name) FAST_FUNC; |
Denys Vlasenko | e52da55 | 2015-10-09 17:59:56 +0200 | [diff] [blame] | 10 | //static: const char *ll_idx_n2a(int idx, char *buf) FAST_FUNC; |
Denys Vlasenko | d5f1b1b | 2009-06-05 12:06:05 +0200 | [diff] [blame] | 11 | const char *ll_index_to_name(int idx) FAST_FUNC; |
Denis Vlasenko | 08a6118 | 2007-06-19 12:11:20 +0000 | [diff] [blame] | 12 | /* int ll_index_to_type(int idx); */ |
Denys Vlasenko | d5f1b1b | 2009-06-05 12:06:05 +0200 | [diff] [blame] | 13 | unsigned ll_index_to_flags(int idx) FAST_FUNC; |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 14 | |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 15 | POP_SAVED_FUNCTION_VISIBILITY |
Denis Vlasenko | 98636eb | 2008-05-09 17:59:34 +0000 | [diff] [blame] | 16 | |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 17 | #endif |