函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Net namespace inlines

函数原型:static inline struct net *dev_net(const struct net_device *dev)

返回类型:struct net

参数:

类型参数名称
const struct net_device *dev
2190  返回:read_pnet( & nd_net)
调用者
名称描述
bpf_prog_offload_info_fill_ns
bpf_map_offload_info_fill_ns
sel_netif_netdev_notifier_handler
next_net_device
next_net_device_rcu
__skb_tunnel_rx准备skb RX插入
__in6_dev_stats_get__in6_dev_stats_get - get inet6_dev pointer for stats*@dev: network device*@skb: skb for original incoming interface if neeeded* Caller must hold rcu_read_lock or RTNL, because this function* does not take a reference on the inet6_dev.
ip4_dst_hoplimit
__inet_lookup_skb
__xfrm_policy_check2
xfrm_route_forward