crash.software
Projects
Pull Requests
Issues
Builds
CatSniffer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
CatSniffer
Files
🤬
Sign In
610f4755
ROOT
/
firmware
/
ot-cc13x2-cc26x2
/
openthread
/
tests
/
scripts
/
thread-cert
/
ipv6.py
Search
History
1199 lines
|
ISO-8859-1
|
36 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
abc
io
struct
hexlify
ip_address
common
zip_longest
zip_longest
IPV6_NEXT_HEADER_HOP_BY_HOP
IPV6_NEXT_HEADER_TCP
IPV6_NEXT_HEADER_UDP
IPV6_NEXT_HEADER_FRAGMENT
IPV6_NEXT_HEADER_ICMP
UPPER_LAYER_PROTOCOLS
ICMP_DESTINATION_UNREACHABLE
ICMP_TIME_EXCEEDED
ICMP_ECHO_REQUEST
ICMP_ECHO_RESPONSE
HOP_LIMIT_DEFAULT
calculate_checksum
(data)
PacketFactory
(object)
parse
(self,data,message_info)
BuildableFromBytes
(object)
from_bytes
(cls,data)
ConvertibleToBytes
(object)
to_bytes
(self)
__len__
(self)
Header
(object)
__metaclass__
type
(self)
ExtensionHeader
(object)
next_header
hdr_ext_len
__init__
(self,next_header,hdr_ext_len=0)
UpperLayerProtocol
(Header,ConvertibleToBytes)
header
__init__
(self,header)
checksum
(self)
checksum
(self,value)
is_valid_checksum
(self)
IPv6PseudoHeader
(ConvertibleToBytes)
_source_address
_destination_address
payload_length
next_header
__init__
(self,source_address,destination_address,payload_length,next_header)
_convert_to_ipaddress
(self,value)
source_address
(self)
source_address
(self,value)
destination_address
(self)
destination_address
(self,value)
to_bytes
(self)
IPv6Header
(ConvertibleToBytes,BuildableFromBytes)
_version
_header_length
version
_source_address
_destination_address
traffic_class
flow_label
hop_limit
payload_length
next_header
__init__
(self,source_address,destination_address,traffic_class=0,flow_label=0,hop_limit=64,payload_length=0,next_header=0,)
_convert_to_ipaddress
(self,value)
source_address
(self)
source_address
(self,value)
destination_address
(self)
to_bytes
(self)
from_bytes
(cls,data)
__repr__
(self)
__len__
(self)
IPv6Packet
(ConvertibleToBytes)
ipv6_header
upper_layer_protocol
extension_headers
__init__
(self,ipv6_header,upper_layer_protocol,extension_headers=None)
_validate_checksum
(self)
_update_payload_length_value_in_ipv6_header
(self)
_update_next_header_values_in_headers
(self)
calculate_checksum
(self)
to_bytes
(self)
__repr__
(self)
UDPHeader
(ConvertibleToBytes,BuildableFromBytes)
_header_length
src_port
dst_port
_payload_length
checksum
__init__
(self,src_port,dst_port,payload_length=0,checksum=0)
type
(self)
payload_length
(self)
payload_length
(self,value)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
UDPDatagram
(UpperLayerProtocol)
payload
header
type
(self)
__init__
(self,header,payload)
to_bytes
(self)
__len__
(self)
ICMPv6Header
(ConvertibleToBytes,BuildableFromBytes)
_header_length
type
code
checksum
__init__
(self,_type,code,checksum=0)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
ICMPv6
(UpperLayerProtocol)
body
type
(self)
__init__
(self,header,body)
to_bytes
(self)
__len__
(self)
FragmentHeader
(ExtensionHeader)
_fragm_offset
_more_flag
_identification
type
(self)
identification
(self)
more_flag
(self)
offset
(self)
__init__
(self,next_header=None,fragm_offset=0,more_flag=False,identification=0)
callculate_offset
(self,position)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
HopByHop
(ExtensionHeader)
_one_byte_padding
_many_bytes_padding
options
hdr_ext_len
type
(self)
__init__
(self,next_header=None,options=None,hdr_ext_len=None)
_calculate_payload_length
(self)
_calculate_hdr_ext_len
(self,payload_length)
to_bytes
(self)
__len__
(self)
HopByHopOptionHeader
(ConvertibleToBytes,BuildableFromBytes)
_header_length
type
length
__init__
(self,_type,length=None)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
__repr__
(self)
HopByHopOption
(ConvertibleToBytes)
value
header
__init__
(self,header,value)
to_bytes
(self)
__len__
(self)
__repr__
(self)
MPLOption
(ConvertibleToBytes)
_header_length
_seed_id_length
S
M
V
sequence
seed_id
__init__
(self,S,M,V,sequence,seed_id)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
__repr__
(self)
IPv6PacketFactory
(PacketFactory)
_ehf
_ulpf
__init__
(self,ehf=None,ulpf=None)
_is_extension_header
(self,header_type)
_get_extension_header_factory_for
(self,next_header)
_get_upper_layer_protocol_factory_for
(self,next_header)
_parse_extension_headers
(self,data,next_header,message_info)
_parse_upper_layer_protocol
(self,data,next_header,message_info)
parse
(self,data,message_info)
HopByHopOptionsFactory
(object)
_one_byte_padding
_many_bytes_padding
_options_factories
__init__
(self,options_factories=None)
_get_HopByHopOption_value_factory
(self,_type)
parse
(self,data,message_info)
HopByHopFactory
(PacketFactory)
_hop_by_hop_options_factory
__init__
(self,hop_by_hop_options_factory)
_calculate_extension_header_length
(self,hdr_ext_len)
parse
(self,data,message_info)
MPLOptionFactory
(PacketFactory)
parse
(self,data,message_info)
UDPHeaderFactory
parse
(self,data,message_info)
UdpBasedOnSrcDstPortsPayloadFactory
_factories
__init__
(self,src_dst_port_based_payload_factories)
parse
(self,data,message_info)
UDPDatagramFactory
(PacketFactory)
_udp_header_factory
_udp_payload_factory
__init__
(self,udp_header_factory,udp_payload_factory)
parse
(self,data,message_info)
ICMPv6Factory
(PacketFactory)
_body_factories
__init__
(self,body_factories=None)
_get_icmpv6_body_factory
(self,_type)
parse
(self,data,message_info)
ICMPv6EchoBodyFactory
(PacketFactory)
parse
(self,data,message_info)
BytesPayload
(ConvertibleToBytes,BuildableFromBytes)
data
__init__
(self,data)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
BytesPayloadFactory
(PacketFactory)
parse
(self,data,message_info)
ICMPv6EchoBody
(ConvertibleToBytes,BuildableFromBytes)
_header_length
identifier
sequence_number
data
__init__
(self,identifier,sequence_number,data)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
ICMPv6DestinationUnreachableFactory
(PacketFactory)
parse
(self,data,message_info)
ICMPv6DestinationUnreachable
(ConvertibleToBytes,BuildableFromBytes)
_header_length
_unused
data
__init__
(self,data)
to_bytes
(self)
from_bytes
(cls,data)
__len__
(self)
All occurrences
Please wait...
Page is in error, reload to recover