Sha256: 0267865d0d4e5247b573e138f24e679d785707962d9dc866d19c3cf13a4ba7a1

Contents?: true

Size: 1.85 KB

Versions: 36

Compression:

Stored size: 1.85 KB

Contents

# frozen_string_literal: true

module Facter
  module Resolvers
    module Aix
      module FFI
        class SockaddrDl < ::FFI::Struct
          layout :sdl_len, :uchar,
                 :sdl_family, :uchar,
                 :sdl_index, :ushort,
                 :sdl_type, :uchar,
                 :sdl_nlen, :uchar,
                 :sdl_alen, :uchar,
                 :sdl_slen, :uchar,
                 :sdl_data, [:char, 120]
        end

        class IfMsghdr < ::FFI::Struct
          layout :ifm_msglen, :ushort,
                 :ifm_version, :uchar,
                 :ifm_type, :uchar,
                 :ifm_addrs, :int,
                 :ifm_flags, :int,
                 :ifm_index, :ushort,
                 :ifm_addrlen, :uchar
        end

        class Sockaddr < ::FFI::Struct
          layout :sa_len, :uchar,
                 :sa_family, :uchar,
                 :sa_data, [:char, 14]
        end

        class InAddr < ::FFI::Struct
          layout :s_addr, :uint
        end

        class In6Addr < ::FFI::Struct
          layout :u6_addr8, [:uchar, 16]
        end

        class SockaddrIn < ::FFI::Struct
          layout :sin_len, :uchar,
                 :sin_family, :uchar,
                 :sin_port, :ushort,
                 :sin_addr, InAddr,
                 :sin_zero, [:uchar, 8]
        end

        class SockaddrIn6 < ::FFI::Struct
          layout :sin6_len, :uchar,
                 :sin6_family, :uchar,
                 :sin6_port, :ushort,
                 :sin6_flowinfo, :uint,
                 :sin6_addr, In6Addr,
                 :sin6_scope_id, :uint
        end

        class SockaddrStorage < ::FFI::Struct
          layout :ss_len, :uchar,
                 :ss_family, :uchar,
                 :ss_pad, [:char, 6],
                 :ss_align, :long_long,
                 :ss_pad2, [:char, 1264]
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.9.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.8.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.7.1 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.7.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.6.1 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.6.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.5.2 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.5.1 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.5.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.4.3 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.4.2 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.4.1 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.4.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.3.1 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.3.0 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.2.14 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.2.13 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.2.12 lib/facter/resolvers/aix/ffi/structs.rb
facter-4.2.11 lib/facter/resolvers/aix/ffi/structs.rb