函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_dst - returns skb dst_entry*@skb: buffer* Returns skb dst_entry, regardless of reference taken or not.

函数原型:static inline struct dst_entry *skb_dst(const struct sk_buff *skb)

返回类型:struct dst_entry

参数:

类型参数名称
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  返回:_skb_refdst按位与SKB_DST_PTRMASK
调用者
名称描述
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
skb_dst_is_noref检查skb的dst未被引用
skb_rtableskb_rtable - Returns the skb &rtable*@skb: buffer
__skb_dst_copy
skb_dst_force确保DST是引用计数
dst_link_failure
dst_outputOutput packet to network from transport.
dst_inputInput packet from network to transport.
skb_dst_update_pmtu
skb_dst_update_pmtu_no_confirmpdate dst pmtu but not do neighbor confirm
ip_route_input
__inet_lookup_skb
__xfrm_policy_check2
xfrm_route_forward