packet
tool/sniffer/packet
Type: Directory
| Read-only Argument | Type | Description |
|---|---|---|
| time | num | |
| num | num | |
| direction | enum (rx | tx) { rx:0, tx:1 } | |
| src-mac | macAddr | |
| dst-mac | macAddr | |
| vlan | object { vlan: composite { id: num , prio: [ num] } } | |
| interface | iface_enum | |
| src-address | composite { address: alt { ip: ipAddr , ipv6: ip6Addr } , port: enum () } | |
| dst-address | composite { address: alt { ip: ipAddr , ipv6: ip6Addr } , port: enum () } | |
| protocol | enum () | |
| ip-protocol | enum (ip) { ip:0 } | |
| size | num | |
| cpu | num | |
| ip-packet-size | num | |
| ip-header-size | num | |
| dscp | num | |
| ecn | num | |
| identification | num | |
| fragment-offset | num | |
| ttl | num | |
| tcp-flags | multi { array-id, flag: enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } | |
| data | string |