Sha256: 38fe2ccd55b731de35789b1f92ef6cf716d73b529b94bf586d8b270c0a5248a0
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true require 'bindata' require 'pio/ethernet_header' require 'pio/ipv4_header' require 'pio/udp_header' module Pio # UDP packet format class Udp < BinData::Record include Ethernet include IPv4 include UdpHeader endian :big ethernet_header ether_type: Ethernet::Type::IPV4 ipv4_header ip_protocol: ProtocolNumber::UDP udp_header rest :udp_payload end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.2 | lib/pio/udp.rb |