libmnl

Minimalistic user-space library for Netlink socket programming

brewmacoslinux
Try with needOr install directly
Source

About

Minimalistic user-space library oriented to Netlink developers

Examples

check if libmnl is installed and get version info$ pkg-config --modversion libmnl
compile a C program that uses libmnl library$ gcc -o myapp myapp.c $(pkg-config --cflags --libs libmnl)
view libmnl header files location on system$ pkg-config --cflags libmnl
link libmnl into a netlink socket application$ gcc mynetlink.c -lmnl -o mynetlink
verify libmnl library file path for linking$ pkg-config --libs libmnl