Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 745 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 745 Bytes

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.