Net::L...et::Eth(3pm)
β¨ NAME β¨
okay so this whole page is about Net::Libdnet::Eth(3pm) β the high level API to access libdnet eth_* functions. that's it, that's the name, we love a concise queen π
πΈ SYNOPSIS πΈ
the whole vibe in four lines, no cap:
use Net::Libdnet::Eth;
my $h = Net::Libdnet::Eth->new(device => 'eth0');
π¦ DESCRIPTION π¦
this module is a higher level abstraction for the libdnet eth_* functions. like, it's giving "we did the fiddly low-level part so you don't have to" energy. slay. π«Ά
π METHODS π
new (device => scalar)β returns an object to the eth layer on success, andundefotherwise. and listen bestie: you MUST give it a network interface to use for sending. no interface, no sendies. periodt.get ()β returns the hardware address associated with the network interface you're using. returnsundefon error. πset (scalar)β sets the hardware address of the network interface you're using, to the address specified by scalar. returnsundefon error. πsend (scalar)β sends the raw data specified by scalar to the network interface. returns the number of bytes sent on success, andundefon error. it's giving "packets out, bytes counted" π
ngl, every single one of these has an undef failure mode, so likeβ¦ check your return values, bestie. that's the vibe check. π«Ά
π AUTHOR π
Patrice <GomoR> Auffret
π COPYRIGHT AND LICENSE π
you may distribute this module under the terms of the BSD license. see the LICENSE file in the source distribution archive. iykyk, read your licenses. π
Copyright (c) 2008-2024, Patrice <GomoR> Auffret
and that's the whole page, bestie!! π this lil doc came from perl v5.40.1, dated 2025-03-01, and it's the manual page for Net::Libdnet::Eth(3pm) β go forth and send some raw data, you main character π§π
π¦ where this page comes from
- debian trixie: libnet-libdnet-perl 0.990-1 Β· BSD-2-Clause
- ubuntu resolute: libnet-libdnet-perl 0.990-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms