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