Function report |
Source Code:include\net\xfrm.h |
Create Date:2022-07-28 19:13:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__xfrm_policy_check2
Proto:static inline int __xfrm_policy_check2(struct sock *sk, int dir, struct sk_buff *skb, unsigned int family, int reverse)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sock * | sk | |
int | dir | |
struct sk_buff * | skb | |
unsigned int | family | |
int | reverse |
1093 | net = Net namespace inlines |
1094 | ndir = dir | If reverse Then XFRM_POLICY_MASK + 1 Else 0 |
1096 | If sk && sk_policy[XFRM_POLICY_IN] Then Return __xfrm_policy_check(sk, ndir, skb, family) |
1099 | Return Not policy_count[dir] && Not secpath_exists(skb) || flags & DST_NOPOLICY || __xfrm_policy_check(sk, ndir, skb, family) |
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 |