【精选】linux 路由表 fib,linux内核 路由fib表之创建-CSDN博客

网站介绍:文章浏览阅读842次。2.2.2 路由创建当通过netlink,操作类型为RTM_NEWROUTE时,调用inet_rtm_newroute函数添加路由。功能:a)、将用户空间配置内容传过来b)、路由表的创建c)、路由表项的添加流程: 代码:static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)//其中nlh为..._linux .flb