Sha256: 303034ed56cee9ac97f28e53635af43de4f29254c5ee181e69cdcff45f391016

Contents?: true

Size: 877 Bytes

Versions: 4

Compression:

Stored size: 877 Bytes

Contents

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

# frozen_string_literal: true

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} ({Types::Int8}),
      # * optionally {#message_length} ({Types::Int32}), if +#l?+ is +true+,
      # * {#body} ({Types::String}).
      # @author Sylvain Daubert
      # @since 2.1.4
      class FAST < TTLS
        # @return [EAP::FAST]
        def initialize(options={})
          super({ type: 43 }.merge!(options))
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
packetgen-2.8.3 lib/packetgen/header/eap/fast.rb
packetgen-2.8.1 lib/packetgen/header/eap/fast.rb
packetgen-2.8.0 lib/packetgen/header/eap/fast.rb
packetgen-2.7.0 lib/packetgen/header/eap/fast.rb