Function report |
Source Code:include\net\route.h |
Create Date:2022-07-28 06:41:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ip_neigh_for_gw
Proto:static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, struct sk_buff *skb, bool *is_v6gw)
Type:struct neighbour
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rtable * | rt | |
| struct sk_buff * | skb | |
| bool * | is_v6gw |
| 380 | If Value is more likely to compile time(rt_gw_family == Internet IP Protocol ) Then |
| 381 | neigh = ip_neigh_gw4(dev, rt_gw4) |
| 382 | Else if rt_gw_family == IP version 6 Then |
| 384 | * is_v6gw = true |
| 385 | Else |
| 386 | neigh = ip_neigh_gw4(dev, daddr) |
| 388 | Return neigh |
| 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 |