Linux网络子系统与IPv6技术解析
1. Linux邻居子系统
在Linux网络环境中,邻居子系统扮演着重要角色,它负责管理和维护网络邻居的相关信息。 neigh_hold() 宏用于增加指定邻居的引用计数,这有助于系统对邻居资源的管理和跟踪。
邻居子系统的统计信息通过 neigh_statistics 结构体进行监控,该结构体的成员及其递增位置如下:
struct neigh_statistics {
unsigned long allocs; /* number of allocated neighs */
unsigned long destroys; /* number of destroyed neighs */
unsigned long hash_grows; /* number of hash resizes */
unsigned long res_failed; /* number of failed resolutions */
unsigned long lookups; /* number of lookups */
unsigned long hits; /* number of hits (among lookups) */
unsigned long rcv_probes_mcast; /* number of rec
超级会员免费看
订阅专栏 解锁全文
4433

被折叠的 条评论
为什么被折叠?



