mirror of
https://github.com/soypat/lneto.git
synced 2026-08-17 21:24:04 +00:00
add pcap printing to examples/xnet
This commit is contained in:
@@ -22,11 +22,12 @@ func _() {
|
||||
_ = x[FieldClassPayload-11]
|
||||
_ = x[FieldClassText-12]
|
||||
_ = x[FieldClassAddress-13]
|
||||
_ = x[FieldClassBinaryText-14]
|
||||
}
|
||||
|
||||
const _FieldClass_name = "undefinedsourcedestinationprotocolversiontypefield sizeflagsidentificationchecksumoptionspayloadtextaddress"
|
||||
const _FieldClass_name = "undefinedsourcedestinationprotocolversiontypesizeflagsidentificationchecksumoptionspayloadtextaddressbinary-text"
|
||||
|
||||
var _FieldClass_index = [...]uint8{0, 9, 15, 26, 34, 41, 45, 55, 60, 74, 82, 89, 96, 100, 107}
|
||||
var _FieldClass_index = [...]uint8{0, 9, 15, 26, 34, 41, 45, 49, 54, 68, 76, 83, 90, 94, 101, 112}
|
||||
|
||||
func (i FieldClass) String() string {
|
||||
if i >= FieldClass(len(_FieldClass_index)-1) {
|
||||
|
||||
Reference in New Issue
Block a user