Sha256: 13d6a5bf7d708423bc5d66a7cbe9607300f7cced65b364ad32c0e692361e516a

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

require 'ffi/libc/types'
require 'ffi/libc/sockaddr_family'
require 'ffi/libc/in6_addr'

module FFI
  module LibC
    #
    # IPv6 socket address
    #
    class SockaddrIn6 < SockaddrFamily

      layout :len, :uint8,
             :family, :sa_family_t,
             :port, :in_port_t,
             :flowinfo, :uint32,
             :addr, In6Addr

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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