blob: 739f157e75814f41cb7e4e800095f4dce00fb1ae [file] [log] [blame]
Glenn L McGrath9a2d2722002-11-10 01:33:55 +00001#ifndef __LL_MAP_H__
2#define __LL_MAP_H__ 1
3
4extern int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
5extern int ll_init_map(struct rtnl_handle *rth);
6extern int ll_name_to_index(char *name);
7extern const char *ll_index_to_name(int idx);
8extern const char *ll_idx_n2a(int idx, char *buf);
9extern int ll_index_to_type(int idx);
10extern unsigned ll_index_to_flags(int idx);
11
12#endif /* __LL_MAP_H__ */