This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
NetworkProtocolDictionary/protocols/osi4/tcp.yml

53 lines
964 B
YAML
Raw Permalink Normal View History

---
protocol: &tcp
name: TCP
fields:
- field: srcport
desc: source port
length: 2
- field: dstport
desc: destination port
length: 2
- field: seqno
desc: sequence number
length: 4
- field: ackno
desc: acknowledgment number
length: 4
- field: dataoffset
desc: data offset
bitfield: yes
length: 4
- field: reserved
bitfield: yes
length: 6
- field: URG
bitfield: yes
length: 1
- field: ACK
bitfield: yes
length: 1
- field: PSH
bitfield: yes
length: 1
- field: RST
bitfield: yes
length: 1
- field: SYN
bitfield: yes
length: 1
- field: FIN
bitfield: yes
length: 1
- field: window
length: 2
- field: checksum
length: 2
- field: options
length: 4
optional: true
repeatable: true
- field: data
data: true
osilayer: 4