scapy.contrib.automotive.xcp.utils

class scapy.contrib.automotive.xcp.utils.StrVarLenField(name: str, default: bytes, length_from: Callable[[Packet], int] | None = None, max_length: Any | None = None)[源代码]

基类:StrLenField

randval()[源代码]
class scapy.contrib.automotive.xcp.utils.XCPEndiannessField(fld)[源代码]

基类:object

Field which changes the endianness of a sub-field

addfield(pkt, s, val)[源代码]
fld
getfield(pkt, s)[源代码]
set_endianness()[源代码]

Add the endianness to the format

scapy.contrib.automotive.xcp.utils.get_ag()[源代码]
scapy.contrib.automotive.xcp.utils.get_daq_data_field_length()[源代码]
scapy.contrib.automotive.xcp.utils.get_daq_length()[源代码]
scapy.contrib.automotive.xcp.utils.get_max_cto()[源代码]
scapy.contrib.automotive.xcp.utils.get_max_dto()[源代码]
scapy.contrib.automotive.xcp.utils.get_timestamp_length()[源代码]
scapy.contrib.automotive.xcp.utils.identification_field_needs_alignment()[源代码]