Man page - packet.internet.ipv6addr(3)
Packages contains this manual
- packet.link.ethernet(3)
- packet.application.gss_const(3)
- nfstest.host(3)
- packet.application.dns_const(3)
- nfstest.file_io(3)
- packet.internet.arp(3)
- packet.nfs.nlm4(3)
- nfstest_dio(1)
- nfstest_delegation(1)
- packet.link.erf(3)
- packet.utils(3)
- nfstest_lock(1)
- packet.pktt(3)
- packet.link.ethernet_const(3)
- baseobj(3)
- packet.nfs.nfs3(3)
- nfstest_pkt(1)
- packet.nfs.nlm4_const(3)
- packet.nfs.nfs(3)
- packet.internet.ipv6addr(3)
- packet.transport.ib(3)
- packet.transport.tcp(3)
- nfstest_rdma(1)
- nfstest_alloc(1)
- packet.nfs.nfs3_const(3)
- packet.transport.ddp(3)
- nfstest.nfs_util(3)
- nfstest_cache(1)
- packet.record(3)
- packet.application.rpcordma_const(3)
- nfstest_sparse(1)
- nfstest_io(1)
- packet.application.gss(3)
- nfstest_xattr(1)
- packet.nfs.nfs4_const(3)
- nfstest_interop(1)
- nfstest_xid(1)
- nfstest_posix(1)
- packet.application.rpc(3)
- packet.application.rpcordma(3)
- packet.transport.mpa(3)
- nfstest_ssc(1)
- packet.pkt(3)
- packet.link.sllv2(3)
- packet.transport.rdmainfo(3)
- nfstest(1)
- packet.nfs.mount3(3)
- nfstest.rexec(3)
- packet.derunpack(3)
- packet.transport.udp(3)
- packet.unpack(3)
- packet.application.krb5_const(3)
- nfstest_pnfs(1)
- packet.nfs.portmap2(3)
- packet.nfs.mount3_const(3)
- packet.application.dns(3)
- packet.transport.rdmap(3)
- packet.internet.ipv6(3)
- packet.nfs.nfs4(3)
- packet.application.krb5(3)
- packet.nfs.portmap2_const(3)
- packet.link.vlan(3)
- nfstest.utils(3)
- packet.application.ntp4(3)
- packet.link.sllv1(3)
- packet.application.rpc_creds(3)
- packet.application.rpc_const(3)
- nfstest_file(1)
- packet.internet.arp_const(3)
- packet.nfs.nfsbase(3)
- formatstr(3)
- packet.internet.ipv4(3)
- nfstest_fcmp(1)
- nfstest.test_util(3)
- packet.link.macaddr(3)
apt-get install nfstest
Manual
IPV6ADDR
NAMEDESCRIPTION
CLASSES
class IPv6Addr(builtins.str)
BUGS
AUTHOR
NAME
packet.internet.ipv6addr - IPv6Addr module
DESCRIPTION
Create an object to represent an IPv6 address. An IPv6 address is given either by a series of hexadecimal numbers or using the ":" notation. It provides a mechanism for comparing this object with a regular string. It also takes care of ’::’ notation and leading zeroes.
CLASSES
class IPv6Addr(builtins.str)
IPv6Addr address object
Usage:
from packet.internet.ipv6addr import IPv6Addr
ip = IPv6Addr(’fe80000000000000020c29fffe5409ef’)
The following
expressions are equivalent:
ip == 0xFE80000000000000020C29FFFE5409EF
ip == 0xfe80000000000000020c29fffe5409ef
ip == ’0xFE80000000000000020C29FFFE5409EF’
ip == ’0xfe80000000000000020c29fffe5409ef’
ip == ’FE80000000000000020C29FFFE5409EF’
ip == ’fe80000000000000020c29fffe5409ef’
ip == ’FE80:0000:0000:0000:020C:29FF:FE54:09EF’
ip == ’fe80:0000:0000:0000:020c:29ff:fe54:09ef’
ip == ’FE80::020C:29FF:FE54:09EF’
ip == ’fe80::020c:29ff:fe54:09ef’
ip == ’FE80::20C:29FF:FE54:9EF’
ip == ’fe80::20c:29ff:fe54:9ef’
Methods
defined here:
---------------------
__eq__(self,
other)
Compare two IPv6 addresses and return True if both are
equal.
__ne__(self,
other)
Compare two IPv6 addresses and return False if both are
equal.
Static
methods defined here:
----------------------------
__new__(cls,
ip)
Create new instance by converting input int/string into a
persistent
representation of an IPv6 address.
BUGS
No known bugs.
AUTHOR
Jorge Mora (mora@netapp.com)