Liunx网络驱动编程(5)

2021-01-20 23:22

华清远见 协议层包头1  2  3  4  5  6  7  8  */ 9  10 11 12 13 14 15 16 17 18 19 */ 20

Linux网络设备驱动— sk_buffunion{  struct tcphdr *th;        /* TCP头部 */  struct udphdr *uh;       /* UDP头部 */  struct icmphdr *icmph;   /* ICMP头部 */  struct igmphdr *igmph;   /* IGMP头部 */  struct iphdr *ipiph;       /* IP头部 */  struct ipv6hdr *ipv6h;    /* IPv6头部 */  unsigned char *raw;     /* 数据链路层头部}h; union{  struct iphdr *iph;      /* IP头部 */  struct ipv6hdr *ipv6h;  /* IPv6头部 */  struct arphdr *arph;    /*ARP头部 */  unsigned char *raw;   /* 数据链路层头部 */}nh; union{  unsigned char *raw;    /* 数据链路层头部} mac;链路层头部 skb­>data skb­>mac.raw skb­>nh.raw skb­>h.raw IP头部 UDP头部 payload数据链路层

链路层头部 skb­>data skb­>mac.raw skb­>nh.raw skb­>h.raw IP头部网络层 UDP头部 payload

链路层头部 skb­>data skb­>mac.raw skb­>nh.raw skb­>h.raw IP头部传输层 UDP头部 payload


Liunx网络驱动编程(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:【知识点】2019七年级英语下册 Unit 6 I’m watching TV(第1课时

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: