Function report |
Source Code:include\net\dst.h |
Create Date:2022-07-28 06:08:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:skb_dst_force - makes sure skb dst is refcounted*@skb: buffer* If dst is not yet refcounted and not destroyed, grab a ref on it.* Returns true if dst is refcounted.
Proto:static inline bool skb_dst_force(struct sk_buff *skb)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb |
310 | dst = skb_dst - returns skb dst_entry*@skb: buffer* Returns skb dst_entry, regardless of reference taken or not. |
312 | WARN_ON(!rcu_read_lock_held()) |
313 | If Not dst_hold_safe - Take a reference on a dst if possible*@dst: pointer to dst entry* This helper returns false if it could not safely* take a reference on a dst. Then dst = NULL |
316 | _skb_refdst = dst |
319 | Return _skb_refdst != 0UL |
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 |