scapy.contrib.sdnv

NOTICE This software/technical data was produced for the U.S. Government under Prime Contract No. NASA-03001 and JPL Contract No. 1295026 and is subject to FAR 52.227-14 (6/87) Rights in Data General, and Article GP-51, Rights in Data General, respectively. This software is publicly released under MITRE case #12-3054

class scapy.contrib.sdnv.SDNV(maxValue=4294967295)[源代码]

基类:object

decode(ba, offset)[源代码]
encode(number)[源代码]
getMax()[源代码]
setMax(maxValue)[源代码]
class scapy.contrib.sdnv.SDNV2(name: str, default: Any, fmt: str = 'H')[源代码]

基类:Field

SDNV2 field

addfield(pkt, s, val)[源代码]
getfield(pkt, s)[源代码]
class scapy.contrib.sdnv.SDNV2FieldLenField(name: str, default: Optional[Any], length_of: Optional[str] = None, fmt: str = 'H', count_of: Optional[str] = None, adjust: Callable[[Packet, int], int] = <function FieldLenField.<lambda>>)[源代码]

基类:FieldLenField, SDNV2

addfield(pkt, s, val)[源代码]
class scapy.contrib.sdnv.SDNV2LenField(name: str, default: ~typing.Any | None, fmt: str = 'H', adjust: ~typing.Callable[[int], int] = <function LenField.<lambda>>)[源代码]

基类:LenField, SDNV2

addfield(pkt, s, val)[源代码]
exception scapy.contrib.sdnv.SDNVValueError(maxValue)[源代码]

基类:Exception