⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 udpreport.py

📁 tinyos-2.x.rar
💻 PY
📖 第 1 页 / 共 3 页
字号:
        return (64 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.real_drop'
    #
    def offsetBits_ip_real_drop(self):
        return 64
    
    #
    # Return the value (as a short) of the field 'ip.real_drop'
    #
    def get_ip_real_drop(self):
        return self.getUIntElement(self.offsetBits_ip_real_drop(), 8, 1)
    
    #
    # Set the value of the field 'ip.real_drop'
    #
    def set_ip_real_drop(self, value):
        self.setUIntElement(self.offsetBits_ip_real_drop(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.real_drop'
    #
    def size_ip_real_drop(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.real_drop'
    #
    def sizeBits_ip_real_drop(self):
        return 8
    
    #
    # Accessor methods for field: ip.hlim_drop
    #   Field type: short
    #   Offset (bits): 72
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.hlim_drop' is signed (False).
    #
    def isSigned_ip_hlim_drop(self):
        return False
    
    #
    # Return whether the field 'ip.hlim_drop' is an array (False).
    #
    def isArray_ip_hlim_drop(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.hlim_drop'
    #
    def offset_ip_hlim_drop(self):
        return (72 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.hlim_drop'
    #
    def offsetBits_ip_hlim_drop(self):
        return 72
    
    #
    # Return the value (as a short) of the field 'ip.hlim_drop'
    #
    def get_ip_hlim_drop(self):
        return self.getUIntElement(self.offsetBits_ip_hlim_drop(), 8, 1)
    
    #
    # Set the value of the field 'ip.hlim_drop'
    #
    def set_ip_hlim_drop(self, value):
        self.setUIntElement(self.offsetBits_ip_hlim_drop(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.hlim_drop'
    #
    def size_ip_hlim_drop(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.hlim_drop'
    #
    def sizeBits_ip_hlim_drop(self):
        return 8
    
    #
    # Accessor methods for field: ip.senddone_el
    #   Field type: short
    #   Offset (bits): 80
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.senddone_el' is signed (False).
    #
    def isSigned_ip_senddone_el(self):
        return False
    
    #
    # Return whether the field 'ip.senddone_el' is an array (False).
    #
    def isArray_ip_senddone_el(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.senddone_el'
    #
    def offset_ip_senddone_el(self):
        return (80 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.senddone_el'
    #
    def offsetBits_ip_senddone_el(self):
        return 80
    
    #
    # Return the value (as a short) of the field 'ip.senddone_el'
    #
    def get_ip_senddone_el(self):
        return self.getUIntElement(self.offsetBits_ip_senddone_el(), 8, 1)
    
    #
    # Set the value of the field 'ip.senddone_el'
    #
    def set_ip_senddone_el(self, value):
        self.setUIntElement(self.offsetBits_ip_senddone_el(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.senddone_el'
    #
    def size_ip_senddone_el(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.senddone_el'
    #
    def sizeBits_ip_senddone_el(self):
        return 8
    
    #
    # Accessor methods for field: ip.fragpool
    #   Field type: short
    #   Offset (bits): 88
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.fragpool' is signed (False).
    #
    def isSigned_ip_fragpool(self):
        return False
    
    #
    # Return whether the field 'ip.fragpool' is an array (False).
    #
    def isArray_ip_fragpool(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.fragpool'
    #
    def offset_ip_fragpool(self):
        return (88 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.fragpool'
    #
    def offsetBits_ip_fragpool(self):
        return 88
    
    #
    # Return the value (as a short) of the field 'ip.fragpool'
    #
    def get_ip_fragpool(self):
        return self.getUIntElement(self.offsetBits_ip_fragpool(), 8, 1)
    
    #
    # Set the value of the field 'ip.fragpool'
    #
    def set_ip_fragpool(self, value):
        self.setUIntElement(self.offsetBits_ip_fragpool(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.fragpool'
    #
    def size_ip_fragpool(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.fragpool'
    #
    def sizeBits_ip_fragpool(self):
        return 8
    
    #
    # Accessor methods for field: ip.sendinfo
    #   Field type: short
    #   Offset (bits): 96
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.sendinfo' is signed (False).
    #
    def isSigned_ip_sendinfo(self):
        return False
    
    #
    # Return whether the field 'ip.sendinfo' is an array (False).
    #
    def isArray_ip_sendinfo(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.sendinfo'
    #
    def offset_ip_sendinfo(self):
        return (96 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.sendinfo'
    #
    def offsetBits_ip_sendinfo(self):
        return 96
    
    #
    # Return the value (as a short) of the field 'ip.sendinfo'
    #
    def get_ip_sendinfo(self):
        return self.getUIntElement(self.offsetBits_ip_sendinfo(), 8, 1)
    
    #
    # Set the value of the field 'ip.sendinfo'
    #
    def set_ip_sendinfo(self, value):
        self.setUIntElement(self.offsetBits_ip_sendinfo(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.sendinfo'
    #
    def size_ip_sendinfo(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.sendinfo'
    #
    def sizeBits_ip_sendinfo(self):
        return 8
    
    #
    # Accessor methods for field: ip.sendentry
    #   Field type: short
    #   Offset (bits): 104
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.sendentry' is signed (False).
    #
    def isSigned_ip_sendentry(self):
        return False
    
    #
    # Return whether the field 'ip.sendentry' is an array (False).
    #
    def isArray_ip_sendentry(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.sendentry'
    #
    def offset_ip_sendentry(self):
        return (104 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.sendentry'
    #
    def offsetBits_ip_sendentry(self):
        return 104
    
    #
    # Return the value (as a short) of the field 'ip.sendentry'
    #
    def get_ip_sendentry(self):
        return self.getUIntElement(self.offsetBits_ip_sendentry(), 8, 1)
    
    #
    # Set the value of the field 'ip.sendentry'
    #
    def set_ip_sendentry(self, value):
        self.setUIntElement(self.offsetBits_ip_sendentry(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.sendentry'
    #
    def size_ip_sendentry(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.sendentry'
    #
    def sizeBits_ip_sendentry(self):
        return 8
    
    #
    # Accessor methods for field: ip.sndqueue
    #   Field type: short
    #   Offset (bits): 112
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.sndqueue' is signed (False).
    #
    def isSigned_ip_sndqueue(self):
        return False
    
    #
    # Return whether the field 'ip.sndqueue' is an array (False).
    #
    def isArray_ip_sndqueue(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.sndqueue'
    #
    def offset_ip_sndqueue(self):
        return (112 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.sndqueue'
    #
    def offsetBits_ip_sndqueue(self):
        return 112
    
    #
    # Return the value (as a short) of the field 'ip.sndqueue'
    #
    def get_ip_sndqueue(self):
        return self.getUIntElement(self.offsetBits_ip_sndqueue(), 8, 1)
    
    #
    # Set the value of the field 'ip.sndqueue'
    #
    def set_ip_sndqueue(self, value):
        self.setUIntElement(self.offsetBits_ip_sndqueue(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.sndqueue'
    #
    def size_ip_sndqueue(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.sndqueue'
    #
    def sizeBits_ip_sndqueue(self):
        return 8
    
    #
    # Accessor methods for field: ip.encfail
    #   Field type: short
    #   Offset (bits): 120
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ip.encfail' is signed (False).
    #
    def isSigned_ip_encfail(self):
        return False
    
    #
    # Return whether the field 'ip.encfail' is an array (False).
    #
    def isArray_ip_encfail(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.encfail'
    #
    def offset_ip_encfail(self):
        return (120 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.encfail'
    #
    def offsetBits_ip_encfail(self):
        return 120
    
    #
    # Return the value (as a short) of the field 'ip.encfail'
    #
    def get_ip_encfail(self):
        return self.getUIntElement(self.offsetBits_ip_encfail(), 8, 1)
    
    #
    # Set the value of the field 'ip.encfail'
    #
    def set_ip_encfail(self, value):
        self.setUIntElement(self.offsetBits_ip_encfail(), 8, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.encfail'
    #
    def size_ip_encfail(self):
        return (8 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.encfail'
    #
    def sizeBits_ip_encfail(self):
        return 8
    
    #
    # Accessor methods for field: ip.heapfree
    #   Field type: int
    #   Offset (bits): 128
    #   Size (bits): 16
    #

    #
    # Return whether the field 'ip.heapfree' is signed (False).
    #
    def isSigned_ip_heapfree(self):
        return False
    
    #
    # Return whether the field 'ip.heapfree' is an array (False).
    #
    def isArray_ip_heapfree(self):
        return False
    
    #
    # Return the offset (in bytes) of the field 'ip.heapfree'
    #
    def offset_ip_heapfree(self):
        return (128 / 8)
    
    #
    # Return the offset (in bits) of the field 'ip.heapfree'
    #
    def offsetBits_ip_heapfree(self):
        return 128
    
    #
    # Return the value (as a int) of the field 'ip.heapfree'
    #
    def get_ip_heapfree(self):
        return self.getUIntElement(self.offsetBits_ip_heapfree(), 16, 1)
    
    #
    # Set the value of the field 'ip.heapfree'
    #
    def set_ip_heapfree(self, value):
        self.setUIntElement(self.offsetBits_ip_heapfree(), 16, value, 1)
    
    #
    # Return the size, in bytes, of the field 'ip.heapfree'
    #
    def size_ip_heapfree(self):
        return (16 / 8)
    
    #
    # Return the size, in bits, of the field 'ip.heapfree'
    #
    def sizeBits_ip_heapfree(self):
        return 16
    
    #
    # Accessor methods for field: udp.total
    #   Field type: int
    #   Offset (bits): 144
    #   Size (bits): 16
    #

    #
    # Return whether the field 'udp.total' is signed (False).
    #
    def isSigned_udp_total(self):
        return False
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -