Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-28 13:25:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_prog_offload_info_fill_ns

Proto:static struct ns_common *bpf_prog_offload_info_fill_ns(void *private_data)

Type:struct ns_common

Parameter:

TypeParameterName
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  If offload Then
279  ifindex = ifindex
280  net = Net namespace inlines
281  get_net(net)
282  ns = ns
283  Else
284  ifindex = 0
285  ns = NULL
288  lease a read lock
289  rtnl_unlock()
291  Return ns