User Guide
10.4.8.4.8. tvbrange:ipv4()
get an IPv4 Address from a TvbRange.
10.4.8.4.8.1. Returns
the IPv4 Address
10.4.8.4.9. tvbrange:le_ipv4()
get an Little Endian IPv4 Address from a TvbRange.
10.4.8.4.9.1. Returns
the IPv4 Address
10.4.8.4.10. tvbrange:ether()
get an Ethernet Address from a TvbRange.
10.4.8.4.10.1. Returns
the Ethernet Address
10.4.8.4.10.2. Errors
• The range must be 6 bytes long
10.4.8.4.11. tvbrange:string()
obtain a string from a TvbRange
10.4.8.4.11.1. Returns
the string
10.4.8.4.12. tvbrange:bytes()
obtain a ByteArray
10.4.8.4.12.1. Returns
the ByteArray
10.4.8.4.13. tvbrange:len()
obtain the length of a TvbRange
10.4.8.4.14. tvbrange:offset()
obtain the offset in a TvbRange
10.4.8.4.15. tvbrange:__tostring()
converts the TvbRange into a string. As the string gets truncated you should use this only for debug-
ging purposes or if what you want is to have a truncated string in the format 67:89:AB:...
10.4.8.5. UInt
* Int64 represents a 64 bit integer.
Lua Support in Wireshark
228