Sha256: ef51f142ea0b4afdb9121011811945761bdc1e727fcd29fee4b9683db234f97c

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

require 'ffi/libc/types'
require 'ffi/libc/sock_addr_family'

module FFI
  module LibC
    #
    # The data-link socket address
    #
    class SockAddrDL < SockAddrFamily

      layout :len, :uint8,
             :family, :sa_family_t,
             :sdl_index, :uint16,
             :dltype, :uint8,
             :nlen, :uint8,
             :alen, :uint8,
             :slen, :uint8,
             :_data, :char

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ffi-libc-0.0.5 lib/ffi/libc/sock_addr_dl.rb
ffi-libc-0.0.4 lib/ffi/libc/sock_addr_dl.rb
ffi-libc-0.0.3 lib/ffi/libc/sock_addr_dl.rb
ffi-libc-0.0.2 lib/ffi/libc/sock_addr_dl.rb