摘要: 对于输出的报文,主要做如下操作: 1. 调用ip_route_output_flow路由查找 2. 在ip_route_output_flow里面会调用xfrm_lookup进行ipsec policy查找 3. 如果policy的action为XFRM_POLICY_ALLOW,则调用xfrm_find_bundle或者xfrm_bundle_create创建dst链表 4. 应用链表中的dst... 阅读全文
posted @ 2014-06-10 09:26 chanwai1219 阅读(1653) 评论(0) 推荐(0) 编辑