函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__xfrm6_state_addr_check

函数原型:static inline int __xfrm6_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr)

返回类型:int

参数:

类型参数名称
const struct xfrm_state *x
const xfrm_address_t *daddr
const xfrm_address_t *saddr
1288  如果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)的值则返回:1
1293  返回:0
调用者
名称描述
xfrm_state_addr_check
xfrm_state_addr_flow_check