函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:06:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Queue a received datagram if it will fit. Stream and sequenced* protocols can't normally use this as they need to fit buffers in* and play with them.* Inlined as it's very short and called for pretty much every* packet ever received.

函数原型:static inline void skb_set_owner_r(struct sk_buff *skb, struct sock *sk)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
struct sock *sk
2142  孤立一个缓存区
2143  sk等于sk
2144  destructor等于sock_rfree
2145  atomic_add(truesize, & sk_rmem_alloc)
2146  sk_mem_charge(sk, truesize)