Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_map_offload_info_fill_ns

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

Type:struct ns_common

Parameter:

TypeParameterName
void *private_data
498  args = private_data
502  RTNL is used as a global lock for all changes to network configuration
503  lock for reading
505  If netdev Then
506  ifindex = ifindex
507  net = Net namespace inlines
508  get_net(net)
509  ns = ns
510  Else
511  ifindex = 0
512  ns = NULL
515  lease a read lock
516  rtnl_unlock()
518  Return ns