zoukankan      html  css  js  c++  java
  • tcpip协议

    # TCP 报头简图 ,一个 TCP 头为 20 字节
     0                                   15                                     31
    -----------------------------------------------------------------
    |          source port                  |       destination port             |
    -----------------------------------------------------------------
    |                                   sequence number                             |
    -----------------------------------------------------------------
    |                     acknowledgment number                              |
    -----------------------------------------------------------------
    |   HL    |  rsvd   |C|E|U|A|P|R|S|F|        window size                |
    -----------------------------------------------------------------
    |           TCP checksum              |       urgent pointer             |
    -----------------------------------------------------------------

    # 下面是标志位的部分,位置处在包头20字节中的第 13 字节的位置。
    0                   7|                  15|                  23|                  31
    ----------------|----------------|---------------|----------------
    | HL     | rsvd   |C|E|U|A|P|R|S|F|        window size            |
    ----------------|---------------|---------------|----------------

    通过二进制计算可以得到

    FIN 的值为 1 (2^0)
    SYN 的值为 2 (2^1)
    RST 的值为 4 (2^2)
    PSH 的值为 8 (2^3)
    ACK 的值为 16(2^4)
    URG 的值为 32(2^5)
    ECE 的值为 64(2^6)
    CWR 的值为 128(2^7)

  • 相关阅读:
    Redis集群的搭建
    CAS部署在Windows上
    Loadrunner中Error-26612HTTP Status-Cod
    Coneroller执行时候的-26374及-26377错误
    Loadrunner 26377错误
    歌名也好笑
    loadrunner 中Error和failed transaction 的区别
    loadrunner 性能测试报error-27796的解决
    lr11.0负载测试 real-world schedule 与basic schedule的区别是什么
    LR中错误代号为27796的一个解决方法
  • 原文地址:https://www.cnblogs.com/kingcs/p/15443215.html
Copyright © 2011-2022 走看看