Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__xfrm6_state_addr_check

Proto:static inline int __xfrm6_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr)

Type:int

Parameter:

TypeParameterName
const struct xfrm_state *x
const xfrm_address_t *daddr
const xfrm_address_t *saddr
1288  If ipv6_addr_equal((structin6_addr * )daddr, (structin6_addr * ) & daddr) && ( ipv6_addr_equal((structin6_addr * )saddr, (structin6_addr * ) & saddr) || ipv6_addr_any((structin6_addr * )saddr) || ipv6_addr_any((structin6_addr * ) & saddr)) Then Return 1
1293  Return 0