函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xfrm_state_addr_cmp

函数原型:static inline int xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family)

返回类型:int

参数:

类型参数名称
const struct xfrm_tmpl *tmpl
const struct xfrm_state *x
unsigned shortfamily
1077  :family恒等于Internet IP Protocol
1078  返回:__xfrm4_state_addr_cmp(tmpl, x)
1079  :family恒等于IP version 6
1080  返回:__xfrm6_state_addr_cmp(tmpl, x)
1082  返回:非0