Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xfrm_state_addr_check

Proto:static inline int xfrm_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family)

Type:int

Parameter:

TypeParameterName
const struct xfrm_state *x
const xfrm_address_t *daddr
const xfrm_address_t *saddr
unsigned shortfamily
1302  Case family == Internet IP Protocol
1303  Return __xfrm4_state_addr_check(x, daddr, saddr)
1304  Case family == IP version 6
1305  Return __xfrm6_state_addr_check(x, daddr, saddr)
1307  Return 0