函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xfrm_flowi_addr_get

函数原型:static inline void xfrm_flowi_addr_get(const struct flowi *fl, xfrm_address_t *saddr, xfrm_address_t *daddr, unsigned short family)

返回类型:void

参数:

类型参数名称
const struct flowi *fl
xfrm_address_t *saddr
xfrm_address_t *daddr
unsigned shortfamily
1263  :family恒等于Internet IP Protocol
1264  memcpy( & a4, & (saddr,daddr) must be grouped, same order as in IP header , a4的长度)
1265  memcpy( & a4, & daddr, a4的长度)
1266  退出
1267  :family恒等于IP version 6
1268  in6等于saddr
1269  in6等于daddr
1270  退出