|
Packit Service |
3880ab |
/* SPDX-License-Identifier: GPL-2.0 */
|
|
Packit Service |
3880ab |
#ifndef __LL_MAP_H__
|
|
Packit Service |
3880ab |
#define __LL_MAP_H__ 1
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
int ll_remember_index(struct nlmsghdr *n, void *arg);
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
void ll_init_map(struct rtnl_handle *rth);
|
|
Packit Service |
3880ab |
unsigned ll_name_to_index(const char *name);
|
|
Packit Service |
3880ab |
const char *ll_index_to_name(unsigned idx);
|
|
Packit Service |
3880ab |
int ll_index_to_type(unsigned idx);
|
|
Packit Service |
3880ab |
int ll_index_to_flags(unsigned idx);
|
|
Packit Service |
3880ab |
void ll_drop_by_index(unsigned index);
|
|
Packit Service |
3880ab |
unsigned namehash(const char *str);
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
const char *ll_idx_n2a(unsigned int idx);
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#endif /* __LL_MAP_H__ */
|