Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xfrm_state_addr_flow_check

Proto:static inline int xfrm_state_addr_flow_check(const struct xfrm_state *x, const struct flowi *fl, unsigned short family)

Type:int

Parameter:

TypeParameterName
const struct xfrm_state *x
const struct flowi *fl
unsigned shortfamily
1315  Case family == Internet IP Protocol
1316  Return __xfrm4_state_addr_check(x, (constxfrm_address_t * ) & daddr, (constxfrm_address_t * ) & (saddr,daddr) must be grouped, same order as in IP header )
1319  Case family == IP version 6
1320  Return __xfrm6_state_addr_check(x, (constxfrm_address_t * ) & daddr, (constxfrm_address_t * ) & saddr)
1324  Return 0