📄 udpreport.py
字号:
#
# Return whether the field 'udp.total' is an array (False).
#
def isArray_udp_total(self):
return False
#
# Return the offset (in bytes) of the field 'udp.total'
#
def offset_udp_total(self):
return (144 / 8)
#
# Return the offset (in bits) of the field 'udp.total'
#
def offsetBits_udp_total(self):
return 144
#
# Return the value (as a int) of the field 'udp.total'
#
def get_udp_total(self):
return self.getUIntElement(self.offsetBits_udp_total(), 16, 1)
#
# Set the value of the field 'udp.total'
#
def set_udp_total(self, value):
self.setUIntElement(self.offsetBits_udp_total(), 16, value, 1)
#
# Return the size, in bytes, of the field 'udp.total'
#
def size_udp_total(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'udp.total'
#
def sizeBits_udp_total(self):
return 16
#
# Accessor methods for field: udp.failed
# Field type: int
# Offset (bits): 160
# Size (bits): 16
#
#
# Return whether the field 'udp.failed' is signed (False).
#
def isSigned_udp_failed(self):
return False
#
# Return whether the field 'udp.failed' is an array (False).
#
def isArray_udp_failed(self):
return False
#
# Return the offset (in bytes) of the field 'udp.failed'
#
def offset_udp_failed(self):
return (160 / 8)
#
# Return the offset (in bits) of the field 'udp.failed'
#
def offsetBits_udp_failed(self):
return 160
#
# Return the value (as a int) of the field 'udp.failed'
#
def get_udp_failed(self):
return self.getUIntElement(self.offsetBits_udp_failed(), 16, 1)
#
# Set the value of the field 'udp.failed'
#
def set_udp_failed(self, value):
self.setUIntElement(self.offsetBits_udp_failed(), 16, value, 1)
#
# Return the size, in bytes, of the field 'udp.failed'
#
def size_udp_failed(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'udp.failed'
#
def sizeBits_udp_failed(self):
return 16
#
# Accessor methods for field: udp.seqno
# Field type: int
# Offset (bits): 176
# Size (bits): 16
#
#
# Return whether the field 'udp.seqno' is signed (False).
#
def isSigned_udp_seqno(self):
return False
#
# Return whether the field 'udp.seqno' is an array (False).
#
def isArray_udp_seqno(self):
return False
#
# Return the offset (in bytes) of the field 'udp.seqno'
#
def offset_udp_seqno(self):
return (176 / 8)
#
# Return the offset (in bits) of the field 'udp.seqno'
#
def offsetBits_udp_seqno(self):
return 176
#
# Return the value (as a int) of the field 'udp.seqno'
#
def get_udp_seqno(self):
return self.getUIntElement(self.offsetBits_udp_seqno(), 16, 1)
#
# Set the value of the field 'udp.seqno'
#
def set_udp_seqno(self, value):
self.setUIntElement(self.offsetBits_udp_seqno(), 16, value, 1)
#
# Return the size, in bytes, of the field 'udp.seqno'
#
def size_udp_seqno(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'udp.seqno'
#
def sizeBits_udp_seqno(self):
return 16
#
# Accessor methods for field: udp.sender
# Field type: int
# Offset (bits): 192
# Size (bits): 16
#
#
# Return whether the field 'udp.sender' is signed (False).
#
def isSigned_udp_sender(self):
return False
#
# Return whether the field 'udp.sender' is an array (False).
#
def isArray_udp_sender(self):
return False
#
# Return the offset (in bytes) of the field 'udp.sender'
#
def offset_udp_sender(self):
return (192 / 8)
#
# Return the offset (in bits) of the field 'udp.sender'
#
def offsetBits_udp_sender(self):
return 192
#
# Return the value (as a int) of the field 'udp.sender'
#
def get_udp_sender(self):
return self.getUIntElement(self.offsetBits_udp_sender(), 16, 1)
#
# Set the value of the field 'udp.sender'
#
def set_udp_sender(self, value):
self.setUIntElement(self.offsetBits_udp_sender(), 16, value, 1)
#
# Return the size, in bytes, of the field 'udp.sender'
#
def size_udp_sender(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'udp.sender'
#
def sizeBits_udp_sender(self):
return 16
#
# Accessor methods for field: icmp.rx
# Field type: int
# Offset (bits): 208
# Size (bits): 16
#
#
# Return whether the field 'icmp.rx' is signed (False).
#
def isSigned_icmp_rx(self):
return False
#
# Return whether the field 'icmp.rx' is an array (False).
#
def isArray_icmp_rx(self):
return False
#
# Return the offset (in bytes) of the field 'icmp.rx'
#
def offset_icmp_rx(self):
return (208 / 8)
#
# Return the offset (in bits) of the field 'icmp.rx'
#
def offsetBits_icmp_rx(self):
return 208
#
# Return the value (as a int) of the field 'icmp.rx'
#
def get_icmp_rx(self):
return self.getUIntElement(self.offsetBits_icmp_rx(), 16, 1)
#
# Set the value of the field 'icmp.rx'
#
def set_icmp_rx(self, value):
self.setUIntElement(self.offsetBits_icmp_rx(), 16, value, 1)
#
# Return the size, in bytes, of the field 'icmp.rx'
#
def size_icmp_rx(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'icmp.rx'
#
def sizeBits_icmp_rx(self):
return 16
#
# Accessor methods for field: route.hop_limit
# Field type: short
# Offset (bits): 224
# Size (bits): 8
#
#
# Return whether the field 'route.hop_limit' is signed (False).
#
def isSigned_route_hop_limit(self):
return False
#
# Return whether the field 'route.hop_limit' is an array (False).
#
def isArray_route_hop_limit(self):
return False
#
# Return the offset (in bytes) of the field 'route.hop_limit'
#
def offset_route_hop_limit(self):
return (224 / 8)
#
# Return the offset (in bits) of the field 'route.hop_limit'
#
def offsetBits_route_hop_limit(self):
return 224
#
# Return the value (as a short) of the field 'route.hop_limit'
#
def get_route_hop_limit(self):
return self.getUIntElement(self.offsetBits_route_hop_limit(), 8, 1)
#
# Set the value of the field 'route.hop_limit'
#
def set_route_hop_limit(self, value):
self.setUIntElement(self.offsetBits_route_hop_limit(), 8, value, 1)
#
# Return the size, in bytes, of the field 'route.hop_limit'
#
def size_route_hop_limit(self):
return (8 / 8)
#
# Return the size, in bits, of the field 'route.hop_limit'
#
def sizeBits_route_hop_limit(self):
return 8
#
# Accessor methods for field: route.parent
# Field type: int
# Offset (bits): 232
# Size (bits): 16
#
#
# Return whether the field 'route.parent' is signed (False).
#
def isSigned_route_parent(self):
return False
#
# Return whether the field 'route.parent' is an array (False).
#
def isArray_route_parent(self):
return False
#
# Return the offset (in bytes) of the field 'route.parent'
#
def offset_route_parent(self):
return (232 / 8)
#
# Return the offset (in bits) of the field 'route.parent'
#
def offsetBits_route_parent(self):
return 232
#
# Return the value (as a int) of the field 'route.parent'
#
def get_route_parent(self):
return self.getUIntElement(self.offsetBits_route_parent(), 16, 1)
#
# Set the value of the field 'route.parent'
#
def set_route_parent(self, value):
self.setUIntElement(self.offsetBits_route_parent(), 16, value, 1)
#
# Return the size, in bytes, of the field 'route.parent'
#
def size_route_parent(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'route.parent'
#
def sizeBits_route_parent(self):
return 16
#
# Accessor methods for field: route.parent_metric
# Field type: int
# Offset (bits): 248
# Size (bits): 16
#
#
# Return whether the field 'route.parent_metric' is signed (False).
#
def isSigned_route_parent_metric(self):
return False
#
# Return whether the field 'route.parent_metric' is an array (False).
#
def isArray_route_parent_metric(self):
return False
#
# Return the offset (in bytes) of the field 'route.parent_metric'
#
def offset_route_parent_metric(self):
return (248 / 8)
#
# Return the offset (in bits) of the field 'route.parent_metric'
#
def offsetBits_route_parent_metric(self):
return 248
#
# Return the value (as a int) of the field 'route.parent_metric'
#
def get_route_parent_metric(self):
return self.getUIntElement(self.offsetBits_route_parent_metric(), 16, 1)
#
# Set the value of the field 'route.parent_metric'
#
def set_route_parent_metric(self, value):
self.setUIntElement(self.offsetBits_route_parent_metric(), 16, value, 1)
#
# Return the size, in bytes, of the field 'route.parent_metric'
#
def size_route_parent_metric(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'route.parent_metric'
#
def sizeBits_route_parent_metric(self):
return 16
#
# Accessor methods for field: route.parent_etx
# Field type: int
# Offset (bits): 264
# Size (bits): 16
#
#
# Return whether the field 'route.parent_etx' is signed (False).
#
def isSigned_route_parent_etx(self):
return False
#
# Return whether the field 'route.parent_etx' is an array (False).
#
def isArray_route_parent_etx(self):
return False
#
# Return the offset (in bytes) of the field 'route.parent_etx'
#
def offset_route_parent_etx(self):
return (264 / 8)
#
# Return the offset (in bits) of the field 'route.parent_etx'
#
def offsetBits_route_parent_etx(self):
return 264
#
# Return the value (as a int) of the field 'route.parent_etx'
#
def get_route_parent_etx(self):
return self.getUIntElement(self.offsetBits_route_parent_etx(), 16, 1)
#
# Set the value of the field 'route.parent_etx'
#
def set_route_parent_etx(self, value):
self.setUIntElement(self.offsetBits_route_parent_etx(), 16, value, 1)
#
# Return the size, in bytes, of the field 'route.parent_etx'
#
def size_route_parent_etx(self):
return (16 / 8)
#
# Return the size, in bits, of the field 'route.parent_etx'
#
def sizeBits_route_parent_etx(self):
return 16
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -