2012年9月13日

摘要: 本文分析基于Linux Kernel 3.2.1原创作品,转载请标明http://blog.csdn.net/yming0221/article/details/7972647更多请查看网络栈分析专栏http://blog.csdn.net/column/details/linux-kernel-net.html作者:闫明1、alloc_skb()函数该函数的作用是在上层协议要发送数据包的时候或网络设备准备接收数据包的时候会调用alloc_skb()函数分配sk_buff结构体,需要释放时调用kfree_skb()函数。static inline struct sk_buff *alloc_s 阅读全文
posted @ 2012-09-13 17:00 yming0221 阅读(570) 评论(0) 推荐(0) 编辑

导航