Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_dst - returns skb dst_entry*@skb: buffer* Returns skb dst_entry, regardless of reference taken or not.

Proto:static inline struct dst_entry *skb_dst(const struct sk_buff *skb)

Type:struct dst_entry

Parameter:

TypeParameterName
const struct sk_buff *skb
925  WARN_ON((_skb_refdst & skb might have a dst pointer attached, refcounted or not.* _skb_refdst low order bit is set if refcount was _not_ taken) && !rcu_read_lock_held() && !rcu_read_lock_bh_held())
928  Return _skb_refdst & SKB_DST_PTRMASK
Caller
NameDescribe
selinux_xfrm_skb_sid_egress
selinux_xfrm_postroute_lastPOSTROUTE_LAST hook's XFRM processing:* If we have no security association, then we need to determine* whether the socket is allowed to send to an unlabelled destination.* If we do have a authorizable security association, then it has already been