函数逻辑报告 |
Source Code:include\net\inet_hashtables.h |
Create Date:2022-07-27 07:39:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__inet_lookup
函数原型:static inline struct sock *__inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted)
返回类型:struct sock
参数:
类型 | 参数 | 名称 |
---|---|---|
struct net * | net | |
struct inet_hashinfo * | hashinfo | |
struct sk_buff * | skb | |
int | doff | |
const __be32 | saddr | |
const __be16 | sport | |
const __be32 | daddr | |
const __be16 | dport | |
const int | dif | |
const int | sdif | |
bool * | refcounted |
346 | sk等于Sockets in TCP_CLOSE state are _always_ taken out of the hash, so we need* not check it for lookups anymore, thanks Alexey. -DaveM |
348 | * refcounted = true |
351 | * refcounted = false |
名称 | 描述 |
---|---|
inet_lookup | |
__inet_lookup_skb |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |