Function report |
Source Code:include\net\ip_fib.h |
Create Date:2022-07-28 06:40:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fib_lookup
Proto:static inline int fib_lookup(struct net *net, const struct flowi4 *flp, struct fib_result *res, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct net * | net | |
| const struct flowi4 * | flp | |
| struct fib_result * | res | |
| unsigned int | flags |
| 298 | err = -ENETUNREACH |
| 302 | tb = fib_get_table(net, RT_TABLE_MAIN) |
| 303 | If tb Then err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF) |
| 306 | If err == -EAGAIN Then err = -ENETUNREACH |
| 311 | Return err |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |