Net::Libdnet - Perl interface to libdnet


NAME

Net::Libdnet - Perl interface to libdnet


SYNOPSIS

use Net::Libdnet;


DESCRIPTION

All the following functions return undef and print a warning message to the standard error when a problem occurs.

Some of the functions in the original dnet were omited, because we only deal with the string representation of addresses. We also avoid passing handlers to the user, as we open and subsequently close them for each request. Moreover, the XXX_loop() functions are not implemented yet.

Network addressing

Address Resolution Protocol

Binary buffers

Not implemented yet.

Ethernet

Not implemented yet.

Firewalling

Not implemented yet.

Network interfaces

Interfaces are manipulated as hashes with the following structure:

 {
     len => ... ,
     name => ... ,
     type => ... ,
     flags => ... ,
     mtu => ... ,
     addr => ... ,
     dst_addr => ... ,
     link_addr => ... ,
 #   alias_num => ... ,
 #   alias_addrs => ... ,
 };

Processing interface aliases is not implemented yet.

Internet Protocol

Not implemented yet.

Random number generation

Not implemented yet.

Routing


TODO

intf_set, hash2intf


SEE ALSO

dnet(3)

 Net::Libdnet - Perl interface to libdnet