Function report |
Source Code:include\linux\skbuff.h |
Create Date:2022-07-28 05:52:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:skb_share_check - check if buffer is shared and if so clone it*@skb: buffer to check*@pri: priority for memory allocation* If the buffer is shared the buffer is cloned and the old copy* drops a reference. A new clone with a single reference is returned.
Proto:static inline struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri)
Type:struct sk_buff
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb | |
gfp_t | pri |
1683 | nskb = duplicate an sk_buff |
1685 | If Value is more likely to compile time(nskb) Then consume_skb(skb) |
1687 | Else free an sk_buff |
1691 | Return skb |
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 |