23 | | app.defMeasurement("ip") do |m| |
24 | | m.defMetric('pktid', :uint64, ' internal packet ID to link MPs') |
25 | | m.defMetric('ip_tos', :uint32, ' Type of Service') |
26 | | m.defMetric('ip_len', :uint32, ' Total Length') |
27 | | m.defMetric('ip_id', :int32, ' Identification') |
28 | | m.defMetric('ip_off', :uint32, ' IP Fragment offset (and flags)') |
29 | | m.defMetric('ip_ttl', :uint32, ' Time to Live') |
30 | | m.defMetric('ip_proto', :uint32, ' Protocol') |
31 | | m.defMetric('ip_sum', :uint32, ' Checksum') |
32 | | m.defMetric('ip_src', :string, ' Source Address') |
33 | | m.defMetric('ip_dst', :string, ' Destination Address') |
34 | | m.defMetric('ip_sizeofpacket', :uint32, ' Size of the Packet') |
35 | | m.defMetric('ip_ts', :double, ' timestamp of the measurement') |
| 23 | app.defMeasurement("tcp") do |m| |
| 24 | m.defMetric('pktid', :uint64, ' internal packet ID to link MPs') |
| 25 | m.defMetric('tcp_source', :uint32, ' Source Port') |
| 26 | m.defMetric('tcp_dest', :uint32, ' Destination Port') |
| 27 | m.defMetric('tcp_seq', :uint32, ' TCP sequence Number') |
| 28 | m.defMetric('tcp_ack_seq', :uint32, ' Acknowledgment Number') |
| 29 | m.defMetric('tcp_window', :uint32, ' Window Size') |
| 30 | m.defMetric('tcp_checksum', :uint32, ' Checksum') |
| 31 | m.defMetric('tcp_urgptr', :uint32, ' Urgent Pointer') |
| 32 | m.defMetric('tcp_packet_size', :uint32, ' Size of the Packet') |
| 33 | m.defMetric('tcp_ts', :double, ' timestamp of the measurement') |