函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ip_neigh_gw4

函数原型:static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, __be32 daddr)

返回类型:struct neighbour

参数:

类型参数名称
struct net_device *dev
__be32daddr
366  neigh等于__ipv4_neigh_lookup_noref(dev, daddr)
367  如果此条件成立可能性小(为编译器优化)(!neigh)则neigh等于__neigh_create( & arp_tbl, & daddr, dev, false)
370  返回:neigh
调用者
名称描述
ip_neigh_for_gw