摘要:
发送tcp报文时: nc 10.10.10.2 80 tcp_v4_connect 1.1 >ip_route_connect static inline struct rtable *ip_route_connect(struct flowi4 *fl4, __be32 dst, __be32 s 阅读全文
posted @ 2024-10-14 21:58
codestacklinuxer
阅读(27)
评论(0)
推荐(0)
摘要:
skb结构体中的成员_skb_refdst用于暂时缓存出口/入口路由,避免在skb生存期中反复查找路由 sock结构体中有两个成员缓存路由:sk_rx_dst缓存入口路由,sk_dst_cache缓存出口路由 SKB路由缓存 skb_dst_set需要在调用前增加引用计数(dst_clone);而s 阅读全文
posted @ 2024-10-14 21:58
codestacklinuxer
阅读(125)
评论(0)
推荐(0)

浙公网安备 33010602011771号