Function report |
Source Code:include\net\inet_hashtables.h |
Create Date:2022-07-28 06:41:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__inet_lookup
Proto: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)
Type:struct sock
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 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 |