函数源码 |
Source File:include\net\ndisc.h |
Create Date:2022-07-27 07:08:38 |
首页 | Copyright©Brick |
439 440 441 442 443 444 445 446 447 448 449 450 | /* uses ipv6_stub and is meant for use outside of IPv6 core */ static inline struct neighbour *ip_neigh_gw6( struct net_device *dev, const void *addr) { struct neighbour *neigh; neigh = __ipv6_neigh_lookup_noref_stub(dev, addr); if (unlikely(!neigh)) neigh = __neigh_create(ipv6_stub->nd_tbl, addr, dev, false ); return neigh; } |