Sha256: d3a25e4f0e86aa37f0cbf70fa9bacf61648f92a2c107890aae3bbeb3e989d576

Contents?: true

Size: 1.36 KB

Versions: 15

Compression:

Stored size: 1.36 KB

Contents

Feature: Pio::Udp
  Scenario: parse dhcp.pcap
    When I try to parse a file named "dhcp.pcap" with "Pio::Udp" class
    Then it should finish successfully
    And the message #1 have the following fields and values:
    | field                  |             value |
    | class                  |          Pio::Udp |
    | destination_mac        | ff:ff:ff:ff:ff:ff |
    | source_mac             | 00:0b:82:01:fc:42 |
    | ether_type             |              2048 |
    | ip_version             |                 4 |
    | ip_header_length       |                 5 |
    | ip_type_of_service     |                 0 |
    | ip_total_length        |               300 |
    | ip_identifier          |             43062 |
    | ip_flag                |                 0 |
    | ip_fragment            |                 0 |
    | ip_ttl                 |               250 |
    | ip_protocol            |                17 |
    | ip_header_checksum     |              6027 |
    | ip_source_address      |           0.0.0.0 |
    | ip_destination_address |   255.255.255.255 |
    | ip_option              |                   |
    | udp_source_port        |                68 |
    | udp_destination_port   |                67 |
    | udp_length             |               280 |
    | udp_checksum           |             22815 |
    | udp_payload.length     |               272 |

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pio-0.27.2 features/udp.feature
pio-0.27.1 features/udp.feature
pio-0.27.0 features/udp.feature
pio-0.26.0 features/udp.feature
pio-0.25.0 features/udp.feature
pio-0.24.2 features/udp.feature
pio-0.24.1 features/udp.feature
pio-0.24.0 features/udp.feature
pio-0.23.1 features/udp.feature
pio-0.23.0 features/udp.feature
pio-0.22.0 features/udp.feature
pio-0.21.1 features/udp.feature
pio-0.21.0 features/udp.feature
pio-0.20.1 features/udp.feature
pio-0.20.0 features/udp.feature