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
c159a291
ROOT
/
firmware
/
ot-cc13x2-cc26x2
/
openthread
/
tests
/
scripts
/
thread-cert
/
lowpan.py
Search
History
1135 lines
|
ISO-8859-1
|
35 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
io
ipaddress
struct
common
ipv6
LowpanIPHC
_tf
_nh
_hlim
_cid
_sac
_sam
_m
_dac
_dam
__init__
(self,tf,nh,hlim,cid,sac,sam,m,dac,dam)
tf
(self)
nh
(self)
hlim
(self)
cid
(self)
sac
(self)
sam
(self)
m
(self)
dac
(self)
dam
(self)
from_bytes
(cls,data_bytes)
__repr__
(self)
LowpanNHC
NHC_EID_HOP_BY_HOP
NHC_EID_ROUTING
NHC_EID_FRAGMENT
NHC_EID_DST_OPT
NHC_EID_MOBILITY
NHC_EID_IPV6_HDR
_eid
_nh
__init__
(self,eid,nh)
eid
(self)
nh
(self)
from_bytes
(cls,data_bytes)
__repr__
(self)
LowpanUDPHC
_c
_p
__init__
(self,c,p)
c
(self)
p
(self)
from_bytes
(cls,data_bytes)
__repr__
(self)
LowpanHopByHopFactory
_hop_by_hop_options_factory
__init__
(self,hop_by_hop_options_factory)
parse
(self,data,next_header,message_info)
LowpanExtensionHeadersFactory
NHC_NH_INLINE
NHC_NH_COMPRESSED
_ext_headers_factories
__init__
(self,ext_headers_factories)
_decompress_nh
(self,hc,data)
_get_ext_headers_factory
(self,eid)
parse
(self,data,message_info)
LowpanUdpHeaderFactory
UDP_HC_C_INLINE
UDP_HC_C_ELIDED
UDP_HC_P_BOTH_FULL
UDP_HC_P_DST_COMPR
UDP_HC_P_SRC_COMPR
UDP_HC_P_BOTH_COMPR
_decompress_udp_ports
(self,udphc,data)
_decompress_udp_checksum
(self,udphc,data)
parse
(self,data,message_info)
Context
_prefix
_prefix_length
__init__
(self,prefix,prefix_length=None)
prefix
(self)
prefix_full_bytes
(self)
prefix_length
(self)
prefix_length_full_bytes
(self)
prefix_length_rest_bits
(self)
prefix_length_all_bytes
(self)
ContextManager
(dict)
__check_index
(self,index)
__check_type
(self,value)
__getitem__
(self,index)
__setitem__
(self,index,value)
LowpanIpv6HeaderFactory
IPV6_LINKLOCAL_PREFIX
SHORT_ADDR_PADDING_BYTES
IPHC_TF_4B
IPHC_TF_3B
IPHC_TF_1B
IPHC_TF_ELIDED
IPHC_NH_INLINE
IPHC_NH_COMPRESSED
IPHC_HLIM_CALCULATE
IPHC_HLIM_INLINE
IPHC_HLIM_1
IPHC_HLIM_64
IPHC_HLIM_255
IPHC_CID_CLEAR
IPHC_CID_SET
IPHC_SAC_STATELESS
IPHC_SAC_STATEFUL
IPHC_SAM_128B
IPHC_SAM_UNSPECIFIED
IPHC_SAM_64B
IPHC_SAM_16B
IPHC_SAM_0B
IPHC_SAM_ELIDED
IPHC_M_NO
IPHC_M_YES
IPHC_DAC_STATELESS
IPHC_DAC_STATEFUL
IPHC_DAM_128B
IPHC_DAM_64B
IPHC_DAM_48B
IPHC_DAM_32B
IPHC_DAM_16B
IPHC_DAM_8B
IPHC_DAM_0B
IPHC_DAM_ELIDED
IPHC_M_DAM_00
IPHC_M_DAM_01
IPHC_M_DAM_10
IPHC_M_DAM_11
_context_manager
__init__
(self,context_manager=None)
_flow_label
(self,data_bytes)
_traffic_class
(self,dscp,ecn)
_unpack_dscp
(self,data_byte)
_unpack_ecn
(self,data_byte)
_decompress_tf_4bytes
(self,data)
_decompress_tf_3bytes
(self,data)
_decompress_tf_1byte
(self,data)
_decompress_tf
(self,iphc,data)
_decompress_nh
(self,hc,data)
_decompress_hlim
(self,iphc,data)
_decompress_cid
(self,iphc,data)
_decompress_src_addr_stateless
(self,iphc,src_mac_addr,data)
_merge_prefix_with_address
(self,prefix,prefix_length,address_bytes)
_decompress_src_addr_stateful
(self,iphc,src_mac_addr,sci,data)
_decompress_src_addr
(self,iphc,src_mac_addr,sci,data)
_decompress_unicast_dst_addr_stateless
(self,iphc,dst_mac_addr,data)
_decompress_unicast_dst_addr_stateful
(self,iphc,dst_mac_addr,dci,data)
_decompress_unicast_dst_addr
(self,iphc,dst_mac_addr,dci,data)
_decompress_multicast_dst_addr_stateless
(self,iphc,data)
_decompress_multicast_dst_addr_stateful
(self,iphc,dci,data)
_decompress_multicast_dst_addr
(self,iphc,dci,data)
_decompress_dst_addr
(self,iphc,dst_mac_addr,dci,data)
set_lowpan_context
(self,cid,prefix)
parse
(self,data,message_info)
LowpanDecompressor
_lowpan_ip_header_factory
_lowpan_extension_headers_factory
_lowpan_udp_header_factory
__init__
(self,lowpan_ip_header_factory,lowpan_extension_headers_factory,lowpan_udp_header_factory,)
_is_ipv6_extension_header
(self,header_first_byte)
_is_udp_header
(self,header_first_byte)
_peek_n_bytes
(self,data,n)
_is_next_header_compressed
(self,header)
set_lowpan_context
(self,cid,prefix)
decompress
(self,data,message_info)
LowpanMeshHeader
(object)
_hops_left
_originator_address
_final_destination_address
__init__
(self,hops_left,originator_address,final_destination_address)
hops_left
(self)
originator_address
(self)
final_destination_address
(self)
LowpanMeshHeaderFactory
_parse_address
(self,data,is_short)
parse
(self,data,message_info)
LowpanFragmentationHeader
(object)
_datagram_size
_datagram_tag
_datagram_offset
__init__
(self,datagram_size,datagram_tag,datagram_offset=0)
datagram_size
(self)
datagram_tag
(self)
datagram_offset
(self)
is_first
(self)
from_bytes
(cls,data)
LowpanFragmentsBuffer
(object)
_buffer
_position
__init__
(self,buffer_size)
write
(self,data)
seek
(self,offset)
tell
(self)
whole_packet_received
(self)
read
(self)
__len__
(self)
LowpanFragmentsBuffersManager
(object)
_fragments_buffers
__init__
(self)
_create_key
(self,message_info,datagram_tag)
_allocate_fragments_buffer
(self,key,datagram_size)
get_fragments_buffer
(self,message_info,datagram_tag,datagram_size=None)
free_fragments_buffer
(self,message_info,datagram_tag)
LowpanParser
(object)
_lowpan_mesh_header_factory
_lowpan_decompressor
_lowpan_fragments_buffers_manager
_ipv6_packet_factory
__init__
(self,lowpan_mesh_header_factory,lowpan_decompressor,lowpan_fragements_buffers_manager,ipv6_packet_factory,)
_peek_n_bytes
(self,data,n)
_is_mesh_header
(self,first_byte)
_is_first_fragmentation_header
(self,first_byte)
_is_subsequent_fragmentation_header
(self,first_byte)
_is_iphc
(self,first_byte)
_decompress_iphc
(self,data,message_info)
_handle_first_fragmentation_header
(self,data,message_info)
_handle_subsequent_fragmentation_header
(self,data,message_info)
_handle_iphc_header
(self,data,message_info)
set_lowpan_context
(self,cid,prefix)
parse
(self,data,message_info)
All occurrences
Please wait...
Page is in error, reload to recover