Sha256: 5b0a7d4f72c95cbdd9fbb930a218f89ff4d4d5703863e1f94fb621ea078cebef

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 KB

Contents

Feature: Pio::Udp.read
  Scenario: dhcp.pcap
    Given a packet data file "dhcp.pcap"
    When I try to parse the file with "Udp" class
    Then it should finish successfully
    And the parsed data #1 have the following field and value:
    | 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

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.18.2 features/udp_read.feature
pio-0.18.1 features/udp_read.feature
pio-0.18.0 features/udp_read.feature
pio-0.17.0 features/udp_read.feature
pio-0.16.0 features/udp_read.feature