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

packet.internet.ipv6 - IPv6 module

Author

       Jorge Mora (mora@netapp.com)

NFStest 3.2                                       21 March 2023                                          IPV6(3)

Bugs

       No known bugs.

Classes

classIPv6(packet.internet.ipv4.IPv4)
       IPv6 object

       Usage:
           from packet.internet.ipv6 import IPv6

           x = IPv6(pktt)

       Object definition:

       IPv6(
           version       = int,
           traffic_class = int,
           flow_label    = int,
           total_size    = int,
           protocol      = int,
           hop_limit     = int,
           src           = IPv6Addr(),
           dst           = IPv6Addr(),
           psize         = int,     # payload data size
           data          = string,  # raw data of payload if protocol
                                    # is not supported
       )

       Methodsdefinedhere:
       ---------------------

       __init__(self,pktt)
       Constructor

       Initialize object's private data.

              pktt:  Packet trace object (packet.pktt.Pktt) so this layer has
                     access to the parent layers.

Description

       Decode IP version 6 layer.  Extension headers are not supported.

Name

       packet.internet.ipv6 - IPv6 module

See Also

baseobj(3),packet.internet.ipv4(3),packet.internet.ipv6addr(3),packet.transport.tcp(3),packet.transport.udp(3)

See Also