No description or website provided.
Erlang
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
include Add better typing to rtnetlink_route() Sep 9, 2016
priv fix type for master device ifindex Sep 9, 2016
src add netlink socket I/O helper server Sep 9, 2016
test
tetrapak
.arcconfig
.gitignore
.travis.yml add travis support Oct 30, 2015
NEWS.md
README.md add travis support Oct 30, 2015
cover.sh common tests Jul 25, 2011
rebar.config
status

README.md

gen_netlink

Build Status

gen_netlink is a encoder, decoder and tool library for talking to the Linux kernel netlink interface.

gen_netlink uses gen_socket to create a netlink socket and wrap that socket in a gen_udp port for ease of use. For Erlang R15 and greater a recent gen_socket is required.

BUILDING

Using tetrapak:

# tetrapak build check

Using rebar:

# rebar get-deps
# rebar compile

En/Decoder

The encoder and decoder logic is generated using priv/decode_gen.escript. The resulting file is included in release archive and the repository to simplify the build process.