Skip to content

mesosphere/gen_netlink

 
 

Repository files navigation

gen_netlink

Build Status codecov.io

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 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.

Packages

No packages published

Languages

  • Erlang 99.9%
  • C 0.1%