函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-27 14:43:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_prog_offload_info_fill_ns

函数原型:static struct ns_common *bpf_prog_offload_info_fill_ns(void *private_data)

返回类型:struct ns_common

参数:

类型参数名称
void *private_data
270  args等于private_data
271  aux等于 Auxiliary fields
275  RTNL is used as a global lock for all changes to network configuration
276  lock for reading
278  如果offload
279  ifindex等于ifindex
280  net等于Net namespace inlines
281  get_net(net)
282  ns等于ns
283  否则
284  ifindex等于0
285  ns = NULL
288  lease a read lock
289  rtnl_unlock()
291  返回:ns