"Robert P. J. Day" | 63fc1a9 | 2006-07-02 19:47:05 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 2 | #ifndef __LL_MAP_H__ |
| 3 | #define __LL_MAP_H__ 1 |
| 4 | |
Denis Vlasenko | 08a6118 | 2007-06-19 12:11:20 +0000 | [diff] [blame] | 5 | int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); |
| 6 | int ll_init_map(struct rtnl_handle *rth); |
Denis Vlasenko | 6ca409e | 2007-08-12 20:58:27 +0000 | [diff] [blame^] | 7 | int xll_name_to_index(const char *const name); |
Denis Vlasenko | 08a6118 | 2007-06-19 12:11:20 +0000 | [diff] [blame] | 8 | const char *ll_index_to_name(int idx); |
| 9 | const char *ll_idx_n2a(int idx, char *buf); |
| 10 | /* int ll_index_to_type(int idx); */ |
| 11 | unsigned ll_index_to_flags(int idx); |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 12 | |
| 13 | #endif /* __LL_MAP_H__ */ |