摘要: sk_buff 摘自:http://www.cnblogs.com/tzh36/p/5424564.html 目录 1 sk_buff介绍 2 sk_buff组成 3 struct sk_buff 结构体 4 sk_buff成员变量 4.1 Layout布局 4.2 General通用 4.3 Fe 阅读全文
posted @ 2017-09-21 01:37 LiuYanYGZ 阅读(2270) 评论(0) 推荐(0) 编辑
摘要: int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len); int skb_store_bits(const struct sk_buff *skb, int offset, void *from, int 阅读全文
posted @ 2017-09-21 01:29 LiuYanYGZ 阅读(871) 评论(0) 推荐(0) 编辑
摘要: skb详细解析【转】 摘自:http://blog.chinaunix.net/uid-30035229-id-4883992.html 在自己的模块发送函数中,需要对skb进行重新构造和别的一些操作。在网上看到一个写的还可以的,粘过来,就不自己写了,估计这个哥们也是看<Understanding 阅读全文
posted @ 2017-09-21 01:25 LiuYanYGZ 阅读(11295) 评论(0) 推荐(0) 编辑