NETWORK ATTACKS FRAMEWORK  1.0.0
A NETwork Attacks framework. Making network attacks impact evaluation easier!
NA_llf.h File Reference

Go to the source code of this file.

Functions

void llf_init ()
void llf_cleanup ()

Function Documentation

void llf_cleanup ( )

Definition at line 79 of file NA_llf.c.

{
    close(rth.fd);
}
void llf_init ( )

Definition at line 65 of file NA_llf.c.

{

    if (llf_rtnl_open(&rth, RTMGRP_LINK) < 0) {
        DEBUG(LOG_ERR, 0, "Can't initialize rtnetlink socket");
        return;
    }
    if (attach_callback_func(rth.fd, llf_callback) < 0) {
        alog(LOG_ERR, 0, __FUNCTION__, "Could not attach callback");
        return;
    }
}
 All Classes Files Functions Variables Typedefs Enumerator Defines