logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnsjit.core.object.ether - Ether part of a packet

Authors And Contributors

       Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

       Maintained by DNS-OARC

              https://www.dns-oarc.net/

Bugs

       For issues and feature requests please use:

              https://github.com/DNS-OARC/dnsjit/issues

       For question and help please use:

              admin@dns-oarc.net

dnsjit                                                1.5.0                          dnsjit.core.object.ether(3)

Description

       The ether part of a packet that usually can be found in the object chain after parsing with, for example,
       Layer filter.

   Attributes
       dhost  The destination ether address.

       shost  The source ether address.

       type   The packet type ID field / EtherType field.

   FunctionsEther:type()
              Return the textual type of the object.

       Ether:prev()
              Return the previous object.

       Ether:cast()
              Cast the object to the underlining object module and return it.

       Ether:uncast()
              Cast the object to the generic object module and return it.

       Ether:copy()
              Make a copy of the object and return it.

       Ether:free()
              Free the object, should only be used on copies or otherwise allocated.

Name

       dnsjit.core.object.ether - Ether part of a packet

See Also

dnsjit.core.object(3), dnsjit.filter.layer(3)

See Also