函数逻辑报告 |
Source Code:include\net\route.h |
Create Date:2022-07-27 07:39:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ip_neigh_for_gw
函数原型:static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, struct sk_buff *skb, bool *is_v6gw)
返回类型:struct neighbour
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rtable * | rt | |
struct sk_buff * | skb | |
bool * | is_v6gw |
380 | 如果此条件成立可能性大(为编译器优化)(rt_gw_family == Internet IP Protocol )则 |
381 | neigh等于ip_neigh_gw4(dev, rt_gw4) |
382 | 否则如果rt_gw_family恒等于IP version 6 则 |
384 | * is_v6gw = true |
385 | 否则 |
386 | neigh等于ip_neigh_gw4(dev, daddr) |
388 | 返回:neigh |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |