DOKK / manpages / debian 12 / ocsinventory-agent / Ocsinventory::Agent::Backend::OS::Linux::Network::Networks.3pm.en
Ocsinventory::Agent::Backend::OS::Linux::Network::Networks(3pm) User Contributed Perl Documentation Ocsinventory::Agent::Backend::OS::Linux::Network::Networks(3pm)

OCSInventory::Agent::Backend::OS::Linux::Network::Networks - Network-related functions

This module retrieves network information.

Returns the speed of the card.

Returns duplex state of the card.

Returns the mtu of the card.

Returns the status of the card.

Returns the mac address.

Returns the subnet address for IPv4.

Returns the subnet address for IPv6.

Returns the network mask for IPv4.

Returns the network mask for IPv6.

Returns if card has a bonding.

Returns the gateway defined int he ip config.

Returns the gateway defined in the ip config.

Returns true if both addresses belong to the same network, for IPv4.

Returns true if both addresses belong to the same network, for IPv6.

Hey! The above document had some coding errors, which are explained below:

=back without =over
2023-01-29 perl v5.36.0