GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Libdnet::Eth(3) User Contributed Perl Documentation Net::Libdnet::Eth(3)

Net::Libdnet::Eth - high level API to access libdnet eth_* functions

   use Net::Libdnet::Eth;

   my $h = Net::Libdnet::Eth->new(device => 'eth0');

This modules is a higher level abstraction for libdnet eth_* functions.

new (device => scalar)
Returns an object to eth layer on success, undef otherwise. You MUST give a network interface to use for sending.
get ()
Returns the hardware address associated with used network interface. Returns undef on error.
set (scalar)
Sets the hardware address specified by scalar of used network interface. Returns undef on error.
send (scalar)
Sends the raw data specified by scalar to the network interface. Returns the number of bytes sent on success, undef on error.

Patrice <GomoR> Auffret

You may distribute this module under the terms of the BSD license. See LICENSE file in the source distribution archive.

Copyright (c) 2008-2012, Patrice <GomoR> Auffret

2018-09-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.