路由緩存子系統

1. 初始化 /* 用於分配每個rtable節點的內存池 */ ipv4_dst_ops.kmem_cachep = kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL); /* 路由緩存哈希表, 2^rt_
相關文章
相關標籤/搜索