Sha256: cc7dc2f2fd593d4c871b3742ba360576990abc5ab8ecbbe49a4dc13e98dd0caf

Contents?: true

Size: 713 Bytes

Versions: 44

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true

require 'ffi'
require_relative 'structs.rb'
require_relative 'functions.rb'

module Facter
  module Resolvers
    module Solaris
      module FFI
        SIOCGLIFNUM       = -1_072_928_382
        SIOCGLIFCONF      = -1_072_666_203
        SIOCGLIFMTU       = -1_065_850_502
        SIOCGLIFNETMASK   = -1_065_850_499
        SIOCGARP          = -1_071_355_617
        AF_INET           = 2
        AF_INET6          = 26
        AF_UNSPEC         = 0
        SOCK_DGRAM        = 1
        INET_ADDRSTRLEN   = 16
        INET6_ADDRSTRLEN  = 46
      end

      BINDINGS_KEY = {
        FFI::AF_INET => :bindings,
        FFI::AF_INET6 => :bindings6
      }.freeze
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
facter-4.5.2 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.5.1 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.5.0 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.4.3 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.4.2 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.4.1 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.4.0 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.3.1 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.3.0 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.14 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.13 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.12 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.11 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.10 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.9 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.8 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.7 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.6 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.5 lib/facter/resolvers/solaris/ffi/ffi.rb
facter-4.2.4 lib/facter/resolvers/solaris/ffi/ffi.rb