netlink

package
v0.0.0-...-0e89859 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2015 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package netlink provides access to the Linux kernel's Netlink interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	// contains filtered or unexported fields
}

Socket is a Linux Netlink socket

func Open

func Open() (*Socket, error)

Open creates and binds a new Netlink socket

func (*Socket) Close

func (s *Socket) Close()

Close this Socket's connection

func (*Socket) Receive

func (s *Socket) Receive() ([]byte, error)

Receive data from this Netlink connection

func (*Socket) Send

func (s *Socket) Send(data []byte) error

Send the given data through this Netlink connection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL