macula_tun_nif (macula v4.2.8)

View Source

Native function stubs for the TUN device NIF.

Loads priv/macula_tun_nif.so (built from native/macula_tun_nif/ by priv/build-nifs.sh during compile).

This module is the canonical NIF surface; higher-level callers should prefer macula_tun which adds the public API + types.

Summary

Functions

nif_close(Handle)

nif_name(Handle)

nif_open(IfName, Mtu)

nif_start_reader(Handle, Pid)

nif_write(Handle, Packet)