Sha256: 325637152b3a176ce1af3e891685715a4ee3605e680ea70719ed58652a4db388

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

Contents

# frozen_string_literal: true

# This file is part of PacketGen
# See https://github.com/lemontree55/packetgen for more informations
# Copyright (C) 2016 Sylvain Daubert <sylvain.daubert@laposte.net>
# Copyright (C) 2024 LemonTree55 <lenontree@proton.me>
# This program is published under MIT license.

module PacketGen
  module Header
    class EAP
      # Extensible Authentication Protocol (EAP) - Flexible Authentication variable
      # Secure Tunneling, {https://tools.ietf.org/html/rfc4851 RFC 4851}
      #
      # {EAP::FAST} has following fields:
      # * {#flags} ({BinStruct::Int8}),
      # * optionally {#message_length} ({BinStruct::Int32}), if +#l?+ is +true+,
      # * {#body} ({BinStruct::String}).
      # @author Sylvain Daubert
      # @since 2.1.4
      class FAST < TTLS
        update_attr :type, default: 43
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
packetgen-4.0.0 lib/packetgen/header/eap/fast.rb