Sha256: e9a2fda3f1dbb9e73dc2c2b0516a90dd5ee6154408bc48e95e3847aaa79117c6

Contents?: true

Size: 852 Bytes

Versions: 2

Compression:

Stored size: 852 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} ({Types::Int8}),
      # * optionally {#message_length} ({Types::Int32}), if +#l?+ is +true+,
      # * {#body} ({Types::String}).
      # @author Sylvain Daubert
      # @since 2.1.4
      class FAST < TTLS
        update_field :type, default: 43
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
packetgen-3.3.3 lib/packetgen/header/eap/fast.rb
packetgen-3.3.2 lib/packetgen/header/eap/fast.rb