123456789101112131415161718192021222324252627282930 |
- /*
- * ll_map.c
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
- * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
- *
- * Alpt: Added ll_first_up_if
- */
-
- #ifndef LL_MAP_H
- #define LL_MAP_H
-
- void ll_free_index(void);
- int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n,
- void *arg);
- int ll_init_map(struct rtnl_handle *rth);
- int ll_name_to_index(const char *name);
- const char *ll_index_to_name(int idx);
- const char *ll_idx_n2a(int idx, char *buf);
- int ll_index_to_type(int idx);
- unsigned ll_index_to_flags(int idx);
- int ll_first_up_if(void);
- int ll_nth_up_if(int n);
-
- #endif /*LL_MAP_H */
|