added udp and ipv6 basic
This commit is contained in:
parent
f4778aaee1
commit
c1fe1e32cc
|
@ -32,7 +32,6 @@ protocol:
|
||||||
length: 3
|
length: 3
|
||||||
subfields:
|
subfields:
|
||||||
- field: reserved
|
- field: reserved
|
||||||
desc: reserved
|
|
||||||
bitfield: yes
|
bitfield: yes
|
||||||
length: 1
|
length: 1
|
||||||
- field: df
|
- field: df
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
protocol:
|
||||||
|
name: ipv6
|
||||||
|
osilayer: 3
|
||||||
|
fields:
|
||||||
|
- field: version
|
||||||
|
bitfield: yes
|
||||||
|
length: 4
|
||||||
|
- field: trafficclass
|
||||||
|
desc: traffic class
|
||||||
|
bitfield: yes
|
||||||
|
length: 8
|
||||||
|
- field: flowlabel
|
||||||
|
desc: flow label
|
||||||
|
bitfield: yes
|
||||||
|
length: 20
|
||||||
|
- field: length
|
||||||
|
desc: payload length
|
||||||
|
length: 2
|
||||||
|
- field: nextheader
|
||||||
|
desc: next header identifier (see ipv4 protocol id)
|
||||||
|
length: 1
|
||||||
|
- field: hoplimit
|
||||||
|
desc: hop limit
|
||||||
|
length: 1
|
||||||
|
- field: srcaddress
|
||||||
|
desc: source address
|
||||||
|
length: 16
|
||||||
|
- field: dstaddress
|
||||||
|
desc: destination address
|
||||||
|
length: 16
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
protocol:
|
||||||
|
name: udp
|
||||||
|
shortname: udp
|
||||||
|
osilayer: 4
|
||||||
|
fields:
|
||||||
|
- field: srcport
|
||||||
|
desc: source port
|
||||||
|
length: 2
|
||||||
|
- field: dstport
|
||||||
|
desc: destination port
|
||||||
|
length: 2
|
||||||
|
- field: length
|
||||||
|
desc: length of header and data
|
||||||
|
length: 2
|
||||||
|
- field: checksum
|
||||||
|
length: 2
|
Reference in New Issue