Sha256: 5176cd57766660b9e14be0682a6f799ea3bc47730bf6350351b1f6033f9bae8e

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

require 'ffi/libc/types'
require 'ffi/libc/sockaddr_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

2 entries across 2 versions & 1 rubygems

Version Path
ffi-libc-0.1.1 lib/ffi/libc/sockaddr_dl.rb
ffi-libc-0.1.0 lib/ffi/libc/sockaddr_dl.rb